Template Issues

How to Fix Custom Word Headers Disappearing from the Gallery

Steven ParkerSteven Parker Oct 15, 2026 868 views

Question details

Users experience an issue where custom headers saved in Microsoft Word disappear from the available header list after being used several times.

Fix Custom Word Headers Disappearing from the Header Gallery
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.
Before you start

Ensure you have administrative privileges on your computer, as restrictive network settings on shared computers can sometimes prevent template files from saving permanently.

Solution 1Recommended

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.

1
Save the selection to the gallery

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.

2
Confirm the save prompt on exit

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.

Properly Save to the Header Gallery and Confirm Changes
Important: Always read exit prompts carefully. Discarding changes to Building Blocks.dotx is the most common reason custom elements disappear.
Free Microsoft Office alternative

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. 1. Download WPS Office: Visit the official WPS website and download the free WPS Office installer.
  2. 2. Install the Software: Run the setup file and follow the on-screen instructions to install the suite on your computer.
  3. 3. Open Your Word Documents: Launch WPS Writer and open your existing .docx or .dotx files seamlessly to continue working on your templates.
Free and lightweight alternative to Microsoft OfficeHighly compatible with Microsoft Word .docx and .dotx formatsIntuitive header and footer management without complex building block issuesFamiliar user interface for seamless migration
microsoft office alternative - wps office

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.