To fix page numbers not working in Word, replace typed numbers with automatic page numbers, check header and footer settings for missing numbers, or correct section numbering when the sequence restarts. If Word displays { PAGE }, switch from field codes to results. Start with the fix that matches what you see.
The desktop steps cover Word for Microsoft 365 and Word 2024 on Windows and Mac, with platform differences identified where needed. Browser instructions are separate, and the Office repair steps use Windows 11 menus.
The short version
- Repeated numbers: Replace manually typed numbers with automatic page numbers.
- Missing pages: Check Different First Page and Different Odd & Even Pages in the header or footer.
- Unexpected restarts: On Windows, select Continue from previous section under Format Page Numbers.
- Visible field codes: Press Alt + F9 on Windows or Option + F9 on Mac to display field results.
| What you see | Where to start | Platform |
|---|---|---|
| The same typed number repeats | Insert automatic page numbers | Windows and Mac |
| The page number gallery fails | Insert a PAGE field directly | Windows and Mac |
| Field codes appear | Switch fields to their results | Windows and Mac |
| An existing field will not update | Update or unlock the field | Windows and Mac |
| Contents page numbers are wrong | Update the table of contents | Windows and Mac |
| Headers and footers disappear | Restore margins in Print Layout | Windows and Mac |
| A number is obscured or unreadable | Adjust its font or position | Windows and Mac |
| The first page lacks a number | Check Different First Page | Windows and Mac |
| Alternating pages lack numbers | Check separate odd and even layouts | Windows and Mac |
| Numbering restarts unexpectedly | Select Continue from previous section | Windows |
| A section starts with the wrong number or style | Open Format Page Numbers | Windows and Mac |
| A section lacks header or footer content | Inspect Link to Previous | Windows |
| Browser numbering looks wrong | Check numbering and the PDF print preview | Word for the web |
| Numbering commands are disabled | Check editing mode and document restrictions | Windows and web |
| A damaged document has numbering problems | Use Open and Repair on a copy | Windows |
| Word needs an update | Install available Word updates | Windows and Mac |
| An add-in may interfere | Check Safe Mode and installed add-ins | Windows |
| Failures persist across documents | Repair the Office installation | Windows 11 |
Replace typed numbers with automatic numbering
A manually typed number needs to be replaced with a PAGE field so Word can supply the page number. Deleting the selected number removes that number from the header or footer. Double-click the header or footer, select only the unwanted number, and press Delete. Repeat for unwanted numbers in affected sections or odd and even layouts.
On Windows, select Insert > Page Number, choose a location and style, then select Close Header and Footer. On Mac, select Insert > Page Number > Page Number, choose the position and alignment, then select OK. You can also add page numbers from another page when introductory pages need separate numbering.
If the gallery is missing or fails, double-click the header or footer and place the insertion point where the number belongs. Press Alt + Shift + P on Windows or Control + Shift + P on Mac. These shortcuts insert a PAGE field directly.
Another Windows route is Insert > Quick Parts > Field; under Field names, choose Page and select OK. On Mac, open the header or footer, select Header & Footer > Field, choose Page under Field names, and select OK. Typing ordinary braces around PAGE does not create a field.
Show field results and refresh stale numbers
If a page-number field displays { PAGE }, switch its display to the result. Press Alt + F9 on Windows or Option + F9 on Mac to switch all fields between codes and results. To toggle only a selected field, press Shift + F9.
Windows also has a setting for field-code display. Select File > Options > Advanced, then under Show document content, uncheck Show field codes instead of their values. Select OK.
For a stale number in Windows Word, open the affected header or footer, right-click the field, and select Update Field. If an existing field still will not update, select it and press Ctrl + Shift + F11 on Windows or Command + Shift + F11 on Mac, then press F9. Unlocking applies to an existing field; replace a manually typed number with automatic numbering.
If only the table of contents has wrong numbers, select References > Update Table, choose Update page numbers only or Update entire table, and select OK. A manually typed table needs manual correction, or you can create an automatic table of contents to replace it.
Make hidden page numbers visible
When the entire header or footer is missing from the editing view, check the document display before inserting another number. On Windows, select View > Print Layout to show headers and footers that other editing views leave out.
In Print Layout on Windows or Mac, point to the top or bottom of a page until the pointer becomes a double-pointed arrow. Double-click to restore the margins and their header or footer content. On Windows, you can also select File > Options > Display, check Show white space between pages in Print Layout view, and select OK.
An inserted number can also be difficult to read or covered by another element. Open the header or footer, select the number, and use the Home > Font controls to adjust its font, size, or color. Move any graphics covering it, or press Tab to reposition the number within the header or footer where appropriate.
Restore numbers on first and alternating pages
A missing number on the first page can come from Different First Page, which can affect the first page of every section. Double-click the affected header or footer, open Header & Footer, and uncheck Different First Page. If you want a distinct first-page layout, keep that setting and insert a number into the first-page header or footer separately.
Mac also provides a first-page control in the insertion dialog. Select Insert > Page Number > Page Number, check Show number on first page, and select OK.
For numbers missing from alternating pages, open a header or footer and uncheck Different Odd & Even Pages if separate layouts are unnecessary. If you need separate layouts, insert a number in both the odd-page and even-page header or footer. On Windows, use Page Number > Current Position and choose a style in each.
Correct numbering across sections
On Windows, go to the first number that restarts incorrectly and double-click its header or footer. Select Page Number > Format Page Numbers, then under Page numbering, select Continue from previous section and select OK. Repeat this in later sections that restart incorrectly.
To change an intentional starting number or the number style on Windows or Mac, open the affected header or footer and select Page Number > Format Page Numbers. Choose the required Number format, or select Start at and enter the desired starting number. Select OK to apply it.
Missing header or footer content needs a separate check. On Windows, select Home > Show/Hide (¶) to reveal section breaks, then double-click the affected header or footer and inspect Link to Previous. Turn it on when that header or footer should inherit the preceding section, or turn it off before creating independent content.
Headers and footers link separately, and first-page, odd-page, and even-page variants each link to their matching variant. Inspect the variant containing the missing number rather than changing only the main header or footer. Use Format Page Numbers to correct the numerical sequence.
Check numbering in Word for the web
In the browser, switch to Editing, select Insert > Page Numbers. If you want page X of Y, select Include Page Count first, then choose a layout; otherwise, just choose a layout. To inspect the output when numbers seem absent, select File > Print and check the generated PDF preview, which preserves the page layout and formatting.
For alternating-page problems, select Insert > Header & Footer, then open Options > Different Even & Odd Pages. Inspect the even-page content and Odd Pages content, and add numbers to the required header or footer variants.
Microsoft directs you to desktop Word for different numbering in different sections. If you have Word for Microsoft 365 or Word 2024 installed, open the document there and use Page Number > Format Page Numbers together with the section and header or footer controls.
Restore editing when commands are disabled
In Windows Word or Word for the web, use the upper-right mode menu to change Viewing or Reviewing to Editing. If Editing is unavailable, request edit permission from the document owner.
For a Windows document that always opens read-only, select File > Info > Protect document > Always Open Read-Only to turn off that setting. If you own a document with editing protection or have the necessary password, stopping protection removes its editing restriction. Select Review > Restrict Editing > Stop Protection, then enter the protection password when requested. Ask the owner or an authorized administrator to resolve restrictions you cannot remove.
For a trusted file in Windows Protected View, select Enable Editing on a yellow Message Bar. If the trusted file has a red Message Bar, select File > Edit Anyway. If organizational policy prevents leaving Protected View, ask your administrator to review the restriction.
Repair a damaged document or troubleshoot Word
Save and restart Word before moving to application troubleshooting. For a damaged document on Windows, work on a copy and select File > Open > Browse. Select the document, open the arrow beside Open, and choose Open and Repair; do not open it from Recent for this procedure.
When the problem affects multiple documents, check for Word updates. On Windows, open Word, create a document, and select File > Account > Update Options > Update Now, selecting Enable Updates first if necessary. If your organization manages the installation and these controls are unavailable, ask IT to supply the approved update.
On Mac installations from Microsoft, select Help > Check for Updates > Update. For Microsoft 365 Word installed through the Mac App Store, open the App Store, select Updates, and select Update beside Word.
To check for add-in or customization interference on Windows, close Word and press Windows + R. Type the following command, then select OK.
winword /safeTry the affected numbering operation in Safe Mode, which disables some functionality. Exit Word and reopen it normally afterward. If an add-in is implicated, select File > Options > Add-ins, set Manage to COM Add-ins, and select Go.
Uncheck the suspected add-in, select OK, and restart Word. Re-enable add-ins individually to identify which one causes the problem. The checkbox names depend on the products installed.
If the failure persists across documents, repair the installation. On Windows 11, right-click Start, select Installed apps, find Microsoft 365, Office, or standalone Word, and select the ellipsis > Modify. Choose Quick Repair or the more comprehensive Online Repair, then select Repair. Repairing a suite installation repairs the entire suite.
Frequently Asked Questions
How do you make the second page show page 1?
In Word for Microsoft 365 or Word 2024 on Windows, open the first-page header or footer and select Different First Page. Select Insert > Page Number > Format Page Numbers, select Start at, enter 0, and select OK.
Why does a normal page break not let you start separate numbering?
A normal page break does not create an independent section. In Word for Microsoft 365 or Word 2024 on Windows or Mac, place the cursor between the introductory material and main text, select Layout > Breaks > Next Page, and turn off Link to Previous in the new section’s header or footer. Insert page numbers and set the starting number through Page Number > Format Page Numbers.
Can Word update fields automatically before printing?
Yes, in Word for Microsoft 365 and Word 2024 on Windows, select File > Options > Display. Under Printing options, check Update fields before printing and select OK.
Why did removing page numbers also remove the header on Mac?
Microsoft warns that the Mac Remove Page Numbers command can remove an existing header or footer entirely. Selecting only the unwanted number avoids removing the whole header or footer. Deleting that selection removes the selected number. Double-click the header or footer, select only the number, and press Delete.