Skip to content
DocumentTaskLab

Word · Long documents

Create a table of contents in Word that updates itself

Written November 16, 2026 · Edited November 17, 2026

A hand-typed contents list is wrong the moment anything moves — and something always moves. Word's automatic table of contents is built from your headings instead: style the headings once, insert the table, and after any edit one update rebuilds the entries and the page numbers. This guide does it in that order.

What you need

Step 1: Style the headings first

  1. Apply Heading 1 to each top-level title. Click in a chapter or section title — no need to select the whole line — and choose Home > Styles > Heading 1. Repeat for every top-level section.
  2. Apply Heading 2 and Heading 3 to the levels below. Subsections take Heading 2; sub-subsections, Heading 3. Keep the ladder honest: a Heading 3 that sits directly under a Heading 1 with no Heading 2 between will look lost in the finished table.
  3. Fix the heading look in the style, not heading by heading. If the colour or size of Heading 1 is not to your taste, right-click the style in the Styles gallery and choose Modify. Every heading in the document follows the style, so one change restyles them all — and the table of contents keeps working, because it reads the style, not the look.

Step 2: Insert the table

  1. Put the cursor where the table belongs. Usually its own page after the title page: click at the top of a blank page, or insert a page break where the table should start.
  2. Insert an automatic table. Go to References > Table of Contents and choose one of the Automatic styles. Word builds the entries from your styled headings, with page numbers and clickable links. Pick an automatic style, not the manual one — a manual table is a typed list wearing a table's clothes, and it never updates.
  3. Read it once against the document. Every section you expect should appear, at the right level of indent. A missing entry almost always means that heading never got a heading style in Step 1.

Step 3: Update it after edits

  1. Update before every send-out. Right-click the table and choose Update Field, or click into the table and use References > Update Table.
  2. Choose the right kind of update. Word asks: Update page numbers only is the fast choice when no headings were added, removed or reworded. Update entire table rebuilds the entries as well — use it whenever headings changed, and use it before printing even if you think they did not.
  3. Update twice if the document moved a lot. Adding the table itself, or a big edit near the front, can shift page numbers while the update runs. A second update settles the numbers: if the first update changes the pagination, update again so the numbers are right.

Step 4: Adjust the look without breaking it

End state

When it goes wrong

Related document tasks

Sources

  • Microsoft Support, Insert a table of contents — heading styles as the basis of the table, inserting an automatic style, and updating with Update Field.
  • Microsoft Support, Add a table of contents — adding heading styles, choosing a format, and updating again when pagination changes.