How to Fix Page Numbers Stopped Working in Word Documents
Question details
The user is unable to insert or view page numbers in any Microsoft Word document.

- Product
- Microsoft Word
- Device & OS
- not provided
- Scenario
- Adding or formatting page numbers across multiple or all documents in Word.
- Observed behavior
- Page numbering features fail to work or options are missing from the insert menu, often due to corrupted Building Blocks files or incorrect header/footer fields.
Ensure you have saved all your open documents and completely closed Microsoft Word before attempting to delete or modify system template files.
Delete Corrupted Built-in Building Blocks File
Resolve widespread page number failures by forcing Word to regenerate its corrupted Building Blocks file.
Microsoft Word relies on the Built-in Building Blocks file to load gallery items like pre-formatted headers, footers, and page numbers. When this file becomes corrupted, these features will disappear or stop working across all documents.
Ensure all instances of Microsoft Word are completely closed.
Open File Explorer, type %appdata%\Microsoft\Document Building Blocks into the address bar, and press Enter.
Open the folder labeled with your locale ID (for example, 1033 for US English) and locate the 'Built-in Building Blocks.dotx' file.
Delete the 'Built-in Building Blocks.dotx' file. Restart Microsoft Word; the program will automatically regenerate a fresh, working copy of this file upon launch.
Use Keyboard Shortcuts to Insert Page Fields
Manually insert a page number field bypassing the built-in gallery if the user interface options fail.
Run Microsoft Office Repair
Repair damaged Office components if rebuilding the templates does not work.
Avoid Template Corruption with WPS Office
Tired of dealing with corrupted Word templates and complex troubleshooting? WPS Office is a lightweight, highly compatible alternative that makes formatting and page numbering hassle-free.
- 1. Download and Install: Download WPS Office for free and install it on your device in seconds.
- 2. Open Your Document: Open your existing Word document (.docx) in WPS Writer without losing any previous formatting.
- 3. Insert Page Numbers: Go to the 'Insert' tab and click 'Page Number' to quickly format and apply numbers using a stable, intuitive menu.

Frequently Asked Questions
Why are my page numbers restarting at 1 on every page?
This usually happens when the page number format is set to 'Start at 1' for each section or due to hidden section breaks. Double-click the page number, select 'Format Page Numbers', and choose 'Continue from previous section'.
Can I insert page numbers without overwriting my existing footer text?
Yes. Instead of using a pre-formatted gallery option from the menu (which often replaces the entire footer), double-click to edit the footer, place your cursor where you want the number, and press Alt + Shift + P to insert only the page number.
Where exactly is the Built-in Building Blocks file located?
It is typically located in a hidden AppData folder at C:\Users\[YourUsername]\AppData\Roaming\Microsoft\Document Building Blocks\[LocaleID]. You must enable 'Show hidden files' in Windows to browse there manually, or simply use %appdata% in the Run dialog.




