How to Add Custom Page Numbers in Word

How-to basics · Updated November 3, 2026

How to Add Custom Page Numbers in Word

To add custom page numbers in Word, choose Insert > Page Number, select a position and style, then use Page Number > Format Page Numbers to change the number format or starting value. For numbering that changes between parts of a document, add section breaks and set each section’s numbering separately. These steps are for Microsoft Word for Microsoft 365 on Windows; the Mac commands are similar, though some dialog controls may be arranged differently.

What You’ll Need

  • A Word document opened in the desktop app. You can add basic page numbers in Word for the web, but section-specific numbering and some formatting controls may require the desktop version.
  • A plan for how the numbers should look: for example, Arabic numerals (1, 2, 3), Roman numerals (i, ii, iii), a first page without a visible number, or a new sequence for each section.
  • If numbering changes partway through the document, know where each new section should begin. You will use a section break at that point, not just a regular page break.

Step-by-Step

  1. Decide where the numbering belongs. Open the document and click near the top or bottom of a page to check whether you want numbers in the header or footer. Consider whether the first page is a cover, whether front matter needs Roman numerals, and whether the main text should begin at 1. Making those choices first helps you avoid adding numbers and then rebuilding the document’s sections. If you already have headers or footers, note their content because inserting a page number can affect the same area.
  2. Insert a basic page number. On Windows, select Insert > Page Number, then choose Top of Page, Bottom of Page, Page Margins, or Current Position. Pick a layout from the gallery. The first three options place the number in the selected area; Current Position inserts it where your cursor is already located in a header or footer. On Word for Mac, use Insert > Page Number on the ribbon and choose a position and alignment if prompted. Word fills in the page numbers automatically, so you do not need to type them on each page.
  3. Choose a number style and starting value. Open the header or footer by double-clicking it, or choose Insert > Page Number > Format Page Numbers. In the dialog, select a format such as 1, 2, 3; i, ii, iii; or I, II, III. Under page numbering, select Continue from previous section when the sequence should carry on, or Start at and enter a value such as 1 when it should restart. Select OK to apply the setting. On Mac, open the page-number formatting command from the Insert ribbon or the page-number controls; the labels may appear in a slightly different dialog.
  4. Customize how the number looks. Double-click the header or footer containing the number. Select the page-number field and use the Home tab to change its font, size, color, bolding, or alignment. You can add text around the field, such as Page before the number or a short document label, but leave the number itself as a field. A field updates to show the correct page when content moves; a manually typed digit does not. Close the header and footer by choosing Close Header and Footer or double-clicking in the document body.
  5. Add a page count, if wanted. For a format such as Page 2 of 12, choose Insert > Page Number and look for a built-in Page X of Y layout in the gallery. The X represents the current page, and Y represents the total page count used by that layout. If you add your own text around fields, use a built-in layout where possible so Word inserts updating fields instead of fixed numbers. Remember that the total may count the entire document, including cover pages, even if the cover does not display a number.
  6. Hide the number on the first page, if needed. Double-click the header or footer, then select Different First Page on the Header & Footer tab. This gives the first page a separate header and footer, so you can remove its number without removing the numbers from later pages. If you want the visible numbering on the second page to read 1, open Page Number > Format Page Numbers and set the starting value as needed. Hiding the first page’s number alone does not always change the count shown on the following page.
  7. Start a different numbering sequence in the middle. Place the cursor at the beginning of the content where the new sequence should start. Choose Layout > Breaks > Next Page in the Section Breaks group. This creates a new section on the next page. A regular page break only moves content to another page; it does not create separate numbering controls. If the new section must begin on the current page, choose a continuous section break only when that layout is appropriate, since it may change how the page is arranged.
  8. Unlink the new section, then set its numbering. Double-click the new section’s header or footer. On the Header & Footer tab, select Link to Previous to turn it off if the new section needs different numbering or different header/footer content. Header and footer links are controlled separately, so check the area that contains the number. Then choose Page Number > Format Page Numbers, select the desired format, and choose Start at or Continue from previous section. Repeat for other sections as necessary. On Mac, look for the same Link to Previous control after opening the header or footer.
  9. Check the result from beginning to end. Close header and footer editing, then scroll through the document or use Print Preview. Confirm that the cover, front matter, main text, and any appendices show the intended formats and starting values. If you have odd and even pages set up separately, inspect both kinds of pages. Save the file after verifying the numbering. For sectioned documents, check the page before and after every section break because a setting applied to one section may not carry over as expected.

Common Mistakes

  • Typing numbers instead of inserting a field. A typed number stays the same when pages are added or removed. Use Word’s Page Number gallery so the value updates automatically.
  • Using a page break when you need a section break. Page breaks control where text starts; section breaks create separate header, footer, and numbering settings. For a new sequence, use Layout > Breaks > Next Page.
  • Forgetting to turn off Link to Previous. If sections are linked, editing a header or footer in one section can change the previous section too. Turn off the link in the section that needs independent content or numbering.
  • Removing a number from the wrong section. A page number may appear to be one continuous feature, but each section can have its own header and footer. Check the section label and Link to Previous state before deleting anything.
  • Assuming a hidden first-page number means the next page is numbered 1. Different First Page hides the first page’s header or footer content; it does not automatically set the next page’s number. Change the starting value separately if required.
  • Confusing total pages with pages in a section. A Page X of Y layout commonly counts the whole document. If your document has multiple sections, check the displayed total rather than assuming it means the number of pages in the current section.

Tips

  • Use Roman numerals for front matter and Arabic numerals for the main text when a report or thesis requires two numbering styles. A section break between the front matter and main text lets you format and restart the sequences independently.
  • For a simple title page, try Different First Page before creating an extra section. It often achieves the desired look with fewer moving parts.
  • To position a number precisely, use the alignment controls in the header or footer rather than adding repeated spaces. A right-aligned tab stop or a built-in layout is more reliable when margins change.
  • Keep text labels such as Page or a chapter title in the header/footer, but preserve the page number as a field. This makes the label customizable while keeping the number automatic.
  • Turn on formatting marks with Home > Show/Hide ¶ if you need to find section breaks. This can reveal whether an unexpected restart is caused by a break you did not notice.
  • Before sending a long document, export or preview it as a PDF and inspect the page transitions. Font substitutions or layout changes can move content and alter the final page count.

Troubleshooting

Every page shows the same number: the number may have been typed rather than inserted as a field, or the header/footer may contain copied text. Remove the fixed digits and insert a page-number field through Insert > Page Number. If the number is a field but appears stale, select it and update it; you can also select the document contents and press F9 on Windows. On Mac, use the field-update command available in your Word version, or reopen Print Preview to prompt an update.

The numbering restarts unexpectedly: open the header or footer on the affected page and check which section it belongs to. Choose Page Number > Format Page Numbers and select either Continue from previous section or the intended starting value. Also inspect the preceding page for an accidental section break. If you remove a break, verify the headers and footers afterward because the sections may merge and inherit formatting.

Changing one page changes other pages: those pages may be in the same section, or their headers/footers may be linked. If only one section should differ, add a section break at its boundary and turn off Link to Previous in the relevant header or footer. If only the first page should differ, use Different First Page instead of creating separate sections.

The number disappears when you delete it from one page: the page likely shares a header or footer with the rest of its section. Undo the deletion, then separate the content with a section break or enable Different First Page, depending on your goal. If the page is in a new section, confirm that its header/footer is unlinked before editing.

The number or total is wrong in the PDF: update fields, save the Word file, then export again using File > Save As or File > Export, depending on your version. Recheck the PDF after export. If the document has section-specific numbering, make sure each section uses the intended format and that page-count fields are not being interpreted as section totals.

Frequently Asked Questions

How do I make page numbering start at 1 on the second page?
Enable Different First Page in the header or footer. Then open Page Number > Format Page Numbers and set the numbering to start at 0 if you want the second physical page to display 1. Check the result in Print Preview, because hiding the first page and setting the start value are separate controls.

Can I use Roman numerals for only part of a Word document?
Yes. Put a section break before and after the part that needs Roman numerals, unlink that section’s header or footer where necessary, and choose i, ii, iii in Format Page Numbers. Set the following section to Arabic numerals and choose whether it should restart at 1 or continue.

How do I restart page numbers for an appendix?
Insert a Next Page section break before the appendix. Open the appendix header or footer, turn off Link to Previous, then use Format Page Numbers and choose Start at 1. If the appendix should continue the existing sequence, choose Continue from previous section instead.

Can I use a different number format on odd and even pages?
Yes. In header and footer editing, select Different Odd & Even Pages, then format the odd-page and even-page headers or footers separately. Insert a page-number field in both types; otherwise, one set of pages may have no number. Check several consecutive pages to confirm the placement alternates as intended.

Why does Page X of Y show a total that includes my cover page?
Many built-in layouts use the total number of pages in the whole document, even when the cover page’s number is hidden. If you need a total for only one section, use a section-aware page-count field or another layout designed for section totals; confirm the field behavior in your Word version before distributing the document.

Related

Try it: the Date Difference Calculator: days, months, years and weekdays between two dates, with the DATEDIF formulas.

More in How-to basics

Sources: Function behaviour and menu paths: Microsoft Support documentation for Excel. Method & sources

Spotted an error in this guide? Let us know.