←Module 7
Lesson · 8 min

Table of Contents

Learn how to insert an automatic Table of Contents in Word using heading styles, and how to update it as your document changes.

By the end of this lesson you can

  • Insert an automatic table of contents built from heading styles
  • Update a table of contents after the document changes
  • Explain why heading styles are a prerequisite
  • Navigate a long document using the Navigation pane

Video

Watch the lesson video, then complete the reading and challenge.

Lesson Notes

Read through the key concepts before you try the challenge.

The table of contents is the payoff for using styles

On the job

You are finishing the staff handbook at Lakeside Medical Associates.

The handbook runs to eighty pages with forty sections, and it is revised every quarter. A hand-typed contents list would be wrong within a week of every revision — each edit shifts the page numbers below it.

Your task: Generate a contents list that rebuilds itself from the document's own headings.

An automatic table of contents scans the document for paragraphs styled Heading 1, 2, and 3, and builds an entry for each with its current page number. Nothing is typed manually, so nothing can drift out of date — you click Update Table and it is correct again.

This is why the styles lessons come first. If your section titles are merely bold 14-point text, Word has no way to identify them, and the contents list comes back empty. The heading styles are what make a heading a heading as far as Word is concerned.

Worked example

Building a contents list that maintains itself

Add a working table of contents to an eighty-page handbook and keep it accurate through quarterly revisions.

  1. 1

    Apply Heading 1 to each main section and Heading 2 to subsections throughout.

    This is the actual work, and everything else is one click. Use the Navigation pane as you go — it shows the outline Word can see, so a section missing from the pane is a section that will be missing from the contents.

  2. 2

    Place the cursor where the contents belongs, then References > Table of Contents > Automatic Table 1.

    Word inserts every heading with its page number. Choosing an automatic table rather than the manual one is what makes it updatable — the manual option inserts placeholder text you would have to maintain yourself.

  3. 3

    After any revision, click in the table and press Update Table > Update entire table.

    Page numbers only refreshes the numbers; entire table also picks up renamed, added, and deleted headings. After a real revision you always want the second option.

  4. 4

    Update once more immediately before printing or exporting to PDF.

    The table does not refresh on its own. A document edited and sent without a final update ships a contents list pointing at the wrong pages, which is worse than having none — readers trust it and are sent to the wrong place.

Result: A contents list that is correct after every revision, at the cost of one click.

Heading styles make the table possible; updating before you export keeps it honest.

How an Automatic TOC Works

Word builds an automatic Table of Contents by reading the heading styles (Heading 1, Heading 2, Heading 3) applied throughout your document. Each heading becomes a TOC entry with a page number. You must apply heading styles before inserting the TOC.

Applying Heading Styles

Click inside each section title and apply the appropriate heading style from the Home tab. Use Heading 1 for main sections, Heading 2 for subsections, and Heading 3 for sub-subsections.

Applying heading styles to document sections

Inserting a Table of Contents

Place your cursor at the location where you want the TOC (typically the beginning of the document). Go to References → Table of Contents and choose from the built-in Automatic Table styles.

Table of Contents button on References tab
Table of Contents gallery options
Inserted Table of Contents in the document

Navigating the Document Using the TOC

Hold Ctrl and click any entry in the TOC to jump directly to that section. This works in both editing mode and read-only view.

Ctrl+click navigation in the Table of Contents

Updating the Table of Contents

After editing your document, click anywhere inside the TOC and click Update Table. Choose Update page numbers only to refresh page numbers, or Update entire table to rebuild the TOC with any new headings.

Update Table button above the TOC
Update Table of Contents dialog

Removing the Table of Contents

Go to References → Table of Contents → Remove Table of Contents to delete it from the document. This does not remove the heading styles from your text.

Remove Table of Contents option

Knowledge Check

Check your understanding

What must you do before inserting an automatic Table of Contents?

Practice File

Download this file and follow along with the lesson.

Challenge

Apply what you've learned in this lesson.

Complete the following tasks:

  1. Open the practice document and apply Heading 1 to three main section titles.
  2. Apply Heading 2 to at least two subsection titles.
  3. Place your cursor on the first page and insert an Automatic Table 1 TOC.
  4. Ctrl+click a TOC entry to navigate to that section.
  5. Add a new heading in the body text, then update the entire TOC to reflect it.

Finished this lesson?

Progress is saved in this browser only. It is not a grade — official progress lives in Brightspace.