
Typing a table of contents by hand is one of the most common mistakes in long reports, theses and proposals: add a page and every number shifts. Word's automatic table of contents collects your headings and page numbers on its own and updates with one click.
1. Apply heading styles
The automatic table of contents uses Word's heading styles. Making headings bold and large is not enough; you need to apply a style.
- Select a chapter heading.
- On the Home tab, click Heading 1 in the Styles gallery.
- Use Heading 2 for subheadings and Heading 3 for the level below.
Tip: If you do not like how the heading styles look, right-click the style and choose Modify to change font, size and colour. The change applies to every heading in the document at once.
2. Insert the table of contents
- Place the cursor where the table should go, usually the page after the cover.
- On the References tab, click Table of Contents.
- Choose Automatic Table 1 or Automatic Table 2.
Word lists every heading with a heading style, together with its page number. Ctrl+click a heading in the table to jump to that section.
3. Update the table
The table does not refresh itself when you add sections or pages move:
- Click inside the table.
- Click Update Table at the top (or press F9).
- Choose Update page numbers only or Update entire table. If you added headings, update the entire table.
4. Customise the look
With References > Table of Contents > Custom Table of Contents you can set:
- Show levels: how many heading levels to include (for example only Heading 1 and 2).
- Tab leader: dots, dashes or blank space between heading and page number.
- Formats: ready-made looks such as Classic, Modern and Formal.
Common problems
| Problem | Fix |
|---|---|
| Some headings are missing | Apply Heading 1/2/3 to them and update the table |
| Unwanted text appears | It was given a heading style by mistake; set it to Normal |
| Wrong page numbers | Update the table; use a section break for the cover page |
| The cover page counts as page 1 | Insert Layout > Breaks > Next Page after the cover and restart numbering at 1 |
Lists of figures and tables
The same approach works for images and tables. Add a caption to each with References > Insert Caption, then use References > Insert Table of Figures.
Step-by-step example: preparing an automatic table of contents in a 30-page report
- Mark the document's headings: apply Heading 1 to main sections, Heading 2 to subsections and Heading 3 to deeper levels; making text bold isn't enough.
- Check the headings: see the structure with View > Navigation Pane; drag to fix the order if necessary.
- Insert the contents: put the cursor where the contents will go; choose References > Table of Contents > Automatic Table.
- Customise if needed: from Custom Table of Contents choose the number of levels (for example 2) and page numbers.
- Set page numbers: you can leave the number off the cover and contents page and start at 1 from the body (see our Word page numbers guide).
- Update: before publishing right-click the table > Update Field > Update entire table.
- Export as PDF: tick "Create bookmarks using headings" so the links also work in the PDF.
Common problems and fixes
| Problem | Cause | Fix |
|---|---|---|
| A heading isn't in the contents | No heading style applied | Apply a heading style |
| Page numbers are wrong | The table wasn't updated | Update the field |
| Indents/format broken | Manual formatting | Change the styles and apply to the whole document |
| The "Contents" title appears in the table | Its own heading was styled | Don't give the "Contents" title a Heading style |
| Too many levels | Heading 4–5 included | Set the number of levels to 2–3 |
| Numbering of appendices | A style difference | A separate style/numbering for appendix headings |
Extra tips for a professional document
- Lists of figures and tables: give images and tables captions with References > Insert Caption; then insert a "Table of Figures."
- Cross-references: references like "See Figure 3" update by themselves when the document changes.
- Template: set the styles once and save as a template (see our Word professional documents guide).
- Collaboration: if heading styles are consistent the team's layout doesn't break (see our Google Docs collaboration guide).
Frequently asked questions
Does it work in Google Docs too? Yes; apply heading styles and insert an automatic table with Insert > Table of contents.
The format breaks when I update the table, why? You can change the styles (Contents 1, 2…) and refresh the table with "Update page numbers only."
How do I number headings (1.1, 1.2)? Link a multilevel list to the heading styles.
Will the contents page be linked in the PDF? Yes; if bookmarks for headings are created when exporting from Word to PDF it becomes clickable.
Does AI speed this up? It can be used for suggesting a heading structure and review; applying styles is still on you (see our AI content workflow guide).
Summary
The key to an automatic table of contents is heading styles. Apply Heading 1, 2 and 3 to your headings, insert the table with References > Table of Contents and click Update Table whenever the document changes.
Serkan Akyürek is the founder and author of toolrota; he writes step-by-step guides on Excel, AI, the cloud, personal finance and digital security.