To add automatic page numbers in Word, open the Insert tab, choose Page Number, select where the numbers should appear, and pick a style. Word inserts a page-number field that updates as pages are added, removed, or rearranged, so you do not need to type or adjust each number yourself. The steps below are for Microsoft Word for Microsoft 365 on Windows; the Mac version uses similar commands.
What You’ll Need
- A Word document that you can edit. Save a copy first if you are making changes to a long or carefully formatted document.
- A general idea of where you want the numbers, such as the top or bottom of each page, and whether the first page should show one.
Step-by-Step
- Open the document and decide where numbering should begin. Page numbers are usually added to the whole document, but you may want a cover page without a visible number or a different numbering style for an introduction. You can set these options after inserting the numbers. If the document already has headers, footers, or sections, take note of them before editing, because page numbers are placed inside a header or footer area.
- Open the page-number gallery. On the Word ribbon, select Insert > Page Number. The menu offers positions such as Top of Page, Bottom of Page, Page Margins, and Current Position. For most documents, the top or bottom is the clearest choice. Use Current Position only when you have already placed the cursor in a header or footer where you want the number.
- Choose a position and a design. Point to or select a position, then choose a layout from the gallery. The preview shows whether the number will be aligned left, centered, or right and whether it includes extra text or a decorative line. A simple number is often best for reports and school work. Word inserts the page number in the corresponding header or footer and opens that area for editing.
- Check the placement and surrounding text. Look at the number in the header or footer. If you want it on the opposite side, choose a different gallery layout or adjust its alignment while the header or footer is active. You can add a label such as “Page” by typing beside the field, but do not replace the number itself. The number is a Word field, not ordinary text.
- Close the header or footer. Select Close Header and Footer on the ribbon, or double-click in the main body of the document. Scroll through several pages to confirm that the numbers appear in the same location and advance in order. The field updates when the document’s pagination changes; if a displayed field looks stale, right-click it and choose Update Field.
- Hide the number on the first page if needed. Double-click the header or footer to reopen it, then select the Header & Footer tab and turn on Different First Page. The first page’s header or footer becomes separate, so its number can be removed without deleting numbering from the following pages. If the first page should be unnumbered and the second page should display 1, continue to the next step.
- Set the numbering style or starting value. Choose Insert > Page Number > Format Page Numbers. In the dialog, choose a format such as 1, 2, 3 or i, ii, iii. To make the second physical page show 1 after hiding the first page’s number, set Start at to 0, then select OK. Word counts the hidden first page as zero, making the next page display 1. If you simply hide the first-page number and leave the start value at 1, the second page normally displays 2.
- Save and verify the finished document. Save with Ctrl+S on Windows (or Command+S on Mac). Check the first page, a middle page, and the last page, and use Print Preview to see how the numbers will appear on paper or in a PDF. If the document has multiple sections, inspect each section because its numbering settings may differ.
On a Mac: The ribbon and gallery names can vary slightly by Word release, but start with Insert > Page Number, choose a position and style, and use the header and footer controls to set Different First Page or formatting. In some Mac versions, page-number formatting is available from the page-number menu or the Header & Footer tab. Use the dialog’s starting-number control if you need to begin at a value other than 1.
Common Mistakes
- Typing numbers by hand. A typed “1” will not turn into “2” on the next page. Insert a page-number field through the gallery instead; it updates with the document’s pagination.
- Deleting the field instead of hiding it on page one. If you delete the number while editing a header shared by all pages, it may disappear throughout the document. Turn on Different First Page first, then remove only the first-page number if necessary.
- Choosing Current Position from the document body. That option places a number at the cursor, which can leave it in the middle of a paragraph. Use Top of Page or Bottom of Page unless you have deliberately opened a header or footer and positioned the cursor there.
- Assuming an unnumbered cover means the next page starts at 1. Hiding the first-page field does not automatically change the count. Set the starting value to 0 when you want the next physical page to display 1.
- Changing a section without checking its neighbors. Documents can have separate headers, footers, and numbering settings for each section. A change that works in one section may not affect the others, or may carry over when you did not intend it to.
Tips
- Keep the design easy to read. Choose a number with enough contrast and space from the body text. A plain, consistently aligned number is less distracting than a large graphic style, particularly in formal documents.
- Use the gallery rather than drawing a text box. Page-number layouts are designed to repeat in the header or footer and follow the page sequence. A manually inserted text box can move, overlap content, or fail to appear consistently.
- Use section breaks for genuinely different numbering. If a front matter section needs Roman numerals and the main text needs Arabic numbers starting at 1, create a new section with Layout > Breaks > Next Page. In the new section’s header or footer, turn off Link to Previous, then use Format Page Numbers to choose the style and starting value. Check the earlier section afterward.
- Remember that headers and footers repeat. Editing the number’s alignment or adding a short label in a regular header or footer usually affects all pages in that section. Use a different-first-page setting or a section break when one page needs a distinct layout.
- Preview before sharing or printing. Page numbering can shift when fonts, margins, or page size change. Print Preview helps catch a number that is too close to the edge or a section whose sequence restarted unexpectedly.
Troubleshooting
No numbers appear after insertion: Double-check that a page-number style was selected from the gallery, rather than just opening the menu. Reopen the header or footer and look for the field. If the number is white, hidden behind an object, or outside the printable area, switch to a plain gallery style and inspect the page margins. In Print Preview, confirm that the header or footer is not being suppressed by a page layout setting.
Every page shows the same number: The number may have been typed as regular text instead of inserted as a field. Remove the repeated typed value and insert a page number again through Insert > Page Number. If the number is a field but has not refreshed, right-click it and select Update Field. Also check that the pages are part of the same section and that the numbering format is not set to restart on each section.
The first page is still numbered: Open the header or footer, select the Header & Footer tab, and make sure Different First Page is enabled. Then select the first-page header or footer specifically and remove its number. Do not remove the field from a later page’s shared header. If the second page must show 1, use Format Page Numbers and set Start at to 0.
Numbering restarts or skips unexpectedly: Turn on formatting marks with Home > Show/Hide (the paragraph-mark button) and look for section breaks. Open the header or footer in the affected section and review Link to Previous and Format Page Numbers. Choose Continue from previous section if the sequence should carry on, or choose a starting number if the section should restart. Be cautious when unlinking sections: headers and footers can then be edited independently.
The number is in the wrong place or overlaps text: Double-click the header or footer and choose a different alignment or gallery layout. Check the document’s top and bottom margins and make sure a floating image or text box is not covering the number. If the number appears in the body rather than the header or footer, remove that misplaced item and insert it using Top of Page or Bottom of Page.
Frequently Asked Questions
Do page numbers update automatically when I add pages?
Yes. Numbers inserted from Word’s Page Number gallery are fields, so Word recalculates them as pagination changes. If a field appears out of date, right-click it and choose Update Field.
How do I start numbering on the second page?
Turn on Different First Page to hide the first page’s number. If page two should display 1 rather than 2, open Format Page Numbers and set Start at to 0.
Can I use Roman numerals for the introduction?
Yes. Use Format Page Numbers to select a Roman numeral format. If the main text should switch back to regular numbers, put it in a separate section, unlink its header or footer, and select the Arabic format there.
Can I put the page number at the bottom center?
Yes. Choose Insert > Page Number > Bottom of Page, then select a centered design from the gallery. You can also edit the alignment in the footer after insertion.
Will the page numbers appear in a PDF?
They normally appear when you export or save the document as a PDF, provided they are visible in Word’s Print Preview. Review the PDF after exporting, especially if the document uses section breaks, a custom first page, or different numbering styles.
Related
- Power Query to Combine Excel Files: A Practical Guide
- Power Query Errors: Causes, Meanings, and Fixes
- Power Query Current Date: Get Today’s Date in Power Query
Try it: the Date Difference Calculator: days, months, years and weekdays between two dates, with the DATEDIF formulas.
More in How-to basics
- Where Is Quick Styles in Word? Find and Use the GalleryIn Microsoft Word for Microsoft 365, Quick Styles are in the Styles gallery on the Home tab. On…
- Google Sheets If Zero Then Blank: Formulas That WorkYes. To show a blank instead of a zero in Google Sheets, use an IF formula such as…
- How to Set Out of Office in Outlook on the WebTo set an out-of-office message in Outlook on the web, open Settings, find Automatic replies, turn them on,…
- Google Sheets Filter Custom Formula: How It WorksYes. In Google Sheets, choose Data > Create a filter, open a column’s filter menu, then select Filter…
- How to Insert a Line in a Word Document: 5 MethodsTo insert a line in a Word document, use a quick hyphen shortcut, add a paragraph border, draw…
- Apply a Dropdown to an Entire Column in Google SheetsTo apply a dropdown to a whole column in Google Sheets, select the column or enter its range…
Sources: Function behaviour and menu paths: Microsoft Support documentation for Excel. Method & sources
Spotted an error in this guide? Let us know.