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 situation | What to do | Why |
|---|---|---|
| New chapters are missing from the table | Apply a heading style to each chapter title, then update the entire table | The table only collects paragraphs that use heading styles |
| Titles are correct but page numbers are wrong | Update page numbers only, then update the entire table if they still differ | Page numbers shift when text or page breaks change |
| A heading looks right but is absent | Reapply the heading style from the style list instead of bolding the text | Manual formatting does not register as a heading |
| Text was pasted from another file | Paste as plain text, then apply the heading style again | Pasted formatting can conflict with the document's styles |
| A message asks you to start by applying a heading style | Apply a heading style to at least one title, then update again | The 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.
| Symptom | Likely cause | How to confirm |
|---|---|---|
| A chapter title is missing from the table | The title is bold or enlarged text, not a heading style | Click 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 style | No paragraph in the document uses a heading style | Scroll through the file and look for any title that appears in the outline view. |
| Titles are current but page numbers are off | The table was not refreshed after page breaks moved | Update page numbers only, then compare three or four entries with the actual pages in print preview. |
| Old titles still appear after you renamed a heading | The table is out of date | Update the entire table and check whether the new text appears. |
| The table will not update at all | The file is read-only, protected, or fields are locked | Try to type a word in the body text. If you cannot, check the file's protection settings. |
| It updates on one computer but not another | Different programs or versions handle fields differently | Open 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.
- 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.
- 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.
- 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.
- 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.
- 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.
- 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.
- 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.


