Table of Contents Not Updating in a .docx File? Common Fixes

Diagnose why a table of contents will not refresh or shows wrong page numbers, and fix heading styles and update settings in a .docx file.

A table of contents that will not change is one of the more frustrating problems in a long report, thesis, or manual. You add a new chapter, the heading looks right on screen, and the table still lists the old titles with the wrong page numbers. If you searched for "table of contents not working" or "table of contents not updating correctly," you are probably working in a .docx file that was built by hand or assembled from several sources.

The cause is usually one of a few things, and each one is easy to check once you know where to look. This guide gives you a short answer, helps you match your symptom to a likely cause, walks through the fixes in order, and ends with habits that keep the problem from coming back. It focuses on heading structure and update options, which is where a table of contents gets its data, rather than general file repair.

Why is my table of contents not working? The short answer

Usually, the table only reads paragraphs that carry a built-in heading style, or the table has not been refreshed since your last edit. Check the heading styles first, then update the entire table.

Your situationWhat to doWhy
New chapters are missing from the tableApply a heading style to each chapter title, then update the entire tableThe table only collects paragraphs that use heading styles
Titles are correct but page numbers are wrongUpdate page numbers only, then update the entire table if they still differPage numbers shift when text or page breaks change
A heading looks right but is absentReapply the heading style from the style list instead of bolding the textManual formatting does not register as a heading
Text was pasted from another filePaste as plain text, then apply the heading style againPasted formatting can conflict with the document's styles
A message asks you to start by applying a heading styleApply a heading style to at least one title, then update againThe table has no entries to build from

Figure out which problem you have

Match what you see to the likely cause before you change anything. Several symptoms can look alike, and fixing the wrong one wastes time.

SymptomLikely causeHow to confirm
A chapter title is missing from the tableThe title is bold or enlarged text, not a heading styleClick the title and check whether it appears in a navigation pane or outline view. If it does not, it has no heading style.
The table is empty or shows a prompt to apply a heading styleNo paragraph in the document uses a heading styleScroll through the file and look for any title that appears in the outline view.
Titles are current but page numbers are offThe table was not refreshed after page breaks movedUpdate page numbers only, then compare three or four entries with the actual pages in print preview.
Old titles still appear after you renamed a headingThe table is out of dateUpdate the entire table and check whether the new text appears.
The table will not update at allThe file is read-only, protected, or fields are lockedTry to type a word in the body text. If you cannot, check the file's protection settings.
It updates on one computer but not anotherDifferent programs or versions handle fields differentlyOpen the same copy on the second device and compare the results.

Fix it step by step

Start with the quickest fix and move down the list. Save a copy of the file before you begin so you can compare results.

  1. Update the entire table once. Right-click anywhere in the table and choose the option that updates the whole table, not only the page numbers. Save the file and check whether the titles and page numbers now match.
  2. Check that every chapter title has a heading style. Click each missing title and look at its style in the style list. Apply a top-level heading style to chapter titles and a lower-level heading style to sections within them.
  3. Replace fake headings. A title that is bold, larger, or centered but uses a normal body style will not appear in the table. Apply a heading style to it and clear any leftover manual formatting so it matches the other headings.
  4. Clean up pasted text. If a heading came from another document, paste it as plain text and then apply the heading style. Pasted styles can hide extra formatting that stops the table from reading the heading.
  5. Remove locks and protection. If the file is read-only or protected, unprotect it if you have permission to do so, then update the table again. Work in a copy if you are not the file's owner.
  6. Recheck page numbers after layout changes. Manual page breaks, section breaks, and new images can move text. Update page numbers only, then review the entries that fall near those breaks. Remove any page breaks you added by hand if they are no longer needed.
  7. Test in a browser if you need a quick refresh. Open a copy in the UniDoc web editor at app.unidoc.top, which offers Word-compatible editing. Check whether the table matches your headings. If it does not, apply the fixes above in your desktop program.

Prevent it next time

Most of the trouble comes from structure, so small habits in the drafting stage save a lot of repair work later.

  • Build headings with heading styles from the start. Use one level for chapters and another for sections. Do not format titles by hand and plan to convert them later.
  • Update the table at the end of each major revision, and again on the final version before you share it. A table that was correct last week can drift after a rewrite.
  • Paste carefully. Paste as plain text when you bring in material from another file, then reapply the heading styles.
  • Limit manual page breaks. Let the text flow naturally where you can, so fewer page numbers move unexpectedly.
  • Keep a copy before big structural edits, such as moving whole chapters or merging documents.

❓ FAQ

1. Can I build a table of contents from bold text instead of heading styles?

You can type a list that looks like a table of contents, but it will not update on its own. Use heading styles so the table can read your structure, and keep typed lists only for content that will never change.

2. Will updating the table change my headings?

No. Updating rebuilds the entries from the headings already in the document. To change a title, edit the heading text itself, then update the table.

3. Why does the table look different when someone else opens the file?

Fonts, printer settings, and software versions can change where page breaks fall. The table reflects the layout at the moment it was last updated. Update it on the final version, and check it on the device your readers will use.

📝 Summary

A table of contents that is not working usually comes down to missing heading styles or a table that has not been refreshed. Apply heading styles to every chapter title, update the entire table, and then check the page numbers on the final version. With those habits in place, the table of contents will stay accurate as the document changes.

Open OmniDoc to edit and export your documents

Updated 2026-11-04