Template Issues

Customize a Word Template Table of Contents with Custom Heading Styles

Tauseeq MagsiTauseeq Magsi Nov 14, 2026 868 views

Question details

Configure a company Word template so users can insert a table of contents that recognizes custom heading styles at levels 1, 2, and 3.

Product
Microsoft Word
Device & OS
not provided
Scenario
A company distributes a Word template with custom heading styles and wants a predefined table of contents for many users.
Observed behavior
The desired table of contents uses the company's custom heading styles for its first three levels.
Before you start

Open the company template in Word and identify the exact custom style names for heading levels 1, 2, and 3. If possible, add a sample heading with each style so you can test the table of contents.

Solution 1Recommended

Save a custom table of contents in the Word template

Use this approach when every document created from the template should include the configured table of contents.

This adds a configured table of contents to the template; it does not change Word's built-in Automatic Table 1 gallery entry.

1
Open the template

In Word, select File > Open and open the company template file for editing.

2
Open table of contents settings

Place the cursor where the table should appear, then select References > Table of Contents > Custom Table of Contents.

3
Map the custom styles

Select Options. In the TOC level boxes, assign 1, 2, and 3 to the corresponding custom heading styles. Clear the level numbers for other styles if they should not appear, then select OK.

4
Insert and test the table

Select OK to insert the table of contents. Apply the custom styles to sample headings, then select the table and choose Update Table > Update entire table to check all three levels.

5
Save the template

Remove any sample content that should not be distributed, then use File > Save or File > Save As to save the changes as a Word template. Distribute the updated template to users.

Documents without headings: A table of contents may display an error when no matching headings exist. After users add headings with the mapped styles, they can select the table and choose Update Table.
Free Microsoft Office alternative

Create document tables of contents with WPS Writer

WPS Office is a free, lightweight alternative with a familiar interface for working on documents and tables of contents. Its Microsoft Word format compatibility helps you move existing files into WPS, though it does not change the built-in Automatic Table 1 in Microsoft Word.

Create tables of contents in WPS WriterCompatible with Microsoft Word DOC and DOCX filesFamiliar document-editing interface for an easier transitionFree and lightweight office suite
microsoft office alternative - wps office

Frequently Asked Questions

How do I assign custom styles to table of contents levels?

In Word, select References > Table of Contents > Custom Table of Contents > Options. Enter the desired level number next to each custom style, then select OK.

Does saving a custom table change Automatic Table 1 for everyone?

No. Saving a configured table in the template gives users that table, but it does not alter Word's built-in Automatic Table 1 gallery entry.

Why does the table of contents show an error in a new document?

There may be no headings using the mapped styles yet. Apply a mapped style to at least one heading, then select the table and choose Update Table.

Will the updated template change existing documents automatically?

No. Distributing an updated template does not automatically replace the table of contents in existing documents. Open each document and configure or insert the table there if needed.

Where can users find a saved AutoText table of contents?

With the template containing the entry available to Word, users can place the cursor in the document and select Insert > Quick Parts > AutoText, then choose the saved entry.