Reports · 5 min read

Word table of contents shows wrong page numbers: fixes

Wrong page numbers or Error! Bookmark not defined in a Word table of contents? Update the field, check heading styles, hidden text and section numbering.

A Word table of contents shows wrong page numbers because it is a field: a snapshot Word took the last time it was updated. Edit the document afterwards and the snapshot goes stale. The fix is to update it (References, Update Table, Update entire table) and, if the numbers are still wrong, to check the heading styles, hidden text and the page numbering of each section.

The steps below use Word for Microsoft 365 on Windows. Work through them in order: most tables of contents are fixed by step 1.

Step 1: update the table of contents

  1. Click anywhere in the table of contents.
  2. On the References tab, select Update Table. You can also right-click the table and choose Update Field.
  3. Choose Update entire table and select OK.
OptionWhat it updatesWhen to use it
Update page numbers onlyOnly the page numbers of headings already in the tableYou have only added or removed text
Update entire tableHeading text, new and deleted headings, and page numbersAlmost always; it is the safe choice

Update entire table also replaces any text you typed into the table of contents by hand. If someone corrected a heading inside the table rather than in the document, that correction disappears. Make the change in the heading itself.

Update every field at once before you export: press Ctrl+A to select the whole document, then press F9. Microsoft notes that fields inside tables may need the table selected and F9 pressed again.

Step 2: make Word update before printing

Most wrong page numbers reach readers because nobody updated the table before printing or saving the PDF. Go to File, Options, Display, and under Printing options tick Update fields before printing. Then do a print preview before you save the PDF, and check two or three page numbers by hand.

Step 3: check the heading styles

An automatic table of contents is built from heading styles, usually Heading 1, Heading 2 and Heading 3. Microsoft notes that missing entries usually mean the heading is not formatted as a heading. Text that only looks like a heading, because someone made it bold and larger by hand, will not appear.

  • Click the heading that is missing or wrong, and look at the Styles gallery on the Home tab. The highlighted style is the one it uses.
  • If it says Normal, apply Heading 1, 2 or 3.
  • If body paragraphs appear in the table, they have a heading style or an outline level. Apply Normal to them.
  • Update the entire table again.

Step 4: hide hidden text and field codes before updating

Word works out page numbers from the document as it is displayed. If hidden text or field codes are showing when you update, the pages are longer on screen than they will be in print, and the numbers can come out wrong.

  1. Turn off Show/Hide on the Home tab (Ctrl+Shift+8).
  2. If the table of contents or page numbers show as codes in curly brackets, press Alt+F9 to show results instead.
  3. Update the entire table, then check the page numbers in print preview.

Microsoft's older guidance also notes that a manual page break formatted as hidden text is skipped when Word repaginates, which throws off every page number after it. If numbers go wrong from one point onwards, turn on Show/Hide and look for a break near that point.

Step 5: check the page numbering of each section

The table of contents shows the page number printed on the page, not the physical page count. If a section restarts its numbering at 1, every heading in it will show a low number, which looks wrong but matches the footer.

  1. Double-click the footer in the section where the numbers go wrong.
  2. Select Page Number, Format Page Numbers.
  3. Under Page numbering, choose Continue from previous section, or set Start at to the number you want.
  4. Close the footer and update the table of contents.

If you need the cover and contents pages unnumbered and the body to start at 1, that is a section setting too. The steps are in different headers, footers and page numbers in Word.

Fix: Error! Bookmark not defined

Word shows Error! Bookmark not defined when a field points to a bookmark that no longer exists. In a table of contents, this usually happens when a heading the table points to was deleted or retyped, or when the document was converted from another format.

  • If you have just updated and the error appeared, press Ctrl+Z straight away to get the previous text back, as Microsoft suggests.
  • Update the entire table. A table built from heading styles usually rebuilds its own links and the errors disappear.
  • If the errors stay, check that the headings still use heading styles, then delete the table and insert it again from References, Table of Contents.
  • To see bookmarks in the text, go to File, Options, Advanced, and under Show document content tick Show bookmarks.

A last resort is to select the table and press Ctrl+Shift+F9. This turns the field into plain text, so the errors stop. It also means the table never updates again, so only do it on a final copy.

Fix: the table of contents will not update at all

  • It was typed by hand. Word cannot update a manual table of contents. Delete it and insert an automatic one.
  • The field is locked. A locked field ignores updates. Click it and press Ctrl+Shift+F11 to unlock it, then update. Ctrl+F11 locks it again.
  • The document is protected. If editing is restricted, fields may not update. Ask the owner to stop protection, or work in a copy.

When Word is fine

Word's automatic table of contents works well when every heading uses a heading style and someone updates the table just before export. Most problems come from people, not the feature: manual headings, edits after the last update, and fixes typed into the table itself. If the report is designed, with a cover, chapter openers and photos, see also annual report template in Word.

Checklist before you export the PDF

  • Every heading uses Heading 1, 2 or 3, not bold Normal text.
  • Show/Hide and field codes are turned off.
  • Page numbering in each section continues or restarts on purpose.
  • The table is updated with Update entire table.
  • Update fields before printing is ticked.
  • Two or three page numbers are checked by hand in print preview.

Frequently asked questions

Why are the page numbers wrong in my Word table of contents?
The table has not been updated since the document changed. Click it, select References, Update Table, and choose Update entire table. If they are still wrong, check section page numbering and turn off hidden text before updating.
How do I fix Error! Bookmark not defined in a table of contents?
Update the entire table first. If the error stays, make sure the headings use heading styles, then delete the table and insert a new one from References, Table of Contents.
Why are some headings missing from my table of contents?
They do not use a heading style. Apply Heading 1, 2 or 3 to them and update the entire table.
Does Word update the table of contents automatically?
No, not while you type. Update it by hand, or tick Update fields before printing under File, Options, Display so it refreshes when you print.

The easy writer

Tired of spending hours fixing the format in Word, or writing in Figma?

Pengrid keeps the words and the page apart. Write in a calm editor, design the pages once, and merge them.

In Word

An afternoon gone on images that jump, numbering that restarts and headers that won't stay put. One edit on page 3 and page 9 breaks.

In Figma

Beautiful pages, but every paragraph is a text box. Long text, outlines and rewrites were never what it was made for.

In Pengrid

Write the text, lay out the pages, bind them. Rewrite all week and the layout holds. Export a print-ready PDF.

Bring your own AI

Connect the Claude Code or OpenAI Codex sign-in you already have. No API key, no extra subscription.

Or keep it local

The built-in assistant runs on your computer, so your drafts never leave it. Works offline.

Try Pengrid free for Mac

Free, no account needed. Teams €5 per person, free for now.