How To Add a Table of Contents in Word (And Make It Actually Work)

A table of contents isn't just a formatting nicety — it's a navigation tool that helps readers jump through long documents and signals to anyone skimming that your work is organized. Microsoft Word can build one for you automatically, but how well it works depends almost entirely on how your document is set up before you insert it.

What a Word Table of Contents Actually Does

When you insert a table of contents in Word, you're not manually typing page numbers and section titles. Word scans your document for heading styles — specifically the built-in Heading 1, Heading 2, and Heading 3 styles — and uses those to generate the TOC automatically, complete with page numbers.

This is the critical thing most people miss: the TOC reflects your styles, not your text. If your chapter titles are just bold regular text, Word won't pick them up. The automatic TOC only works when you've applied proper heading styles throughout the document.

Step 1: Apply Heading Styles to Your Document

Before you insert anything, make sure your document uses Word's built-in heading styles.

  • Highlight a section title
  • In the Home tab, look for the Styles group on the ribbon
  • Click Heading 1 for top-level sections, Heading 2 for subsections, Heading 3 for sub-subsections

You can modify what those headings look like without breaking the TOC — change the font, size, or color through the Styles pane. What matters is that the structural tag (Heading 1, 2, 3) is applied, not the visual appearance.

Step 2: Insert the Table of Contents

Once your headings are in place:

  1. Click to place your cursor where you want the TOC — typically at the very beginning of the document, before the main content
  2. Go to the References tab in the ribbon
  3. Click Table of Contents
  4. Choose from the built-in styles: Automatic Table 1, Automatic Table 2, or Manual Table

Automatic Table 1 labels the section "Contents." Automatic Table 2 labels it "Table of Contents." Both pull from your heading styles automatically. Manual Table gives you a template to fill in yourself — useful in edge cases, but generally more work for less accuracy.

Step 3: Update the TOC When You Edit

This trips up a lot of people. The TOC is not live — it's a snapshot of your document at the moment you inserted it. If you add sections, move content, or change headings later, you need to update it manually.

To update:

  • Click anywhere inside the TOC
  • A toolbar appears at the top — click Update Table
  • Choose Update page numbers only (if you only added text) or Update entire table (if headings changed)

You can also right-click the TOC and select Update Field from the context menu.

Customizing the Table of Contents 🎛️

Word gives you meaningful control over how the TOC looks and what it includes.

OptionWhere to Find ItWhat It Controls
Number of heading levelsReferences → TOC → Custom TOCShow 1, 2, or 3 levels deep
Tab leader styleCustom TOC → OptionsDots, dashes, lines, or none between title and page number
Page number alignmentCustom TOCRight-align or remove page numbers
Show/hide page numbersCustom TOCToggle page numbers on or off
Which styles are includedCustom TOC → Options → TOC LevelsMap non-standard styles to TOC levels

To access these settings, go to References → Table of Contents → Custom Table of Contents instead of choosing one of the presets.

Adding Non-Heading Content to the TOC

If you have text formatted with a custom style — say, a "Chapter Title" style you created yourself — you can still include it in the TOC. In the Custom Table of Contents dialog, click Options, and you'll see a list of styles in your document. Assign a TOC level number (1, 2, or 3) to any style you want included.

Alternatively, you can mark individual pieces of text using TC fields (Insert → Quick Parts → Field → TC), but this is a less common approach suited to very specific formatting situations.

Common Reasons the TOC Looks Wrong

  • Headings missing from the TOC: The text wasn't tagged with a heading style — it just looks like one
  • Wrong page numbers: The TOC hasn't been updated after recent edits
  • Too many or too few levels: The Custom TOC level setting needs adjusting
  • TOC showing up mid-document: The cursor was in the wrong position at insertion
  • Heading 1 not appearing: Some templates suppress Heading 1 in the TOC by default — check the TOC Options dialog

How Word Version and Platform Affect the Process 💻

The steps above apply to Word for Windows and Word for Mac with a Microsoft 365 subscription or standalone Office 2016 and later. The ribbon layout and options are nearly identical across both platforms.

Word for the web (the browser-based version) has a simplified interface — you can insert a basic TOC, but the customization options are more limited than the desktop app. If you're working on a complex document with multiple heading levels and custom styles, the desktop version gives you considerably more control.

Word on mobile (iOS and Android) lets you view and edit documents with existing TOCs, but building or fully customizing one from scratch is constrained by the mobile interface.

The version you're working with — and whether your document was originally built with consistent heading styles — shapes how smooth or frustrating the TOC process will be. A well-structured document from the start makes the whole thing nearly automatic; a document with inconsistent or manual formatting means cleanup work before the TOC will behave the way you expect.