Word Formatting · Automatic Table of Contents
How to Create a Table of Contents in Word: Build the Heading Hierarchy First
An automatic table reads heading styles in the document body. Set the hierarchy first, insert the table, and update the entire table whenever the structure changes.
Contents
Do Three Things Before Creating the Table
The table reads heading styles and outline levels. Manually enlarging or bolding text does not establish a heading hierarchy.
Create an Automatic Table of Contents in Three Steps
Microsoft Word and WPS use slightly different menu labels but follow the same principle.
How Heading Levels Map to Table Levels
The body must have a valid structure before the table can remain stable.
When to Update Page Numbers or the Entire Table
Choosing the wrong update option commonly leaves headings missing.
Use Custom Table of Contents to change dot leaders, page-number alignment, or displayed levels. Do not edit generated entries line by line because the next update overwrites manual changes.
Troubleshooting Automatic Tables of Contents
Fix the body structure first and then update the table; do not patch missing text inside the table itself.
- Heading missing: check whether the paragraph has a heading style.
- Body text appears: restore the Normal style or lower its outline level.
- Only level one appears: increase the displayed levels in Custom Table of Contents.
- Wrong page number: fix page and section breaks, then update the entire table.
- Uneven dot leaders: set tab leaders in Custom Table of Contents.
- Formatting resets: modify the TOC 1/2/3 styles instead of editing entries individually.
- Links do not jump: reinsert an automatic table with hyperlinks enabled.
- Blank table: check whether headings are inside text boxes or another non-body area.
Frequently Asked Questions
How do I create an automatic table of contents in Word?
Apply Heading 1, Heading 2, and Heading 3 to chapters, sections, and subsections. Place the cursor on the contents page and insert an automatic table from References → Table of Contents.
Why are some headings missing?
The paragraph probably has only manual font formatting rather than a heading style, or the custom table displays too few levels. Fix the style and update the entire table.
How do I update page numbers after editing the body?
Right-click the table and choose Update Field or Update Table. Update page numbers only if headings are unchanged; update the entire table after adding, deleting, or renaming headings.
Official Instructions
- 1
Microsoft's official instructions explain how automatic tables use heading styles and update after document changes.
- 2
The official WPS tutorial covers heading styles, insertion, updates, and common problems.
- 3
Use it to adjust displayed levels, page numbers, tab leaders, and table styles.