Home / Software / Microsoft / Microsoft Word / How to Create a Table of Contents in Word

How to Create a Table of Contents in Word

A table of contents at the start of a long document makes it far easier to navigate — for you when editing, and for anyone who receives the finished document. Microsoft Word can build one for you automatically, and it takes about 30 seconds once your document is properly set up. The catch is that it only works if you’ve used Word’s built-in heading styles. If you’ve been making text bold or changing font sizes manually to create the appearance of headings, the automatic table of contents won’t pick them up. This guide explains the right way to do it from scratch, or how to retrofit it to an existing document.

Why Automatic Beats Manual Every Time

Typing a table of contents manually means you have to keep it up to date yourself every time page numbers shift or headings change. That means it’s almost always slightly wrong. Word’s automatic table of contents updates with a single click, reflects your exact heading text, and gets page numbers right every time. For any document longer than five or six pages, it’s worth doing properly.

Step 1: Apply Heading Styles to Your Document

Heading styles are what Word uses to build the table of contents. They’re found in the Home tab in the Styles group — you’ll see boxes labelled Heading 1, Heading 2, Heading 3, and so on.

The hierarchy works like this:

  • Heading 1 — top-level sections (e.g. Introduction, Chapter 1, Background)
  • Heading 2 — subsections within those (e.g. 1.1, 1.2)
  • Heading 3 — sub-subsections if needed

To apply a heading style, click anywhere on the line of text you want to make a heading (you don’t need to select all of it), then click the appropriate Heading style in the Styles group. The text will change to match that style’s formatting.

Work through your entire document applying Heading 1 to your main section titles, Heading 2 to subsection titles, and Heading 3 to anything deeper. For most documents, two levels is plenty.

Applying Heading Styles Without Changing the Look

Some people avoid heading styles because they don’t like the default formatting — Heading 1 might be a large blue font that doesn’t suit their document. The solution is to modify the style rather than avoid it. Right-click the Heading 1 box in the Styles group, choose Modify, and adjust the font, size and colour to match your document’s design. Do this before applying the style and your headings will look exactly how you want, while still working correctly with the table of contents.

Step 2: Insert the Table of Contents

Once your headings are in place, click at the very beginning of your document — before your first heading — and press Enter to create a blank line if needed. Position your cursor where you want the table of contents to appear (typically the top of the document, or after a title page).

Go to the References tab and click Table of Contents on the left side of the ribbon. A dropdown menu appears with several built-in styles:

  • Automatic Table 1 and Automatic Table 2 — both create a full table of contents; the difference is the heading used above the list (“Contents” vs “Table of Contents”)
  • Manual Table — inserts a placeholder you fill in yourself; don’t use this unless you have a specific reason

Click Automatic Table 1 or 2. Word scans your document, finds every Heading 1, 2 and 3, and builds the table of contents with correct page numbers. It appears at your cursor position.

Step 3: Update the Table of Contents After Making Changes

The table of contents doesn’t update in real time. Every time you add, remove or rename headings — or if page numbers change because you’ve added or removed text — you need to refresh it manually.

Click anywhere inside the table of contents. A grey box appears around it, and an Update Table button appears at the top. Click it. Word asks whether you want to update page numbers only, or update the entire table. Choose Update entire table to pick up any new or renamed headings. Page numbers only is quicker but won’t reflect any changes to heading text.

You can also right-click anywhere in the table of contents and choose Update Field from the context menu — this does the same thing.

Get into the habit of updating the table of contents as the last thing you do before saving the final version of a document.

Changing How Many Heading Levels Appear

By default, Word includes Heading 1, 2 and 3 in the table of contents. For many documents that’s too detailed. To change this, go to References > Table of Contents > Custom Table of Contents at the bottom of the dropdown menu.

In the dialog box, change the Show levels number to 1 (for top-level headings only) or 2 (for two levels). Click OK. Word will ask if you want to replace the existing table of contents — click Yes.

Customising the Appearance

The same Custom Table of Contents dialog gives you control over formatting:

  • Tab leader — the dots between the heading text and the page number. You can change these to a line, a dash or nothing at all.
  • Formats — choose from several built-in visual styles (Classic, Distinctive, Formal, etc.) or keep the default which inherits your document’s Normal style.
  • Right align page numbers — keep this ticked for a professional look.

For more control over individual entries, you can modify the TOC 1, TOC 2 and TOC 3 styles directly. These are the paragraph styles Word applies to each level of the table of contents. Find them in the Styles pane (click the small arrow at the bottom-right of the Styles group on the Home tab), right-click and choose Modify to change font, size, indent or spacing.

Troubleshooting: Heading Not Showing Up in the Table of Contents

The heading style isn’t applied

Click on the heading text and look at the Styles group on the Home tab. If it shows Normal, Body Text, or anything other than Heading 1/2/3, the style hasn’t been applied. Click the correct heading style to fix it, then update the table of contents.

The heading appears at the wrong level

Check which heading style is applied. A Heading 2 will indent under a Heading 1. If the hierarchy looks wrong, click the heading and change it to the correct level in the Styles group.

The table of contents isn’t updating after changes

Remember to update it manually — it won’t refresh automatically. Click inside the table and press F9, or use the Update Table button. If you print without updating first, the printed copy may have wrong page numbers.

Body text is appearing in the table of contents

This usually means a paragraph has accidentally been assigned a heading style. Click on the offending text, check its style in the Styles group, and change it back to Normal. Then update the table of contents.

Quick Tips

  • The table of contents entries are clickable links when viewing the document on screen — hold Ctrl and click to jump to that section.
  • If you’re creating a PDF from your Word document, the table of contents links carry over to the PDF, making it easy to navigate.
  • Press Ctrl + Home after following a link in the table of contents to jump back to the top of the document.
  • You don’t need to include every heading level — a one-page summary section at the top might only need Heading 1 entries in the ToC even if the document uses three heading levels throughout.

Sign Up For Daily Newsletter

Stay updated with our weekly newsletter. Subscribe now to never miss an update!

[mc4wp_form]

Leave a Reply

Your email address will not be published. Required fields are marked *