logo
search
Formatting Issues

How to Fix a Corrupted or Incorrect Table of Contents in Microsoft Word

Khadija KhanKhadija Khan Sep 28, 2026 871 views

Question details

The user needs to fix a Table of Contents (TOC) in Word that is displaying incorrectly, appears corrupted, or is difficult to format properly.

How to Fix a Corrupted or Incorrect Table of Contents in Microsoft Word
Product
Microsoft Word
Device & OS
not provided
Scenario
Generating, updating, or formatting a document's Table of Contents.
Observed behavior
The Table of Contents appears corrupted, displays incorrect headings, or glitches due to automatic content controls, leading the user to consider typing the entries manually.
Before you start

Ensure all your document headings are properly styled using Word's built-in Heading styles (Heading 1, Heading 2, etc.), as the Table of Contents relies strictly on these styles to generate accurate structure.

Solution 1Recommended

Verify Heading Styles and Update the TOC Field

Applying built-in heading styles consistently and updating the TOC field is the most common fix for incorrect or missing entries.

A Table of Contents is generated dynamically based on the text formatted with Heading styles. If normal paragraph text appears in your TOC, or if headings are missing, the styles in the document body need to be corrected before updating.

1
Apply correct heading styles

Scroll through your document, highlight the text that should appear in your TOC, and apply the appropriate built-in style (e.g., Heading 1 or Heading 2) from the Styles gallery on the Home tab.

2
Remove styles from regular text

If regular paragraph text is showing up in the TOC, highlight that text in your document and click 'Normal' in the Styles gallery to remove the heading formatting.

3
Update the field

Scroll back up to your Table of Contents, right-click anywhere inside the table, and select 'Update Field'.

4
Update the entire table

If prompted, choose 'Update entire table' rather than just page numbers, then click 'OK'.

Verify Heading Styles and Update the TOC Field
Formatting Retained: Updating the entire table ensures all your newly applied heading styles are captured accurately without requiring you to delete and recreate the TOC.
Manage Document Structures Easily

Create and Fix Tables of Contents Seamlessly in WPS Office

WPS Writer provides a highly compatible and intuitive way to generate, customize, and update Tables of Contents. If you are struggling with complex formatting in Microsoft Word, WPS Office offers a free, lightweight alternative with familiar layout controls.

  1. 1. Open your document: Launch WPS Writer and open your existing Word document.
  2. 2. Format your headings: Apply heading styles (Heading 1, Heading 2, etc.) from the Home tab to properly structure your document.
  3. 3. Insert the TOC: Go to the References tab, click 'Table of Contents', and select an automatic style or click 'Insert Table of Contents' for custom settings.
  4. 4. Update easily: Whenever you make changes to your document, click the 'Update TOC' button on the References ribbon to refresh headings and page numbers instantly.
Fully compatible with Microsoft Word document formats (.docx and .doc).One-click Table of Contents generation and effortless field updating.Customizable TOC styles without complex content control glitches.Free, lightweight, and user-friendly interface.
microsoft office alternative - wps office

Frequently Asked Questions

Why does my Word Table of Contents say 'Error! Bookmark not defined.'?

This error occurs when a heading referenced in the Table of Contents has been deleted, altered, or its invisible bookmark was removed. To fix it, simply right-click anywhere in the Table of Contents and select 'Update Field' > 'Update entire table'.

Can I manually edit the text inside an automatic Table of Contents?

While Word allows you to type directly into the Table of Contents, any manual edits you make there will be permanently lost the next time the TOC field is updated. It is highly recommended to edit the actual heading text within the body of your document, and then update the TOC field.

How do I change the font and spacing of my Table of Contents?

To permanently change the formatting, go to References > Table of Contents > Custom Table of Contents. Click the 'Modify' button, select the TOC level (TOC 1, TOC 2, etc.) you want to change, and click 'Modify' again to adjust the font and paragraph spacing. This ensures the formatting persists even after updates.