Add page numbers to a header or footer

If you already have a header or footer in your document and want to add page numbers without losing any information in your header or footer, use the Page field code. If you don't have an existing header or a footer, go to Add page numbers to learn how to insert page numbers using the style gallery.

Use the Page field code to insert page numbers

Tip: You might find it helpful to view not only the contents of your header or footer area, but also the formatting marks in those areas. On the Home tab, in the Paragraph group, choose Show/Hide (¶) to turn on the display of formatting marks. Choose the button again to turn off the display.

  1. Double-click in the header (top of page) area or the footer (bottom of page) area to open the Design tab under Header & Footer Tools.

    The options available on the Design tab under Header & Footer Tools are shown.
  2. In the Position group, choose Insert Alignment Tab, and under Alignment, accept the default setting of Center, or choose Left or Right, and then choose OK.

  3. In the Insert group, choose Quick Parts > Field and the Field dialog box opens.

  4. In the Field names list, choose Page, and under Field properties, choose the numbering format you want to use, and then choose OK.

    Under Header & Footer tools, on the Design tab choose Quick Parts, and then choose Field to open the Field dialog box.
  5. To return to the body of your document, choose Close Header and Footer.

    The Close Header and Footer option is highlighted on the Header and Footer Tools tab.

If you’d like to learn more, see Field codes in Word.

Change where and how your page number appears

After you add page numbers, you can change where they appear on the page, and how they look.

  1. In your header or footer area, select the page number, choose Insert Alignment Tab, and under Alignment, make a different selection.

  2. In the Header & Footer group, choose Page Number > Current Position.

  3. Select a style in the gallery for the page number.

    Note: Scroll through the list of style options in the gallery to find one you like. You can select a Page Y style for a simple number (1) format, for example, or select a Page X of Y style to get a more defined number (Page 1 of 7) format. Experiment to find the style that best meets your needs.

You also can change the appearance of a page number.

  • On the Home tab, press Ctrl+D to open the Font dialog box to change the font family, style, size, and color.

Learn more about page numbers

Share Facebook Facebook Twitter Twitter Email Email

Was this information helpful?

Great! Any other feedback?

How can we improve it?

Thank you for your feedback!

×