Word can generate a table of contents automatically from your headings

A table of contents in Word pulls directly from the headings you've already formatted in your document. You don't type it manually. Instead, you mark text as Heading 1, Heading 2, or Heading 3, then tell Word to build the table from those headings. Word creates a clickable list that updates itself if you add, remove, or rename headings later.

The table appears wherever you place your cursor — usually at the start of a document, after a title page. Word can rebuild it in seconds if your document changes, so you only set it up once.

Key Takeaways

  • Format your document headings using Word's built-in Heading 1, Heading 2, and Heading 3 styles before you create the table of contents.
  • Place your cursor where you want the table to appear, then use the References tab and select Table of Contents to insert it.
  • Word generates the table from your headings automatically, and you can update it with one click if you change your document later.
  • The table becomes clickable in reading mode or when you hold Ctrl and click a heading — readers can jump directly to sections.

Format your headings before you build the table

Word's table of contents reads only text formatted as headings. If you've written your document but haven't marked the sections yet, do that first. Select the text you want as your first main heading, then go to the Home tab and click the Heading 1 style in the Styles group. Repeat for each major section.

For subsections under a heading, select that text and apply Heading 2. If you have sections under those, use Heading 3. Don't skip levels — go from Heading 1 to Heading 2, not from Heading 1 to Heading 3. Word uses the hierarchy to build the table structure, and skipping levels can create an uneven list.

You can format headings as you write or go back through a finished document and apply styles to existing text. Either way, the table of contents won't appear until you insert it in the next step.

Insert the table of contents from the References tab

Click where you want the table to appear — usually near the beginning of your document, on its own page. Go to the References tab at the top of the ribbon. In the Table of Contents group, click Table of Contents. Word shows you several layout options: Automatic Table, Manual Table, and a few pre-designed formats.

Click Automatic Table (the first option). Word scans your document for all text formatted as Heading 1, Heading 2, or Heading 3, then inserts a formatted list with page numbers. The table appears instantly. If you haven't formatted any headings yet, the table will be empty or show a message asking you to mark headings first.

The Manual Table option is rarely needed — it's for documents where you want to type the table yourself instead of letting Word build it. Stick with Automatic Table for most documents.

Update the table when your document changes

After you insert the table, you can still add, remove, or rename headings in your document. The table won't update on its own. Right-click the table of contents and select Update Field. Word rescans your document and rebuilds the list to match your current headings and page numbers.

You can also click anywhere in the table and press F9 on your keyboard to update it. If you've only changed page numbers but not heading text, Word updates those numbers without changing the structure. If you've added new headings, they appear in the table in the correct position.

Some readers find it helpful to update the table just before printing or sharing a document, so the page numbers are accurate.

Make the table clickable for readers

In Word's reading mode or when someone opens your document in a PDF reader, the table of contents becomes clickable. Hold Ctrl and click any heading in the table to jump to that section in the document. This works in Word itself and in most PDF readers if you save the document as a PDF.

Readers don't need to do anything special — the links are built in. If you're sharing the document as a Word file, the links work in Word. If you convert it to PDF, most PDF readers preserve the links, though some older readers may not support them.

Choose a table of contents style that fits your document

When you click Table of Contents on the References tab, Word shows you several pre-designed layouts. The Automatic Table options differ mainly in appearance — some show page numbers on the right, some on the left, some use dots between the heading and page number. Pick whichever matches your document's style.

You can also customize the table after it's inserted. Right-click it and select Modify. This opens a dialog where you can change the font, spacing, and indentation of each heading level. Most documents work fine with Word's default styles, but customizing is useful if you need the table to match specific formatting rules.

Delete or replace the table if you need to start over

If you insert a table of contents and later decide you want a different style, click the table and press Delete. Word removes it completely. You can then insert a new one using a different layout from the Table of Contents menu.

If you've customized a table and want to go back to Word's default, delete it and reinsert it. There's no undo button for table customization, so starting fresh is often faster than trying to reverse changes.

Frequently Asked Questions

Why does my table of contents show "Error! No table of contents entries found"?

This means your document has no text formatted as Heading 1, Heading 2, or Heading 3. Go back through your document and apply heading styles to the sections you want in the table. Then right-click the table and select Update Field. Word will rebuild it with your headings.

Can I include text that isn't a heading in the table of contents?

Not automatically. The table reads only heading styles. If you want certain text in the table but don't want it to look like a heading, you can create a custom style that looks like body text but tells Word to include it in the table. This is advanced and rarely necessary — most documents work fine with standard headings.

What happens to the table if I move headings around in my document?

The table doesn't move automatically. If you cut and paste a heading to a new location, right-click the table and select Update Field. Word rescans the document, finds the heading in its new location, and updates the table with the correct page number.

Can I delete a heading without breaking the table of contents?

Yes. If you delete a heading from your document, the next time you update the table, that heading disappears from the list. Right-click the table and select Update Field, and Word removes the deleted entry. The remaining headings stay intact.

Does the table of contents work if I save the document as a PDF?

Yes, the links usually work. When you save a Word document as a PDF, most PDF readers preserve the table of contents links. Readers can click a heading in the table to jump to that section. Some older PDF readers may not support this, but most modern ones do.