How to Fix a Table of Contents in Word
In this article
When a table of contents in Word shows the wrong page numbers, missing entries, or formatting that looks broken, the cause is almost always one of a few simple issues. This guide walks you through the most common fixes, from updating fields to repairing corrupted styles, so you can get your TOC back to a clean, accurate state without rebuilding it from scratch.
What You'll Need
- A Word document with an existing table of contents (TOC) or one that needs a new TOC inserted
- Access to the document's heading styles (Heading 1, Heading 2, etc.)
- A few minutes and a saved backup of the document (recommended before making changes)
Step-by-Step
- Update the TOC first. Right-click anywhere inside the table of contents and choose Update Field. Select Update entire table and click OK. This refreshes page numbers and entries based on the current document. If the TOC still looks wrong, continue to the next steps.
- Check that headings use built-in heading styles. Click on a heading in your document. Look at the Home tab in the Styles group. The style should be Heading 1, Heading 2, etc. If it shows Normal or a custom style, the TOC will not pick it up. Select the text, then click the correct heading style in the Styles gallery.
- Apply heading styles to text that looks like headings but isn't styled. If you typed a chapter title and manually made it bold and large, Word cannot detect it as a heading. Select each such line and apply the appropriate heading style. Repeat for all headings in the document.
- Remove manual formatting from heading styles (if entries look wrong). If TOC entries are the wrong color, size, or font, the heading style itself may have been modified. On the Home tab, right-click the Heading 1 style and choose Modify. Click Format and reset font, paragraph, and other settings to your preference. Click OK. Repeat for other heading styles as needed.
- Regenerate the TOC from scratch. Delete the entire existing table of contents. Place your cursor where the TOC should appear. Go to the References tab and click Table of Contents. Choose an automatic style (e.g., Automatic Table 1). Word rebuilds it using the current heading styles.
- Adjust TOC levels for headings. If a heading appears at the wrong level (e.g., a Heading 2 shows as a top-level entry), the TOC levels may be mismatched. Click References > Table of Contents > Custom Table of Contents. In the dialog, click Options. Ensure Heading 1 is set to TOC level 1, Heading 2 to level 2, and so on. Click OK twice, then update the TOC.
- Fix page numbers showing as wrong or blank. Page numbers in a TOC are fields that update. If they are wrong, right-click the TOC and choose Update Field > Update entire table. If they are blank, the document may have section breaks that restart page numbering. Check the page numbers in the body by double-clicking the footer area. Adjust Page Number Format in the Header & Footer tools if needed.
- Remove a corrupted TOC field. If the TOC shows an error like "Error! Bookmark not defined" or refuses to update, select the entire TOC, press Delete, then insert a fresh TOC using the References tab as described in step 5.
- Check for text boxes or frames. Word's TOC only picks up text that is in the main document flow. If a heading is inside a text box, a table cell, or a frame, it will not appear. Move the heading text out of the container and apply the heading style.
- Use the Navigation Pane to verify headings. Go to View and check the Navigation Pane box. The pane shows your document's headings. If a heading is missing there, it is not styled correctly. Click each heading in the pane to jump to it and confirm the style is applied.
Common Mistakes
- Forgetting to update the TOC after editing. The TOC does not update automatically. You must manually trigger an update every time you change headings or page breaks.
- Using manual formatting instead of styles. Making text bold, larger, or colored does not make it a heading. Only the built-in heading styles (or styles mapped to TOC levels) are recognized.
- Editing the TOC text directly. Typing over entries in the TOC breaks the field. Always update the field rather than editing the displayed text.
- Deleting the TOC field instead of updating. If you select the TOC and press Backspace, you remove the field. To update, right-click and choose Update Field.
- Ignoring the "Update entire table" option. Choosing "Update page numbers only" will not pick up new headings or removed ones.
Tips
- Keep your heading styles consistent from the start. Use Heading 1 for chapter titles, Heading 2 for sections, and Heading 3 for subsections.
- After you finish editing your document, do a final TOC update before printing or exporting to PDF.
- If you want the TOC to show dot leaders or different indentation, use References > Table of Contents > Custom Table of Contents and adjust the settings there.
- For long documents, use the Navigation Pane to quickly spot headings that are missing or mis-styled.
- If you copy text from another document, paste it using Keep Text Only or Merge Formatting to avoid bringing in unwanted styles that can interfere with your TOC.
- Save a version of your document before major TOC changes so you can undo if something goes wrong.
Troubleshooting
- The TOC still shows old headings after updating. Make sure you selected Update entire table and not just page numbers. If headings are still missing, check that the heading text is not inside a text box or table cell. Also confirm the style is applied to the entire paragraph, not just part of it.
- Page numbers are all "1" or repeat. This usually means the document has multiple sections with page numbering restarted. Go to the footer of each section and check Page Number > Format Page Numbers. Set it to Continue from previous section unless you specifically need a restart.
- The TOC shows "Error! Bookmark not defined." This happens when the TOC field references a bookmark that was deleted. The simplest fix is to delete the TOC and insert a new one from the References tab.
- Entries are there but the indentation is wrong. Open References > Table of Contents > Custom Table of Contents. Click Modify, select the TOC level (e.g., TOC 1, TOC 2), and adjust the indentation in the paragraph settings.
- The TOC is grayed out and cannot be clicked. This means the field is locked. Press Ctrl+Shift+F11 to unlock fields, or go to File > Options > Advanced and uncheck Update fields before printing if that is causing issues.
- Headings appear in the TOC but not in the Navigation Pane. This is rare but can happen if the heading style was modified to be outline level "Body Text". Right-click the heading style, choose Modify, click Format > Paragraph, and set Outline level to Level 1, 2, or 3 as appropriate.
Frequently Asked Questions
Why won't my table of contents update?
The TOC field may be locked. Press Ctrl+Shift+F11 to unlock it, then right-click and choose Update Field. Also make sure you select "Update entire table" rather than just page numbers.
How do I add a heading to the TOC without using Heading 1?
You can apply any style that is mapped to a TOC level. Go to References > Table of Contents > Custom Table of Contents > Options, and assign a TOC level to the style you want. Then apply that style to the text.
Why does my TOC show "No table of contents entries found"?
This means Word cannot find any text styled with Heading 1, Heading 2, or Heading 3. Check that your headings use these styles. If they do, try deleting the TOC and inserting a new one.
Can I have two tables of contents in one document?
Yes, but each must be a separate field. Insert the first TOC, then place the cursor elsewhere and insert another. Update each one individually. Be aware that both will pick up all headings unless you use custom TOC styles or bookmarks to limit the scope.
How do I make the TOC show page numbers on the right side?
Right-click the TOC, choose Update Field, then go to References > Table of Contents > Custom Table of Contents. Ensure "Show page numbers" and "Right align page numbers" are checked. Then update the TOC again.
What is the difference between updating page numbers only and updating the entire table?
Updating page numbers only refreshes the page numbers for existing entries. Updating the entire table also adds new headings, removes deleted ones, and applies any style changes. Use "Update entire table" after major edits.