Fix a Word Table of Contents That Replaces Existing Entries
Question details
The user needs to fix an issue where updating a Table of Contents removes all previous entries and only displays newly added headings.

- Product
- Microsoft Word
- Device & OS
- not provided
- Scenario
- Updating a document's Table of Contents after pasting new content or adding new headings.
- Observed behavior
- The updated Table of Contents deletes existing entries and only shows the most recently added heading, usually due to inconsistent heading styles or a corrupted document structure.
Before making structural changes, save a backup copy of your document to ensure you do not lose any existing content or formatting progress during the troubleshooting steps.
Verify and Reapply Consistent Heading Styles
Ensure all chapters and sub-sections use the correct built-in Heading styles before updating the TOC.
A Table of Contents relies entirely on the styles applied to your text. When content is pasted from other sources, it often overrides existing formatting, causing Word to no longer recognize older headings as part of the TOC.
Scroll through your document and highlight the headings that have disappeared from the Table of Contents.
Navigate to the 'Home' tab. In the 'Styles' gallery, click on the appropriate heading level (e.g., Heading 1, Heading 2, or Heading 3) to explicitly reapply the format.
Scroll back to your Table of Contents, right-click anywhere inside it, and select 'Update Field'. Choose 'Update entire table' in the prompt and click OK.

Transfer Content to a New Clean Document
If the original file's structure is damaged, copying your content to a fresh document can resolve underlying corruption issues that prevent the TOC from functioning properly.
Create and Update Tables of Contents Easily with WPS Writer
WPS Office provides a highly compatible and lightweight word processor (WPS Writer) that effortlessly handles complex formatting and Tables of Contents without breaking your document structure.
- 1. Open your document in WPS Writer: Launch WPS Office and open your .docx or .doc file containing the incorrectly formatted headings.
- 2. Apply styles using the Home tab: Highlight your chapter titles and select the desired Heading styles directly from the Styles section on the Home ribbon.
- 3. Insert or update the TOC: Navigate to the 'References' tab, click 'Table of Contents' to insert a new one, or simply click 'Update TOC' to refresh existing entries safely.

Frequently Asked Questions
Why does my Table of Contents only show one heading after updating?
This usually happens when the rest of your document's text is no longer formatted with standardized 'Heading' styles (e.g., Heading 1, Heading 2). If pasted text overrides the default styles, the TOC will only pull the one heading it correctly recognizes.
How do I force Word to recognize my headings in the TOC?
Highlight the text you want to appear in the TOC, go to the Home tab, and explicitly click a Heading style from the Styles gallery. Once all headings are formatted correctly, right-click your TOC and select 'Update Field' followed by 'Update entire table'.
What is the difference between 'Update page numbers only' and 'Update entire table'?
'Update page numbers only' refreshes the page numbers for existing headings without changing the document's structure. 'Update entire table' scans the whole document for new, modified, or removed headings and rebuilds the TOC from scratch.
Can document corruption cause Table of Contents errors?
Yes. If the internal XML structure of the Word document is damaged, the TOC field codes may malfunction. Copying the text (excluding the final paragraph mark) into a brand-new document often clears this corruption.




