To add page numbers with text in Word, insert a page-number field in a header or footer, then type your label beside it—for example, “Page 1 | Project Report.” For a running count such as “Page 1 of 8,” choose a built-in Page X of Y style or combine the PAGE and NUMPAGES fields. The steps below are for Word for Microsoft 365 on Windows; the basic process is similar on Mac.
What You’ll Need
- A Word document you can edit. If it is shared or protected, make sure you have permission to change its headers and footers.
- A rough idea of where the number should appear: at the top or bottom of the page, and aligned left, center, or right.
- Your label text, if you want one, such as “Page,” “Report,” “Confidential,” or a document title. Keep it short enough to fit in the available header or footer space.
You do not need to calculate page numbers yourself. Word inserts a field that updates as pages are added, removed, or rearranged. That is safer than typing a number manually.
Step-by-Step
-
Open the document and decide whether numbering should cover the whole file. If every page should use the same numbering, you can add the number once to the document’s header or footer. If a cover page should be unnumbered, or a later section should restart at 1, you will adjust those settings after inserting the number. Save a copy first if the document has complicated section breaks or carefully formatted headers.
-
Insert a page number in the usual location. 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. Top of Page and Bottom of Page are convenient for standard headers and footers. Current Position inserts a number where the cursor is currently placed in an open header or footer. You can choose a plain layout first; the accompanying text can be added next.
-
Open the header or footer to edit the number and label. Double-click in the header or footer area containing the new number. Word opens the Header & Footer tab and makes that area editable. If you chose Current Position, first double-click the header or footer where you want the number, click to place the cursor, and use Insert > Page Number > Current Position to select a simple number style.
-
Type the text around the number field. Click just before or after the number, without selecting the number itself, and type your label. For example, click before the number and type Page to display “Page 1.” Or click after the number and type | Quarterly Review to display “1 | Quarterly Review.” Add a space or separator where needed. If you want the words to come before the number, place the insertion point before the field; if you want them after, place it after the field.
-
Make a “Page X of Y” counter. In the Page Number gallery, look for a layout named or previewed as Page X of Y, often available under Top of Page or Bottom of Page. Choose it to insert a current-page number and a total-page count together. If that style is not in your gallery, insert a plain page number, then use Insert > Quick Parts > Field on Windows and select NumPages for the total-page field. Type “ of ” between the current page number and total. The current number is the PAGE field; the document total is the NUMPAGES field. Do not type the field names as ordinary text.
-
Adjust alignment and appearance. Select the text and number in the header or footer, then use Home to change the font, size, or text color. Use the paragraph alignment buttons to align the line left, center, or right. To place a number at the left and a label at the right on the same line, use a tab stop rather than pressing the spacebar repeatedly; spaces can shift unpredictably when the font or page size changes. Keep the number readable and within the page margins.
-
Set a different first page if needed. With the header or footer open, select Different First Page on the Header & Footer tab. The first-page header or footer becomes separate. If the cover should have no number, remove the number field from that first-page area, not from the regular header or footer used on later pages. You can still put a title or other text on the cover page.
-
Check sections and numbering, then close the header or footer. Choose Close Header and Footer, or double-click in the document body. Scroll through the pages to confirm the number and text appear where expected. If the document has sections, open the header or footer in each section and check whether Link to Previous is on. Linked sections share header and footer content; unlink a section only when it needs different content or numbering.
-
Update and verify the total before sharing. Word normally updates page fields as the document changes, but you can select the document with Ctrl+A and press F9 to update fields in the main document. Headers and footers may need to be selected and updated separately. Check the last page to make sure “of Y” matches the final page count, then save the file. On Mac, use Insert > Page Number and choose a location and style; the Header & Footer controls provide similar first-page and section options, though labels and ribbon layout can differ slightly. For advanced field editing, the Windows Quick Parts path may not appear in the same place on Mac; using a built-in Page X of Y style is the simplest cross-platform option.
Common Mistakes
-
Typing a page number as ordinary text. If you type “1” into a footer, it stays 1 on every page and will not change when the document grows. Insert a page-number field from the Page Number gallery instead. You can type words beside the field, but let Word supply the changing number.
-
Replacing the field while editing. Selecting the number and typing over it can remove the field, leaving static text. Click beside the number, use the arrow keys to move the insertion point outside it, or insert the number again if it has disappeared.
-
Removing the number from every page by accident. Headers and footers are often linked across sections. Deleting a number in one linked area can remove it in other sections too. Before changing a section, check Link to Previous and understand whether the section is meant to share the same header or footer.
-
Assuming the first page option resets numbering. Different First Page hides or changes the first page’s header and footer; it does not automatically make the next page display “Page 1.” Use Format Page Numbers to control the starting number separately.
-
Using spaces to align items. A line can look aligned on your computer and shift after a font change or when someone opens it on another system. Use paragraph alignment or tab stops for predictable placement.
Tips
-
Use a concise label such as “Page,” “Draft,” or a short report name. Long text can collide with the number or run beyond the margin, especially in narrow page layouts.
-
For a professional “Page 1 of 8” footer, use the built-in Page X of Y gallery style when available. It avoids manually assembling the fields and makes the relationship between current and total pages clear.
-
Use the same position, font, and separator throughout a document unless a section genuinely needs a different design. Consistency makes page numbers easier to find and reduces formatting work.
-
When a document has a cover, contents pages, or appendices, decide whether the total should mean all document pages or just the current section. Word’s NUMPAGES field counts the entire document; the SECTIONPAGES field counts pages in the current section.
-
If you want numbering to begin after a cover page, use Different First Page for a simple cover. For more complex front matter, insert a section break and set numbering for the new section deliberately.
-
Print or export a PDF preview if exact placement matters. Text that fits on screen can still wrap or sit too close to the edge when printed, depending on the printer’s nonprinting margins.
Troubleshooting
The number is the same on every page. It may have been typed as regular text rather than inserted as a field. Open the header or footer, remove the repeated static digit, and insert a number through Insert > Page Number. If the field looks unchanged, select it and press F9 to update it.
The number does not appear on the cover page. Check whether Different First Page is enabled. That setting gives the first page its own header and footer, so a number placed only in the regular footer will not show on the cover. Turn the setting off if you want the same number there, or add separate cover-page content if you want a different layout.
The second section starts at the wrong number or has the wrong label. Double-click its header or footer and inspect Link to Previous. If the section needs independent numbering or text, turn off Link to Previous, then select Page Number > Format Page Numbers and set the number format or start value. If numbering should continue from the preceding section, choose Continue from previous section. Be cautious: unlinking does not automatically create the right number; check the setting afterward.
“Page X of Y” shows an old total. Update the fields, then check again after pagination has settled. Press Ctrl+A and F9 in the document body; if the total in the footer remains unchanged, select the footer field and press F9 as well. If the document uses NUMPAGES, remember that it counts all pages, including an unnumbered cover. Use SECTIONPAGES if you need the total pages in just one section.
The words overlap the number or wrap onto another line. Shorten the label, reduce the font slightly, or move the text to the opposite side using a tab stop or alignment setting. Also check the page margins and whether the header or footer is too close to the edge. Avoid fixing alignment with long strings of spaces.
You cannot edit the header or footer. Double-click inside the page’s header or footer rather than the body text. If Word does not open the editing controls, check whether the file is in read-only or protected mode, or whether editing restrictions are enabled. In Word for the web, basic page-number insertion is available, but some section and field controls are easier to manage in the desktop app. Open the document in Word for Microsoft 365 on Windows or Mac for those advanced changes.
Frequently Asked Questions
How do I add words before or after a page number?
Open the header or footer, click immediately before or after the page-number field, and type the words and spacing. For example, typing “Page ” before the field displays “Page 1.” Avoid selecting and replacing the field itself.
How do I make Word show “Page 1 of 10”?
Choose a Page X of Y layout from Insert > Page Number if it appears in the gallery. Otherwise insert a PAGE field for the current page and a NUMPAGES field for the total, with “ of ” between them. The total updates when the document’s page count changes.
Can I leave the first page unnumbered but number the rest?
Yes. Open the header or footer and select Different First Page. Remove the number from the separate first-page area while leaving the number field in the regular header or footer. If the second page should display 1 rather than 2, also adjust the numbering start value using Format Page Numbers.
Can I start numbering at a number other than 1?
Yes. Open the relevant header or footer, select Page Number > Format Page Numbers, choose Start at, and enter the starting value. If only one part of the document should restart, place it in its own section and check Link to Previous before changing the numbering.
Why does my total include the cover page?
NUMPAGES counts all pages in the document, even if the cover page has no visible number. If the cover is in a separate section and you want the count for only that section, use SECTIONPAGES. For a custom total that excludes front matter across multiple sections, you may need to structure the sections and numbering carefully rather than relying on the whole-document count.
Related
- Copy Excel to Word Without Gridlines: Easy Methods
- Copy Excel to Word Without Losing Formatting
- Copy Excel to Word and Keep Formatting
Try it: the Date Difference Calculator: days, months, years and weekdays between two dates, with the DATEDIF formulas.
More in How-to basics
- Insert a Line in Word for the Web: Easy Steps and FixesTo insert a line in Word for the web, choose Insert > Shapes, select a straight line, and…
- Hanging Indent in Word: Set It Up for Clean CitationsTo add a hanging indent in Word, select the paragraph or paragraphs, open Home > Paragraph dialog launcher,…
- Google Sheets Add Item to Dropdown: Steps and TipsTo add an item to a Google Sheets dropdown, select a cell that uses the dropdown, open Data…
- Google Sheets COUNTIF: Exclude Subtotal Rows CorrectlyTo keep subtotal rows out of a Google Sheets count, use COUNTIFS with a condition that rejects the…
- Excel Keyboard Shortcut to Insert a Column in a SheetIn Excel for Microsoft 365 on Windows, select the column where the new one should go with Ctrl+Space,…
- How to Create a Template in Outlook 2016To create an email template in Outlook 2016 for Windows, compose a message, choose File > Save As,…
Sources: Function behaviour and menu paths: Microsoft Support documentation for Excel. Method & sources
Spotted an error in this guide? Let us know.