How to Fix a Corrupted or Incorrect Table of Contents in Microsoft Word
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.

- 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.
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.
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.
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.
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.
Scroll back up to your Table of Contents, right-click anywhere inside the table, and select 'Update Field'.
If prompted, choose 'Update entire table' rather than just page numbers, then click 'OK'.

Insert a Custom Table of Contents
Automatic tables use content controls that can sometimes cause formatting glitches; inserting a custom TOC provides more stability and control.
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. Open your document: Launch WPS Writer and open your existing Word document.
- 2. Format your headings: Apply heading styles (Heading 1, Heading 2, etc.) from the Home tab to properly structure your document.
- 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. 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.

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.




