How to Restore Missing Custom Label Templates in Microsoft Word
Question details
The user needs to locate and restore custom label definitions or gridlines in Microsoft Word that went missing, typically after changing computers or upgrading software.

- Product
- Microsoft Word
- Device & OS
- not provided
- Scenario
- Migrating to a new computer or upgrading Word versions causing custom label templates to disappear from the application.
- Observed behavior
- Custom label templates and gridlines are missing from the label options menu in Microsoft Word and need to be recovered.
Ensure you have access to your old computer or a backup of your old system files, as you will need to locate the original XML settings files or registry entries where the custom labels were saved.
Restore Custom Labels from the XML File (Word 2007 and Newer)
For modern versions of Microsoft Word, custom label definitions are saved locally in a specific XML file which can be copied directly to your new computer.
Starting with Word 2007, Microsoft transitioned away from storing custom labels in the Windows Registry. Instead, these settings are saved in a hidden application data folder.
Navigate to the file path where Word stores custom labels. Press Win + R, type '%appdata%\Microsoft\Word\', and press Enter. Look for a file named 'pg_custom.xml'.
Copy the 'pg_custom.xml' file to a USB flash drive or transfer it via a cloud storage service to your new computer.
Open the exact same '%appdata%\Microsoft\Word\' directory on your new computer and paste the 'pg_custom.xml' file there. Restart Microsoft Word to see your restored custom labels.

Export and Import Registry Keys (Word 2003 and Older)
If you are migrating from Word 2003 or an older version, custom labels were stored in the Windows Registry and must be exported manually.
Try WPS Office for Seamless Template Management
Managing custom templates and document settings shouldn't be a hassle when switching devices. WPS Office is a free, lightweight, and highly compatible alternative to Microsoft Office. It offers an intuitive interface, robust template support, and full compatibility with Word document formats, making it easy to create, save, and transfer your customized labels and documents.
- 1. Download and install: Download WPS Office for free from the official website and complete the quick installation.
- 2. Open your documents: Launch WPS Writer and open your existing Word documents or label templates without losing formatting.
- 3. Manage layouts easily: Navigate to the Page Layout tab to quickly adjust dimensions and save your customized label settings.

Frequently Asked Questions
Why did my custom labels disappear in Word?
Custom labels usually disappear when you switch to a new computer, upgrade to a newer Microsoft Office version, or if the preferences file (like pg_custom.xml) gets corrupted, overwritten, or deleted by system cleaner tools.
How do I show label gridlines in Microsoft Word?
To make label borders visible while editing, click anywhere inside the label document, go to the Table Layout tab on the ribbon, and click on 'View Gridlines'. This will display dashed lines around your labels that will not appear when printed.
Can I share my custom label templates with another user?
Yes. In Word 2007 and newer, you can copy the 'pg_custom.xml' file from your application data folder and share it with another user. They simply need to place that file into their own '%appdata%\Microsoft\Word\' folder to access your custom labels.




