You make a real table of contents in Word by applying Heading styles to your section titles, placing the cursor where the TOC should sit, and choosing References > Table of Contents > Automatic Table 1 or 2. That's the whole trick. Everything else — page numbers that lie, headings that never appear, "Error! Bookmark not defined" — comes from skipping the style step or from forgetting that Word only rebuilds the TOC when you tell it to.
This guide covers the manual fallback, the update trap most tutorials ignore, and the exact settings dialog fields that decide whether page numbers line up with what readers see.
Heading Styles Are the Engine Behind an Automatic TOC
Word builds the TOC by scanning for paragraph styles, not by reading your text. The styles named Heading 1 through Heading 9 are the defaults the References > Table of Contents > Automatic Table 1 command harvests. If your chapter titles are formatted as bold 16-point Calibri rather than as Heading 1, the TOC will come out empty or partial, and no amount of clicking Update Table fixes that.
Apply styles from the Home tab's Styles gallery. Select the chapter title, click Heading 1 in the gallery, and the paragraph gets the blue accent color and the outline level Word needs. Subheads get Heading 2, sub-subheads Heading 3. Work through the document once in a batch using the Navigation Pane (View > Navigation Pane, or Ctrl+F), which lists every heading-styled paragraph in reading order — a fast way to spot titles you missed.
If you dislike the Heading style's look, modify the style rather than formatting text directly. Right-click Heading 1 in the Styles gallery, choose Modify, and change the font, size, color, and spacing. Every Heading 1 in the document updates, and the TOC keeps finding them. Direct formatting applied to a styled paragraph survives until the next style refresh, which is why the modify-the-style route holds up better across a long document.
The alternative is the outline level setting. Open the Paragraph dialog (Home > Paragraph group launcher), go to the Indents and Spacing tab, and set Outline level to Level 1 for a chapter title. This tells Word the paragraph belongs in the TOC without changing its appearance. Reserve it for documents with a house style you cannot touch, because it decouples what readers see from what the TOC counts.
Insert an Automatic Table of Contents in Four Clicks
The default command lives on the References tab, in the Table of Contents group on the left. Word ships two gallery entries — Automatic Table 1, which is titled "Contents" and shows heading text with dot leaders and right-aligned page numbers, and Automatic Table 2, which is titled "Table of Contents." They differ in title and styling only; both are fields that regenerate on command.
1: Click at the very start of the body, after the cover page and any copyright page, and insert a page break (Ctrl+Enter) so the TOC gets its own page. 2: On the References tab, click Table of Contents. 3: Pick Automatic Table 1 or Automatic Table 2. Word inserts the field, populated from your Heading 1–3 paragraphs. 4: Add front matter like an executive summary before the TOC if you need it; the field will pick up its headings on the next update.
The inserted TOC is a field, and on a fresh insertion Word usually shows a gray "No table of contents entries found" line if no heading styles exist. That message is the diagnostic, not a bug: it means step zero — styling — did not happen. Insert the TOC anyway and fix the styles; Update Table will populate it in one pass.
Automatic Table 1 and 2 print identically once populated. Pick based on the title you want, and change the field's appearance by editing the TOC 1, TOC 2, and TOC 3 styles in the Styles gallery rather than formatting inside the field, which gets wiped on every update.
Update the Table of Contents Before You Print or Export
A TOC field does not refresh itself when you type, delete, or reorder sections. Word updates it when the document is opened (if you answer Yes to the prompt), when you press F9 with the field selected, or when you click Update Table on the References tab. The update prompt on opening is the setting that decides whether your exported PDF matches the document — and it can be turned off.
Select anywhere inside the TOC and press F9. Word asks whether to update page numbers only or the entire table. Choose "Update entire table" whenever heading text changed; choose "Update page numbers only" when only pagination shifted, which preserves any manual formatting inside the field. The second option is safe only if you never touched the text; if you renamed a heading and pick it, the old name stays in the TOC.
Check the update-on-open behavior at File > Options > Display, under "Update fields before printing." That checkbox refreshes fields when you print, which is why some users see correct numbers in a printed copy and stale numbers on screen. If it is cleared, Word prints whatever the field last showed. For any document headed to a PDF, press Ctrl+A then F9 before exporting — that refreshes every field in the document, including cross-references.
On a document with 40 headings, F9 takes about a second. On a 300-page manual with cross-references, fields across the whole file can take noticeably longer, and Word may appear frozen while it works. The time cost of a full update is trivial next to the cost of shipping a printed report where chapter 9 is labeled page 112 and actually sits on page 118.
Build a Manual Table of Contents When Styles Are Off the Table
Paste the manual TOC as plain text after copying, using Paste Special > Unformatted Text, so you do not drag heading formatting into the table. The manual route is the right call for a two-page memo where styling is overkill and for documents assembled from other people's files where headings are chaos. The tradeoff is maintenance: every page shift becomes your job, not Word's.
1: Insert a blank page where the TOC belongs and type "Contents" as a heading. 2: Type each section title on its own line, in reading order. 3: Set a right-aligned tab stop with dot leaders at the right margin: open the Paragraph dialog, click Tabs, type the position (6.5 inches on a letter page with 1-inch margins), choose Right alignment, choose leader option 2 (dots), and click Set. 4: Press Tab after each title, type the page number, and press Enter. 5: When pagination changes, fix each number by hand — or convert the document to the automatic method once the headings are styled.
Word's built-in manual table also exists: References > Table of Contents > Manual Table drops in a dummied table with placeholder entries built on content controls. Each entry is an editable box; clicking it selects the filler text so you can type over it. It's quicker to start than typing from scratch, but it behaves like a manual TOC — nothing updates, and deleting the placeholder instruction line at the top takes a few Tab-and-Delete strokes.
Fix "Error! Bookmark Not Defined" and Missing Entries
"Error! Bookmark not defined" appears when a TOC entry points to a bookmark that no longer exists. The common cause is copying a TOC field between documents: the field is copied, but the hidden bookmarks Word creates for each heading do not travel with it. The fix is not to hunt the bookmark. Select the TOC and run Update entire table, which rebuilds every entry and its bookmark from the current headings.
The second cause is tracked changes. A heading deleted with Track Changes on, then accepted, leaves the field pointing at a deleted bookmark until the next update. Accept all changes first, then press F9. If the error survives both steps, delete the TOC field entirely (select it, press Delete) and insert a fresh one from the gallery — the field is cheap to rebuild.
Missing entries almost always trace to unstyled headings, but there is a second, quieter cause: text inside a table or text box. A heading-styled paragraph in a text box does not appear in the TOC at all, because text boxes live outside the main document story. Move the title out of the box or accept its absence. Similarly, paragraphs formatted with the "Title" style are not included; Title is a cover-page style, not a heading level.
If a single subhead keeps vanishing, inspect its outline level. A Heading 2 style modified to carry Outline level "Body Text" drops out of the TOC. Open the Paragraph dialog on that paragraph and confirm the outline level reads Level 2. When in doubt, click inside the heading, open the Styles pane (Ctrl+Alt+Shift+S), and check which style is highlighted.
Change How Many Heading Levels the TOC Shows
The default automatic TOC shows three levels: Heading 1, Heading 2, and Heading 3, indented in a staircase. A 200-page technical manual that uses Heading 4 for every sub-subsection will produce a TOC four pages long, which reads as a bad table of contents rather than a thorough one. The level count is a dialog setting, changed in one place.
Click inside the TOC, then References > Update Table > Options, or right-click the TOC and choose Edit Field > Table of Contents > Modify. In the Table of Contents dialog, the "Show levels" box holds the number — 3 by default. Change it to 2 for a chapter-and-section TOC, or 4 if your readers need the depth. Confirm with OK, then answer Yes when Word offers to replace the current table.
The same dialog controls "Show page numbers" (turn it off for a web-only document where pagination is meaningless) and "Right align page numbers" with the Tab leader dropdown — choose dots, dashes, or a solid line. These settings live with the field, so they survive updates. Change them once and the TOC keeps the layout.
Each heading level maps to a TOC style: TOC 1 for level one, TOC 2 for level two, and so on. To reformat the TOC's look — a different font, tighter spacing, bold entries — modify the TOC styles in the Styles gallery, exactly as you would modify Heading styles. Direct formatting inside the field gets overwritten on the next update; style changes do not.
Customize the TOC Field for Styled-Only Entries and Hyperlinks
The Table of Contents dialog's Options button lets you build a TOC from something other than heading styles — a specific custom style, for instance, if your organization uses a "Section Title" style instead of Heading 1. The dialog lists every style in the document with a TOC level number beside it. Assign level 1 to Section Title, clear the number from Heading 1, and the TOC will harvest Section Title paragraphs instead.
Hyperlinks are the other field property worth knowing. In the same dialog, "Use hyperlinks instead of page numbers" turns each TOC entry into a clickable jump to its heading — the behavior you want in a Word document read on screen, and one that survives PDF export if you keep links enabled in the export options. The printed page number gives way to a clickable entry, so pick based on medium: hyperlinks for digital, page numbers for print, and both if the field allows it in your Word edition.
Two field limits catch people. A TOC cannot pull in paragraphs scattered across the body and a footnote, because only the main story is scanned. And a TOC field cannot include itself, so a "Contents" title you typed as Heading 1 above the field will appear as an entry — a self-referential mess that reads as "Contents … page ii" inside the table of contents. Style the title with the plain "Title" style or direct formatting instead.
Line Up Page Numbers Without Breaking the Front Matter
The usual complaint is that the TOC says chapter 1 starts on page 1, but the first printed page number sits on what is really page 4 of the file. Word's page numbers follow physical pages unless you insert a section break and restart numbering, and a TOC built before that adjustment will show the old numbers until you press F9.
1: Put the cursor after the front matter (cover, TOC) and insert a section break: Layout > Breaks > Next Page. 2: Click at the start of the body section, then Insert > Page Number > Format Page Numbers, choose "Start at" 1, and confirm. 3: Return to the TOC and press F9, choosing Update page numbers only if the heading text is unchanged.
This produces the standard report layout: front matter numbered i, ii, iii with roman numerals, body pages numbered 1, 2, 3, and TOC entries that match the printed body page. The roman-numeral step is the same Format Page Numbers dialog, with the number format dropdown switched to i, ii, iii before the body section restarts at 1. Do the numbering setup before you trust the TOC, because every restart changes the integers the field stores.
If the numbers still disagree, verify that the front matter and body are different sections. Insert > Page Number > Format Page Numbers applies to one section at a time; applying it to the whole document restarts numbering on the cover page and everything drifts.
Use Word's Built-In Heading Styles on Long Documents
For a book-length manuscript, the TOC is the least of the structure work. Heading styles drive the Navigation Pane, the outline that feeds the TOC, the bookmarks behind cross-references, and Word's ability to generate a PDF with a clickable outline. Getting them right at the start costs twenty minutes; retrofitting them into a 300-page file takes an afternoon. The TOC is a symptom of that structure — when the styles are right, the TOC is nearly free.
The practical pattern for long documents: define Heading 1–3 once in a template, then build the document from that template so every chapter starts with the styles already present. When collaborating, ask contributors to use the styles rather than formatting text, because merged documents with direct formatting produce TOCs with missing or duplicated entries. Word's Compare and Combine features can preserve styles if the source documents share a template.
Check the field's behavior on a copy first. A TOC inserted into a document with 500 headings and evaluated on a slow network drive can take several seconds to update, and a full-document F9 on a large file can stall Word long enough for a "Not Responding" state. If that happens, save, close, reopen, and update the TOC alone rather than pressing Ctrl+A then F9.
Compare Automatic and Manual Approaches
| Criterion | Automatic TOC (References gallery) | Manual TOC (typed or Manual Table) |
|---|---|---|
| Requires heading styles | Yes — Heading 1–9 by default | No |
| Updates page numbers after edits | Yes, via F9 or Update Table | No — edit by hand |
| Updates heading text after renames | Yes, with Update entire table | No — edit by hand |
| Survives copy into another document | Only after a full update rebuilds bookmarks | Yes, as plain text |
| Best for | Reports, theses, manuals over ~10 pages | Short memos, mixed-formatting files |
| Field error risk | "Error! Bookmark not defined" if copied | None |
The split rule: choose automatic whenever the document will be edited after the TOC is built, which is nearly every document longer than a few pages. Choose manual when the headings are so inconsistently formatted that restyling them would change the document's appearance beyond what anyone signed off on. Even then, treat manual as a stopgap — style the headings eventually, because an automatic TOC is the only version that stays correct without effort.
FAQ
Does a table of contents update automatically in Word?
No. The TOC is a field, and Word refreshes it only when you press F9, click Update Table, or open the document and answer Yes to the update prompt. The File > Options > Display setting "Update fields before printing" refreshes the field at print time if it's checked. For a PDF, select the whole document and press F9 before exporting so every field, including cross-references, carries the correct page numbers.
Why does my TOC say "No table of contents entries found"?
That message means Word scanned the document and found no paragraphs using Heading 1–9 or any style assigned a TOC level. It is not a corruption. Apply Heading 1 to your chapter titles from the Styles gallery, then click inside the TOC and run Update entire table. If entries still don't appear, check that the titles aren't inside text boxes, which Word's TOC scanner skips entirely.
Can I make a TOC without using heading styles?
Yes, through the manual route: type a Contents page, set a right-aligned tab stop with dot leaders, and add page numbers by hand — or use References > Table of Contents > Manual Table for placeholder entries built on content controls. You can also assign TOC levels to a custom style in the Table of Contents dialog's Options button, which lets a "Section Title" style feed the TOC without touching Heading styles.
How do I fix page numbers that don't match the printed pages?
Insert a section break (Layout > Breaks > Next Page) after the front matter, then set the body section's page numbering to start at 1 via Insert > Page Number > Format Page Numbers. Restart numbering only in the body section, not the whole document. After the numbering setup, select the TOC and press F9 with "Update page numbers only" to refresh the integers without disturbing heading text.
Why does my TOC show "Error! Bookmark not defined"?
The field is pointing at a bookmark that no longer exists, most often because a TOC was copied from another document without its hidden heading bookmarks. Select the TOC, run Update entire table, and Word rebuilds every entry and bookmark from the current headings. If tracked changes are open, accept or reject them first; a deleted-then-accepted heading leaves a dangling bookmark until the update.
Can I stop the "Contents" title from appearing inside the TOC?
Yes. The title above the field appears as an entry only if it carries a heading style. Format it with the plain "Title" style or direct formatting instead of Heading 1, and it drops out of the harvest. The same logic explains why a heading inside a text box never shows up: the TOC scanner covers only the main document story.
Does changing the TOC's font or spacing survive an update?
Only if you change the TOC styles — TOC 1, TOC 2, TOC 3 — in the Styles gallery. Direct formatting applied inside the field gets wiped when Word updates the table. Right-click the TOC style, choose Modify, and set the font, size, indentation, and spacing there, so every update regenerates the entries with your formatting intact.
How many heading levels should the TOC show?
Three is Word's default and suits most reports; drop to 2 for a document whose Heading 3 entries are too granular to help navigation, and raise to 4 only if readers need that depth. Change the count in the Table of Contents dialog's "Show levels" box, then confirm the replacement when Word offers it. A 200-page manual showing four levels typically produces a TOC several pages long, which costs more than it informs.