How to Fix Custom Word Headers Disappearing from the Gallery
Question details
Users experience an issue where custom headers saved in Microsoft Word disappear from the available header list after being used several times.

- Product
- Microsoft Word
- Device & OS
- not provided
- Scenario
- Saving custom header designs to reuse across multiple documents.
- Observed behavior
- The custom headers vanish from the Header Gallery upon reopening Word, failing to permanently save in the template options.
Ensure you have administrative privileges on your computer, as restrictive network settings on shared computers can sometimes prevent template files from saving permanently.
Properly Save to the Header Gallery and Confirm Changes
Custom headers must be correctly added to the gallery and saved to the underlying Building Blocks file when you exit the application.
In Microsoft Word, custom headers are stored as 'building blocks' in a background template file called Building Blocks.dotx. If this file isn't updated successfully when you close the program, your newly saved headers will be lost.
Highlight your custom header in the document. Navigate to the 'Insert' tab, click on 'Header', and choose 'Save Selection to Header Gallery' from the dropdown menu.
Close Microsoft Word. If a prompt appears asking, 'Do you want to save changes to Building Blocks.dotx?', you must click 'Save' or 'Yes' to ensure your custom headers are retained for future sessions.

Verify Storage in the Building Blocks Organizer
Use the Organizer to confirm exactly where your custom headers are being saved to rule out corrupted or incorrectly assigned templates.
Store Headers in a Personal Template
If you are on a shared computer, default template files may be routinely wiped or overwritten by the system administrator. Saving to a personal template bypasses this issue.
Try WPS Office for Stable Document Formatting
If you frequently encounter missing templates or gallery issues in Microsoft Word, consider switching to WPS Office. It provides a robust, lightweight, and highly compatible word processor that securely manages your custom headers, footers, and templates.
- 1. Download WPS Office: Visit the official WPS website and download the free WPS Office installer.
- 2. Install the Software: Run the setup file and follow the on-screen instructions to install the suite on your computer.
- 3. Open Your Word Documents: Launch WPS Writer and open your existing .docx or .dotx files seamlessly to continue working on your templates.

Frequently Asked Questions
Where are custom headers stored in Microsoft Word?
Custom headers are stored as building blocks. By default, they are saved in a template file named Building Blocks.dotx, which is typically located in the AppData\Microsoft\Document Building Blocks folder on your computer.
Why do my headers disappear after closing Word?
This usually happens if you decline the prompt to save changes to the Building Blocks.dotx file when exiting Word. Without saving, the newly added headers are discarded when the program closes.
Can I share my custom headers with other users?
Yes. Instead of saving elements to the default Building Blocks file, you can save your custom headers in a personal template file (.dotx). You can then share this template file with other users or place it in a shared Startup folder so everyone has access to the headers.




