How to Format TOC With Custom Styles in Word
🔍 WiseChecker

How to Format TOC With Custom Styles in Word

When you insert an automatic table of contents in Word, it uses predefined styles such as TOC 1, TOC 2, and TOC 3. These default styles may not match your document’s font, color, or spacing requirements. Instead of manually reformatting each TOC entry after every update, you can modify the underlying TOC styles once, and Word preserves your formatting through future updates. This article explains how to access, modify, and apply custom styles to your table of contents so it matches your document design exactly.

Key Takeaways: Formatting a TOC With Custom Styles

  • References > Table of Contents > Custom Table of Contents > Modify: Opens the Style dialog where you can edit each TOC level style directly.
  • Modify Style dialog > Format > Font / Paragraph / Tabs: Changes the font, size, color, indentation, and tab stop for a specific TOC level.
  • Modify Style dialog > Format > Numbering: Replaces the default dot leader with a different character or removes the leader entirely.

ADVERTISEMENT

What Are TOC Styles and Why Modify Them

When you insert an automatic TOC using References > Table of Contents, Word assigns a built-in style to each entry based on its heading level. Heading 1 entries get the TOC 1 style, Heading 2 entries get TOC 2, and so on. These styles control the font, size, color, indentation, and the dot leader between the entry text and the page number.

By default, TOC styles inherit formatting from the Normal style, which may not suit your document’s branding or readability requirements. Modifying the TOC styles directly ensures that every time you update the TOC — by right-clicking and selecting Update Field — your custom formatting remains intact. You do not need to reapply manual formatting after each update.

Before you begin, ensure your document uses built-in heading styles (Heading 1, Heading 2, Heading 3) or custom heading styles that are assigned to the correct outline levels. The TOC will only pick up headings that have an outline level applied.

Steps to Modify TOC Styles in Word

  1. Open the Custom Table of Contents dialog
    Click anywhere inside the existing TOC or place your cursor where you want a new TOC. Go to the References tab and click Table of Contents. At the bottom of the gallery, select Custom Table of Contents.
  2. Access the Style modification window
    In the Table of Contents dialog, click the Options button in the lower left. Then click the Modify button. This opens the Style dialog listing all TOC level styles currently in use.
  3. Select the TOC level to customize
    Scroll through the list and select the style you want to change, for example TOC 1 for top-level headings. Click Modify.
  4. Change the font, size, and color
    In the Modify Style dialog, use the formatting controls in the center to set the font, font size, bold, italic, underline, and font color. Click the Format button in the lower left for additional options.
  5. Adjust paragraph indentation and spacing
    Click Format > Paragraph. In the Paragraph dialog, set the Left and Right indentation under Indentation. For TOC 1, set Left to 0. For TOC 2, set Left to 0.5 inches or your preferred indent. Adjust Spacing Before and After as needed. Click OK.
  6. Change the tab stop and dot leader
    Click Format > Tabs. The Tab stop position is usually set to the right margin, for example 6 inches. Under Leader, select None to remove the dot leader, or choose a different style such as dashes or underscores. Click OK.
  7. Apply the style to the TOC
    Back in the Modify Style dialog, click OK to confirm your changes. In the Style dialog, click OK. In the Table of Contents dialog, click OK. Word will ask if you want to replace the existing TOC. Click Yes to apply the custom formatting.

ADVERTISEMENT

Working With Multiple TOC Levels

Repeat steps 3 through 7 for each TOC level you want to customize. For a typical document, you might modify TOC 1, TOC 2, and TOC 3. Each level can have its own font size, indentation, and leader style. For example, you can set TOC 1 in 14 pt bold with no indent, TOC 2 in 12 pt regular with a 0.5-inch indent, and TOC 3 in 11 pt italic with a 1-inch indent.

Limitations and Things to Avoid

Why does my custom formatting disappear after updating the TOC

If you manually formatted individual TOC entries by selecting text and changing the font or size, that formatting is lost when you update the TOC. Always modify the TOC style itself rather than applying direct formatting to entries. Direct formatting is overwritten by the style on update.

Can I use my own custom style instead of TOC 1, TOC 2, etc

You can assign a custom style to a TOC level only if that custom style is based on a TOC style or if you modify the TOC level mapping. In the Table of Contents Options dialog, you can assign any style to a TOC level by entering a number in the TOC level box next to that style name. However, the TOC entry will still use the corresponding built-in TOC style for its formatting unless you modify that style.

My TOC shows extra entries or misses some headings

Ensure the headings you want to appear have the correct outline level applied. Select the heading text, open the Paragraph dialog, and under Indents and Spacing, set Outline Level to the appropriate level, for example Level 1 for main headings. The TOC will only include headings with an outline level of 1 through 9.

Built-in TOC Styles vs Custom Styles for TOC Entries

Item Built-in TOC Styles Custom Styles Assigned to TOC Level
Style names TOC 1, TOC 2, TOC 3, etc Any user-created style name
Modification method References > Table of Contents > Custom Table of Contents > Modify Requires assigning the style in Table of Contents Options and then editing the style directly via the Styles pane
Update behavior Formatting preserved on update Formatting preserved only if the custom style is based on the corresponding TOC style
Ease of use Simple, built-in dialog More complex, requires manual mapping
Recommended for Most users and documents Advanced users with specific style requirements

You can now format your table of contents with custom fonts, indentation, spacing, and leader styles that persist after every TOC update. Start by modifying the TOC 1, TOC 2, and TOC 3 styles through the Custom Table of Contents dialog. For a more polished look, adjust the tab stop position in the Tabs dialog to align page numbers perfectly with the right margin. If your document uses more than three heading levels, modify TOC 4 and beyond using the same method.

ADVERTISEMENT