Thousands of licences delivered

How to Create an Automatic Table of Contents in Word

MBMira Bakker· Microsoft specialistLast updated: 12 July 2026· 8 min read
Quick answer

Creating a table of contents in Word is done in three steps: use the heading styles Heading 1, Heading 2 and Heading 3 for your titles, place the cursor where you want the table of contents and choose References, Table of Contents, Automatic Table. If you change the text, update the table with F9 so that page numbers and titles are correct again.

A laptop on a low table in front of a grey sofa, a blue tinted report with bar charts and a doughnut chart on screen

An automatic table of contents works with heading styles, not manual formatting

Word builds a table of contents from the headings in your document. It recognises those headings by the built-in styles: Heading 1 for chapters, Heading 2 for sections, Heading 3 for sub-sections. If you simply make a title larger and bold, it remains invisible to the table of contents. The style is the link between your text and the table, and without that link Word does not know what a title is.

That system has a second advantage beyond the table of contents. Heading styles also populate the Navigation Pane (via the View tab, tick Navigation Pane), allowing you to jump through long documents with a click. They also define the document structure that screen readers and PDF readers use. If you apply the styles properly, you get the table of contents almost for free and make the document more accessible at the same time.

A manually typed table of contents, where you type in titles and page numbers yourself, goes wrong after every change. If a chapter shifts a page, every number below it no longer matches. The automatic version solves that because Word calculates the numbers itself. So invest in proper heading styles first; it pays off with every revision of your document.

If you want numbered chapters (1, 1.1, 1.2), link a multilevel list to your heading styles via Home > Multilevel List > Define New List Level. Word then automatically numbers the headings and carries those numbers into the table of contents. This too only works if your titles carry the heading styles, so the style remains the foundation of everything.

A tidy white room with a wooden top on trestles, a monitor and a laptop carrying the same desert image, a loose keyboard and a black rucksack on the floor
Headings with the correct style form the basis of every automatic table of contents.

Apply the correct heading styles everywhere first

Before you insert anything, give each title the appropriate style. Select a title, go to the Home tab, and in the Styles gallery click Heading 1, Heading 2 or Heading 3. Use the levels consistently: chapter titles get Heading 1, sections below them get Heading 2, and detail headings get Heading 3. Do not skip a level, as a Heading 3 directly beneath a Heading 1 disrupts the hierarchy in the list.

If you don't like the default formatting of a heading style, change it via the style itself, not per title. Right-click the style in the gallery and choose Modify. All titles with that style adjust at once, and the table of contents stays correct. This way you keep a consistent document where a font or colour change applies everywhere at the same time, without editing each title individually.

Quickly check your structure via the Navigation Pane. If a title is missing there, it is using the Normal style instead of a heading style. Correct that before you insert the table of contents to avoid gaps in the list. In that same pane, you can happily drag entire chapters to another location; Word moves all the underlying text along with it.

Insert the table of contents via the References tab

Once your headings carry the correct styles, inserting is a matter of three actions.

  1. Place the cursor where you want the table of contents, usually on a blank page after the title page.
  2. Go to the References tab and click the Table of Contents button on the left.
  3. Under the automatic options, choose Automatic Table 1 or Automatic Table 2. The only difference is the heading above the list ("Contents" or "Table of Contents").
References  ->  Table of Contents  ->  Automatic Table 1

Word now places a neat list with titles, sub-levels and page numbers. In the document you navigate through the table of contents by holding down Ctrl and clicking on a line. The cursor then jumps to the corresponding chapter. If you want to force a new page so that the table of contents stands alone from the rest, insert a page break with Ctrl + Enter before you start.

If you use separate page numbering for the front matter, such as Roman numerals for the table of contents and Arabic numerals from chapter 1 onwards, divide the document into sections with a section break via Layout > Breaks > Next Page. Then set the numbering per section. The table of contents simply picks up those numbers, as long as you update the table after each adjustment.

Update the table of contents after every change

An automatic table of contents is a field, not normal text. If you add a chapter or page numbers shift, the table only reflects those changes after you update it. There are two ways to do so.

  • Click anywhere in the table of contents and press F9.
  • Or click the Update Table button that appears above the table as soon as you click inside it.

Word then asks what you want to update:

OptionUse this if
Update page numbers onlyThe headings stayed the same, but the formatting or length changed
Update entire tableYou added, deleted or renamed headings

When in doubt, always choose Update entire table. That is never wrong and prevents a new chapter from being missing. Update the table as the final step before you save, print or export the document. If you want Word to automatically update fields when printing, go to File, Options, Display and enable "Update fields before printing". This way, an outdated table of contents can never accidentally end up on paper.

Customise the formatting via Custom Table of Contents

If you want to show more or fewer levels, or change the dots between title and page number, choose References > Table of Contents > Custom Table of Contents. In that window you can set, among other things:

  • Show levels: how many heading levels to include. Set this to 2 if you only want to show chapters and sections and omit detail headings.
  • Tab leader: the filler between text and page number, for example dots, a dash or nothing.
  • Formats: a pre-set look such as Formal, Classic or Elegant, which determines font and indentation.
  • Show page numbers and Right align page numbers: checkboxes for the classic layout with numbers on the right.

You can see the changes immediately in the Preview window. Confirm with OK. Word asks whether it may replace the existing table of contents; choose Yes, and the new formatting takes over. If necessary, you can further adjust the formatting of the lines in the list via the styles TOC 1, TOC 2 and TOC 3, which Word automatically links to the levels. If you change those styles, the appearance of the entire table changes along with them.

When customising, pay attention to the balance between levels and readability. A table of contents that shows all three levels quickly becomes an unmanageable wall of lines in a long document. For a report of dozens of pages, two levels are often sufficient, so the reader sees the main outline without getting lost in detail headings. The detail headings simply remain in the text; you just don't show them in the list.

Include custom styles or individual lines in the table of contents

If you use custom heading styles, you can link them to a level via Custom Table of Contents > Options. Enter a level number (1, 2 or 3) for your style and clear the numbers for styles you don't want to display. This way, a corporate-style document with its own style names can still get a correct table of contents without resetting everything to the default heading styles.

If you want to include a single line without making it a real heading, use the Add Text button on the References tab. Select the line, click Add Text and choose a level. At the next update, the line appears neatly in the list while keeping its own formatting in the text. If you want to exclude a line, choose the Do Not Show in Table of Contents option in the Add Text menu.

This approach is useful in quotes and manuals where not every prominent line is a chapter title. When sharing such documents, you often want to lock the formatting in a PDF, so that the layout and page numbers for the recipient match what you see on your screen.

Fix common problems with the table of contents

Most complaints about a table of contents stem from a handful of recurring causes. Check them before you start tinkering with the formatting, because almost always the issue lies in the heading styles or a forgotten update.

  • The table of contents stays empty: your titles do not carry a heading style. Apply Heading 1 through Heading 3 and update with F9.
  • Page numbers are incorrect: you haven't updated the table. Press F9 and choose Update entire table.
  • A title is missing: that line has the Normal style instead of a heading style, or the show level is set too low. Check the style and increase the number of show levels if necessary.
  • Too many lines in the list: an ordinary paragraph accidentally got a heading style. Change it back to Normal.
  • Error! Bookmark not defined: a reference to a missing bookmark. Update the entire table; if the error persists, delete the table and insert a new one.
  • The table of contents has a grey background: that is field shading, which is only visible on screen and doesn't print. To turn it off, go to File, Options, Advanced and set "Show field shading" to Never.

Always update the table just before you send or submit the document. A reader who receives a PDF where the page numbers lag behind a revision will click to the wrong chapter, and that looks sloppy when it could have been avoided with a press of F9.

For the complete, up-to-date procedure and variations per Word version, Microsoft has an official instruction for inserting a table of contents. If you're unsure whether you're running the right Office version for certain features, first compare Microsoft 365 and Office 2021 to see what updates and features you get. If you can't activate your Office installation, our guide on Office activation fails with error 0xC004F074 will help you.

Frequently asked questions

An empty table of contents means Word doesn't recognise any headings. Your titles must be formatted with the built-in styles Heading 1, Heading 2 or Heading 3, not with manual bold or a larger font size. Apply the heading styles and then update the table of contents.

Click anywhere in the table of contents and press F9, or click Update Table above the table. Then choose Update page numbers only if the text remains the same, or Update entire table if you've added or renamed headings. When in doubt, always choose the full update; it's never wrong.

Yes, select the relevant line and on the References tab click the Add Text button. Assign a level – for example Level 1 – and the line appears in the table of contents at the next update without giving it a real heading style.

Yes, Word tables of contents are hyperlinks by default. In the document you navigate by holding down Ctrl and clicking. If you export to PDF via File, Export, the links remain intact, letting readers jump from the table of contents to the correct chapter. That makes a long PDF document immediately easier to browse.

Go to the References tab, click Table of Contents and choose Remove Table of Contents at the bottom. The table disappears without affecting your headings or text. You can insert a new one at any time based on the same heading styles, which remain fully intact.

This message appears when the table of contents refers to a bookmark that has been deleted. Update the entire table with F9; that usually restores the reference. If the error persists, delete the table of contents and insert a new one based on your current headings.

Related articles

MB
Mira Bakker
Microsoft specialist

Mira supports businesses with Windows and Office implementations, solving activation, licensing and error code queries daily.

View profile
Looking for a licence for this software?
Explore the Liceon collection. Instant delivery, genuine licences.
View the collection