How to insert an automatic table of contents in Microsoft Word

You will build a table of contents in Word that updates itself, so page numbers stay correct after edits. It suits anyone writing reports, theses or long documents. You need your headings formatted with Word's built-in Heading styles first.

YouTube video: How to insert Table of Contents in Word (Step by Step) | Microsoft Word Tutorial: Table of content

Captions are available. Use CC in the YouTube player.

Other videos for this task

Video length
8 min 5 s
Time to do it
10 minutes
Difficulty
Easy
Steps
6

What you need

Steps

  1. Open your document and select each chapter title. Apply a Heading style from the Styles gallery on the Home tab, such as Heading 1 for main sections and Heading 2 for subsections.

  2. Click at the start of the document where the table of contents should go, usually on its own page after the title page.

  3. Go to the References tab and click Table of Contents in the Table of Contents group.

  4. Pick Automatic Table 1 or Automatic Table 2 from the menu. Word inserts the entries with page numbers and dot leaders.

  5. To change the look, click Table of Contents again and choose Custom Table of Contents. Set how many heading levels to show and tick Show page numbers.

  6. After you add or remove content, click the table of contents and press Update Table. Choose Update entire table to refresh all entries and page numbers.

Tips and common mistakes

If a title is missing from the table, it is probably formatted as plain text instead of a Heading style.

Press F9 with the table selected to update it quickly.

Use the Custom Table of Contents dialog to add or remove the dot leaders between text and page numbers.

Questions

Why does my table of contents show no page numbers?

The page numbers option is likely unticked. Open Custom Table of Contents and tick Show page numbers.

Can I update the table without rebuilding it?

Yes. Click the table and choose Update Table, then Update entire table. The entries and page numbers refresh in one click.

Does this work in Word Online?

Word for the web can insert a table of contents from the References tab, but options are more limited than in the desktop app.

The notes are drafted automatically from video details and general task knowledge. How the guide was prepared

Report a correction

More in Apps & Software

See all