Microsoft Word builds a table of contents from whatever paragraph styles you've marked as headings, so the fastest path on both Windows and Mac is to apply Heading 1–3 styles, place your cursor where the TOC should sit, and click References > Table of Contents > Automatic Table 1 or 2. The manual and custom methods exist for documents where you want typed entries or partial heading levels, but neither auto-updates when your page count shifts. Everything below maps to Word 2016, 2019, 2021, 2024, and Microsoft 365 on desktop; the web version can insert a TOC but can't update it.

The Three Methods Word Actually Offers — and Which One Fits Your Document

Word doesn't have one TOC feature. It has three distinct tools that share a menu, and users who complain "the TOC won't update" almost always picked the wrong one. The automatic method (Insert Table of Contents with heading styles) is the only version that stays in sync with your pages. The custom method (Custom Table of Contents dialog) reuses the same style-driven fields but lets you cap the depth at Heading 2 or alter tab leaders. The manual method (typed entries with or without hyperlinks) is what Word gives you when the document has no heading structure — a contract you're formatting from a colleague's draft, for example.

Method Menu path Updates automatically? Page numbers correct after edits? Best for
Automatic References > Table of Contents > Automatic Table 1 or 2 Yes, via Update Table (F9) Yes, after update Long reports, theses, anything over five pages
Custom References > Table of Contents > Custom Table of Contents Yes, with same Update Table step Yes, after update Documents that need only Heading 1–2 shown
Manual References > Table of Contents > Manual Table No No — typed numbers drift Short documents with no heading styles
Hyperlinked manual Insert > Link > Place in This Document No page numbers; click jumps Not applicable Screen-reader-first exports, digital-only PDFs

The manual table looks polished for about ten minutes. The moment you add a paragraph on page 2, every typed page number below it is wrong, and Word will not fix it because there are no fields to refresh. That's the failure case the built-in Help articles underplay.

Set Up Heading Styles Before You Touch the References Tab

The single biggest reason a table of contents comes out blank is that the writer formatted headings with bold text or a larger font size instead of applying a Heading style. Word's TOC field reads the style name, not the visual appearance. If your document shows bold blue titles that look like headings, select each one, open the Styles gallery on the Home tab, and click Heading 1, Heading 2, or Heading 3. The formatting will change; you can restyle the Heading styles afterward to recover your original look, and the TOC will still work because the style name is intact.

Use Heading 1 for chapter titles only. Heading 2 for sections, Heading 3 for subsections. Don't skip levels — a Heading 3 under a Heading 1 with no Heading 2 in between renders an odd indentation in the default TOC and confuses Word's Navigation Pane on the left side of the window. If your chapter titles sit inside section breaks or a cover page, verify they aren't set to "Body Text" or a normal paragraph mark.

For documents converted from PDF or pasted from Google Docs, headings often arrive as direct formatting (bold, 16 pt) rather than styles. Select one such heading, right-click, choose Styles > Save Selection as a New Quick Style, name it, then select all sibling headings with Ctrl+click and apply the style. That single rebuild takes under two minutes and saves you from a broken TOC later.

Insert the Table of Contents in Four Clicks

Follow these in order — the position of the cursor matters more than most tutorials admit.

1: Click at the exact point where the TOC should begin, usually after the title page and before Chapter 1. If the cover page and body share a section, the TOC will land on the cover. Insert a section break (Layout > Breaks > Next Page) first if you want the TOC on its own page. 2: On the References tab, click Table of Contents in the Table of Contents group. 3: Pick Automatic Table 1 (headings "Contents" and shows Heading 1–3) or Automatic Table 2 (headings "Table of Contents" and shows the same levels). The visible difference is the heading text and the tab style. 4: Click inside the TOC, then press F9 on Windows or Command+Option+Shift+U… wait, on Mac it's right-click > Update Field > Update entire table. The field populates with the entries and page numbers.

If the TOC appears with the message "No table of contents entries found," Word saw zero Heading 1–3 paragraphs in the document — return to the style setup step. If only some chapters appear, one of them is styled as Normal, not Heading 1.

Once inserted, the TOC is a field. Deleting a single line removes only that entry in the current view and the field regenerates it on the next update. To remove the whole thing, click the "Table of Contents" heading Word inserted, then press the Table of Contents button > Remove Table of Contents on the References tab.

Update Page Numbers After Edits With Two Keystrokes

Click anywhere inside the TOC and press F9 (Windows) or Fn+F9 on laptops with function-locked keys. Word opens a small dialog with two options: "Update page numbers only" and "Update entire table." Choose the second one when you've added or renamed headings. Choose the first when you've only pushed text to later pages and want to preserve manual formatting tweaks inside individual entries. The dialog's default radio button is "Update page numbers only" — leaving it selected is a common source of "my new chapter isn't showing" complaints.

On Mac Word (version 16.x), the shortcut is Control+click (or right-click) inside the TOC > Update Field > Update entire table. The F9 key alone does nothing on Mac because macOS claims it for Exposé or screen brightness depending on your keyboard.

Set the document to prompt for updates on print: File > Options > Display > check "Update fields before printing." That single checkbox prevents the classic embarrassment of shipping a PDF where page 47 is labeled page 44. The setting applies per-document and travels with the file, so a colleague opening it on another machine inherits the behavior. It doesn't apply to Save as PDF unless you print through the virtual PDF printer, so verify the exported file, not just the on-screen view.

The automatic styles show Heading 1 through Heading 3 by default. Many corporate reports only want two levels, and doctoral dissertations often require three or four with specific indent values. Open References > Table of Contents > Custom Table of Contents to change that. Set "Show levels" to 2, 3, or 4 — Word accepts up to 9, though anything past 4 renders unusably dense in print. The Tab leader dropdown controls whether dots, dashes, or a solid line connect the entry text to the page number on the right margin. The default is dots.

On the same dialog, the "Use hyperlinks instead of page numbers" checkbox turns each entry into a clickable jump. Leave it on for files distributed as PDF or read on-screen; uncheck it for print where hyperlink styling sometimes survives to the page. Microsoft's own documentation on the Custom Table of Contents dialog notes that hyperlink destinations survive PDF export in Word 2016 and later. The Formats dropdown offers templates like "Distinctive," "Fancy," "Modern," and "Formal" — clicking one previews it in the Print Preview pane on the right side of the dialog before you commit.

To customize fonts and spacing beyond the presets, click Modify in the same dialog and edit the TOC 1, TOC 2, and TOC 3 styles. Changing TOC 1's font also changes Heading 1 entries' indentation and left tab position for every automatic TOC in the document, so reserve that step for the end of the process, after the headings themselves are final.

Why Your TOC Shows "Error! Bookmark Not Defined" or Blank Rows

Three failure patterns account for almost every broken TOC in circulation. First, the "Error! Bookmark not defined" message appears when Word's internal bookmarks (which link TOC entries to headings) have been deleted — usually because someone copied a chapter from another document and Word dropped the hidden bookmarks during paste. Fix: select the affected heading, cut it, paste it back as "Keep Source Formatting," then reapply the Heading style; the bookmark regenerates on the next update.

Second, an empty TOC after pressing F9 usually means the cursor was placed outside the field when you pressed the key. Word updates whatever field the cursor is inside; clicking in the white space to the right of an entry may land outside. Click directly on the words of any entry line, then update.

Third, TOC entries that list the TOC itself happen when the TOC title ("Contents") uses a Heading style. Style the title as a custom style like "TOC Heading" (Word inserts that style automatically for the Automatic tables) rather than Heading 1. If you typed your own title above a manual TOC, apply Normal or a dedicated style. Similarly, captions, table titles, and appendix labels sometimes arrive as Heading 3 through inherited templates — audit them with the Navigation Pane before updating.

Keyboard Shortcuts and the Navigation Pane Are Faster Than the Ribbon

The References tab is fine for inserting the field once. After that, the Navigation Pane (View > check Navigation Pane, or Ctrl+F then click the Pages tab… actually the Headings tab) is the fastest way to verify that Word sees your headings. Open it, click View > Navigation Pane, then click the Headings tab at the top of the pane. Every Heading 1–9 paragraph in the document appears as a collapsible outline. If a chapter is missing from the pane, it's missing from the TOC too — fix the style before retrying the insert.

Two shortcuts earn their keep:

Alt+S, then T doesn't insert a TOC (common myth); instead, Ctrl+Home followed by the References tab is the reliable insertion route. The real useful shortcut is Ctrl+click on a TOC entry to jump to that heading — that works inside the TOC field without any setup. Alt+Shift+Left arrow and Alt+Shift+Right arrow promote and demote a selected paragraph through the Heading 1 through Heading 9 ladder, which is faster than the Styles gallery for bulk cleanup.

For Mac users, the equivalent promote/demote shortcut is Control+Shift+Left/Right arrow. Word for the web can insert a TOC (References > Table of Contents) but the update button has been unreliable in past Office Online builds; Microsoft's support documentation recommends using the desktop app for documents with more than a handful of headings, especially anything with section breaks.

Making the TOC Survive PDF Export, Google Docs, and Shared Editing

Export to PDF via File > Save As > PDF flattens fields, so the TOC becomes static text with working hyperlinks (if you enabled them) but no update capability. That's normally what you want in a delivered PDF. If you re-edit the .docx afterward and re-export, update the field first — printing through File > Print with "Update fields before printing" checked catches this automatically.

Pasting into Google Docs strips Word's TOC field entirely; Google Docs rebuilds its own TOC and recognises Word's Heading 1–3 styles only if they survived the paste. Round-tripping back into Word is worse: the Google Docs TOC arrives as plain text, not a field. For teams that swap documents between the two, keep a master .docx with the real TOC field and treat Google Docs as an export destination only.

The "Keep with next" paragraph setting on headings prevents a heading from stranding at the bottom of a page with its body on the next one. That's a paragraph property, not a TOC property, but it changes page numbers and therefore the TOC's accuracy. Apply it to all Heading 1–3 styles via Modify > Format > Paragraph > Line and Page Breaks > Keep with next. For long reports, also enable "Page break before" on Heading 1 so every chapter starts on a fresh page — the TOC will then reflect the chapter starts exactly.

FAQ

What's the difference between Automatic Table 1 and Automatic Table 2?

Automatic Table 1 inserts "Contents" as its visible heading and shows Heading 1 through 3 in a simple indented list. Automatic Table 2 inserts "Table of Contents" as its heading and uses the same three levels but a slightly different tab style. Beyond cosmetics, both create identical TOC fields that update with F9. Pick whichever heading text matches your document's conventions, or rename the inserted heading — the field ignores the title.

Why does my TOC show only some of my headings?

Word reads text styled explicitly as Heading 1, Heading 2, or Heading 3 — bold or large text without that style is invisible to the field. Select each missing heading, apply the appropriate Heading style from the Home tab's Styles gallery, return to the TOC, click inside it, and press F9 > Update entire table. Documents pasted from PDFs or other editors frequently lose style links, so reapply them rather than wondering why the TOC is "broken."

Can I put the TOC on its own page without a numbered page in front of it?

Yes — insert a section break (Layout > Breaks > Next Page) after your cover page, create the TOC in the new section, then click the page number in the footer and choose "Link to Previous" to break the link so the TOC page can use a different numbering scheme (often roman numerals, i, ii). Word's page-number fields honor the section's numbering, and the TOC displays whatever number the field shows, so a TOC using roman numerals in a preface section is fully supported.

Will the TOC update automatically if I add a new chapter?

No. Word's TOC is a field, not a live view. Adding a chapter and applying Heading 1 makes it eligible, but the TOC won't show it until you click inside the field and update. Enable File > Options > Display > Update fields before printing and the update happens on every print or PDF export. Users who skip that setting and hand off the .docx are the source of most "the TOC is wrong" support tickets in shared-editing environments.

Does the TOC work in Word for Mac and Word for the web?

Word for Mac (version 16 and later) supports the full TOC feature set with the same References tab. Word for the web (Office Online) can insert a TOC and render existing fields, but the update action has been reported as unreliable in some browser sessions; Microsoft's support documentation suggests opening the file in the desktop app for documents with more than a few headings. If you only ever edit in the browser, expect to manually delete and reinsert the TOC after major restructuring.

How do I remove a TOC without leaving a blank page or stray heading?

Click any entry inside the TOC, then click References > Table of Contents > Remove Table of Contents. That removes both the field and the "Contents" heading Word inserted. If you typed your own title, delete it separately. If a blank page remains, click it and check for an empty paragraph mark — Word sometimes leaves one after a section break; select it and delete. Removing a TOC does not affect the heading styles themselves, so the document's Navigation Pane still works.

Can I make the TOC show page numbers without dots (tab leaders)?

Open the Custom Table of Contents dialog (References > Table of Contents > Custom Table of Contents) and set the Tab leader dropdown to "(none)." The dialog also lets you drop "Show levels" from 3 to 2, which is the common corporate finish. If you want a different leader per level (dots for Heading 1, none for Heading 2), you need to modify the TOC 1 and TOC 2 styles directly through Modify > Format > Tabs and clear or add the leader on each level's tab stop.

Why does the same TOC print with different page numbers on a colleague's machine?

Font substitution changes line breaks, which changes page counts. If your colleague's PC lacks the font you used for body text, Word substitutes one with different metrics and the document reflows to a different total page count. The TOC field updates on their machine only if they update it — which means their copy of the file can show numbers that match neither your original nor their printout. Embed fonts via File > Options > Save > Embed fonts in the file, and the discrepancy typically disappears.