Template Issues

Make a Custom Table of Contents Available by Default in Word

Bushra ParveenBushra Parveen Nov 20, 2026 869 views

Question details

Make a table of contents that recognizes custom heading styles available for reuse without displaying one in the document template.

Make a Custom Table of Contents Available by Default in Word
Product
Microsoft Word
Device & OS
not provided
Scenario
Documents based on a template use custom heading styles that should appear at specified table-of-contents levels.
Observed behavior
The desired result is a reusable table of contents with custom style mappings that can be inserted when needed.
Before you start

Open Word in the desktop app and check that the custom heading styles exist in the document or template. Decide which table-of-contents level each style should use.

Solution 1Recommended

Save a Custom Table of Contents as a Reusable Building Block

Use this approach to keep the configured table available for insertion without placing it in the template's document body.

Word stores the style mappings in the table-of-contents field. Saving that field as a building block lets you reuse the mappings, but it does not change the settings used by every standard table-of-contents command.

1
Create a test document

Open a document based on the template and apply the custom heading styles to sample headings using Home > Styles.

2
Map the custom styles

Go to References > Table of Contents > Custom Table of Contents, then select Options. Enter a TOC level number next to each custom style and remove any unwanted level assignments.

3
Insert the table

Select OK in the options and table-of-contents dialogs to insert the configured table into the test document.

4
Save the building block

Select the entire table of contents, then choose Insert > Quick Parts > Save Selection to Quick Part Gallery. Give it a name, choose an appropriate gallery, and save it in an available template or building-block file.

5
Insert and update it

In a document that has the saved building block available, insert it from Insert > Quick Parts or the gallery you selected. Click the table and choose Update Table to populate it with the current document's headings.

Save a Custom Table of Contents as a Reusable Building Block
Make it available to other users: A reusable building block must be available on the user's Word installation or in a loaded template. The document must also contain the custom styles with the same names; sharing a document alone does not necessarily share the building block.
Free Microsoft Office alternative

Create Tables of Contents with WPS Writer

WPS Office is a free, lightweight alternative with a familiar interface and Microsoft Office format compatibility for a smooth move between office suites. WPS Writer can create tables of contents, although it does not change Word's building-block settings.

Create a table of contents from document headings in WPS Writer.Open and edit Microsoft Word DOC and DOCX files.Use a familiar interface for everyday document editing.Work with a free, lightweight office suite.
QA img-9

Frequently Asked Questions

Can I keep the template free of a visible table of contents?

Yes. Create the table in a test document and save it through Insert > Quick Parts > Save Selection to Quick Part Gallery. Users can insert the saved table when they need it.

Why aren't my custom headings appearing in the table of contents?

Check that the headings use the intended styles under Home > Styles. Then open References > Table of Contents > Custom Table of Contents > Options and assign each custom style a TOC level.

Will the standard Word table-of-contents command automatically use my saved mappings?

Not necessarily. The mappings are stored in the configured table-of-contents field. Insert the saved building block to reuse that field and its mappings.

How do I refresh the table after editing headings?

Click the table of contents and select Update Table. Choose to update the entire table if headings or their text have changed.