Fix Missing Heading Text in a Word Table of Contents
Question details
The user needs to fix a Table of Contents that displays heading numbers without the corresponding heading text.

- Product
- Microsoft Word
- Device & OS
- not provided
- Scenario
- Generating or updating a Table of Contents in a document with numbered headings.
- Observed behavior
- The generated Table of Contents shows only the heading numbers for Heading 1 or Heading 2 entries, while the actual text of the heading is completely missing.
Before updating your Table of Contents, open the Navigation Pane (View > Navigation Pane) to check if your full heading text appears there, which helps verify if the styles are applied correctly.
Apply Heading Styles to the Complete Paragraph
Use this solution to ensure both the heading number and the text are recognized as a single heading entry for the Table of Contents.
This issue occurs when a heading style is accidentally applied only to the numbering or a portion of the text, rather than the entire paragraph block. Word's Table of Contents only pulls text that is explicitly formatted with the heading style.
Scroll through your document to find the specific heading where the text is failing to appear in the Table of Contents.
Use your mouse to highlight the complete line, ensuring you select both the heading number and the corresponding text.
Navigate to the 'Home' tab on the ribbon. In the Styles group, click the appropriate heading style (e.g., Heading 1 or Heading 2) to apply it to the entire selection.
Scroll back to your Table of Contents, right-click anywhere inside it, select 'Update Field', and then choose 'Update entire table'.

Create and Manage Table of Contents Easily with WPS Office
WPS Writer provides an intuitive and highly compatible interface for managing heading styles and automatically generating a flawless Table of Contents. You can easily fix missing text issues and format your documents with precision.
- 1. Open Your Document: Launch WPS Writer and open your .docx document containing the formatting issue.
- 2. Apply Heading Styles: Highlight the complete heading paragraph and select the desired Heading style from the Styles gallery on the Home tab.
- 3. Update the Table of Contents: Go to the References tab, click 'Update TOC', and select 'Update Entire Table' to instantly refresh your document navigation.

Frequently Asked Questions
Why are my headings missing from the Navigation Pane in Word?
If headings are missing from the Navigation Pane, they likely do not have the correct outline level applied. Select the text, right-click to choose 'Paragraph', and ensure the Outline Level is set to a Level (like Level 1 or 2) instead of 'Body Text'.
How do I ensure a style applies to the whole paragraph and not just one word?
To apply a style to the entire paragraph, simply click anywhere inside the paragraph (without highlighting specific words) and then click the desired style in the Styles pane. Word will automatically apply it to the entire block of text.
What is the difference between 'Update page numbers only' and 'Update entire table'?
'Update page numbers only' will only refresh the page numbers for existing entries, which is faster for minor edits. 'Update entire table' pulls in new headings, text changes, and fixes missing text issues, fully regenerating the Table of Contents.
Can hidden text cause headings to disappear from the Table of Contents?
Yes. If the text portion of your heading is formatted as 'Hidden' under the Font settings, it will not display in the document or the Table of Contents. Select the text, open the Font dialog box, and uncheck the 'Hidden' attribute.




