To insert an automatic table of contents in Microsoft Word for Microsoft 365 on Windows, apply built-in heading styles to your section titles, click where the contents should go, then choose References > Table of Contents and select an automatic style. Word builds the list from those headings, and you can update it as the document changes.
What a Word table of contents does
A table of contents (TOC) summarizes a document’s headings and shows the page where each one begins. In Word, an automatic TOC is a field: it draws information from the document’s structure rather than being a list you have to maintain by hand. Readers can use it to scan a report, jump to a section in a digital document, or find a topic in a long manual.
The key distinction is between a heading’s appearance and its role. Making text bold, large, or blue does not by itself tell Word that it belongs in the TOC. Applying a heading style does. Word’s built-in Heading 1, Heading 2, and Heading 3 styles also create a useful hierarchy: Heading 1 can identify main sections, Heading 2 their subsections, and Heading 3 smaller divisions beneath those.
The automatic TOC is useful for documents whose structure may change, such as proposals, coursework, handbooks, and business reports. When headings move or page breaks change, you can refresh the field instead of fixing every entry and page number individually.
Prepare the document with heading styles
Before inserting the TOC, go through the document and apply styles consistently. Select a section title, open the Home tab, and choose the appropriate style in the Styles group. Repeat for other titles. A typical structure might look like this:
- Heading 1: Introduction, Methods, Results, Conclusion.
- Heading 2: Participants, Materials, Data collection.
- Heading 3: smaller topics within a Heading 2 section, if needed.
Use levels according to the document’s organization, not just the size of the text. For example, a subsection under “Methods” should normally be Heading 2 even if its title is visually prominent. You can change how a heading style looks later without losing its structural meaning: right-click the style in the Styles group, choose Modify, and adjust its formatting.
For a title that should appear in the TOC but does not fit the built-in hierarchy, Word offers ways to assign a TOC level, including custom table settings. Avoid using ordinary body text for every section title and then expecting Word to identify it automatically. A quick check is to click a heading and see whether its corresponding Heading style is selected in the Styles gallery.
Insert an automatic table of contents
Once the headings are styled, choose a location. Many documents put the TOC after a title page and before the main text. Click at the start of the intended location; if necessary, insert a page break with Insert > Page Break so the contents begins on its own page. Then use these steps in Word for Microsoft 365 on Windows:
- Click where the TOC should appear.
- Open the References tab.
- Select Table of Contents in the Table of Contents group.
- Choose one of the automatic table styles, such as Automatic Table 1 or Automatic Table 2.
Word inserts a generated list using the heading styles it finds. The built-in automatic options can include a heading such as “Contents,” which you can edit or remove if you want a different label. The inserted table is usually displayed with indented levels and page numbers; depending on the selected style, dotted leaders may connect the entries to their page numbers.
If the document has no heading styles applied, the result may be empty or incomplete. Cancel or remove the unsuitable TOC, apply the styles, and insert it again. In Word for Mac, the equivalent route is generally References > Table of Contents; labels and layout can vary slightly by release. Word for the web also provides a TOC option on the References tab, though advanced layout controls are more limited than in the desktop app.
Update the contents after editing
A generated TOC does not necessarily refresh every time you type. After editing headings, adding sections, or changing pagination, click inside the TOC and select Update Table. Word offers two choices:
- Update page numbers only: Use this when the headings and their wording have not changed, but page locations may have.
- Update entire table: Use this after adding, deleting, renaming, or restyling headings. It refreshes both entries and page numbers.
You can also right-click in the TOC and choose Update Field, then select the update option. On Windows, pressing F9 while the TOC is selected can update the field; on some laptops, the function key may need to be used with the Fn key. The ribbon command is easier to find if the keyboard behavior differs. Before sharing or printing a final version, update the entire table and review the resulting entries and page numbers.
If a document is still being edited, update the TOC again after the final layout changes. A late-added image, changed font, or inserted page break can shift pages even when the heading text itself has not changed.
Customize levels, appearance, and page numbers
To control the TOC beyond Word’s preset styles, choose References > Table of Contents > Custom Table of Contents on Windows. The dialog lets you adjust options such as whether page numbers appear, whether they are right-aligned, which tab leader separates entries from page numbers, and how many heading levels are shown. The preview helps you see the effect before applying the settings.
For example, a short document with only main sections may need just one level, while a technical guide may benefit from three. Showing every minor heading can make a TOC difficult to scan, so include only levels that help readers navigate. You can also choose a different leader, such as dots or a solid line, or turn leaders off if the design calls for a cleaner look.
To change the typography of generated entries, modify the TOC styles rather than formatting each line separately. In the Custom Table of Contents dialog, select Modify when available, then choose styles such as TOC 1 or TOC 2 and adjust their formatting. These styles correspond to TOC levels. Directly applying bold or changing the font on a single generated line may be lost when you update the table.
Word can also include text that is not formatted with Heading 1, Heading 2, or Heading 3 by assigning it an outline level or specifying a style-to-level mapping in the custom options. This is useful when a document uses its own styles. Because these settings are less obvious and can vary with the document’s design, verify the preview and update the TOC after changing them.
Automatic and manual tables: which should you use?
The automatic table is the best choice for most documents with recognizable headings. It stays connected to the document’s structure, can be refreshed, and helps maintain accurate page references as content changes. A manual table, by contrast, is essentially editable text supplied as a layout. Word does not use the document’s headings to keep its entries and page numbers current.
A manual TOC may make sense for a very short, fixed document or a design where every entry needs a unique treatment and the contents will not change. But it creates maintenance work: if a section moves, you must correct the page number yourself; if a heading is renamed, you must edit the entry too. For a document likely to be revised, that can lead to mismatches between the TOC and the text.
Do not confuse an automatic TOC with a navigation pane. The Navigation Pane helps you move around while editing and can display headings, but it is not a printed or exported contents page. A document can use both: the pane for on-screen navigation and a TOC page for readers of the finished file.
Common problems and how to fix them
- A heading is missing: Select the heading in the document and apply a Heading style, or check the custom TOC’s level and style mappings. Then choose Update Table > Update entire table.
- Body text appears as a TOC entry: That text may have a heading style or outline level applied accidentally. Change it to the correct body style, then update the entire table.
- The page number is wrong: Update the page numbers or the entire table after layout changes. Also check whether page numbering restarts in a section, which can make the displayed number different from the document’s physical page count.
- The TOC looks plain or inconsistent: Use the TOC style settings or select another built-in format. Avoid repeatedly formatting individual entries because an update may overwrite those changes.
- The table does not seem editable: A generated TOC is a field, not ordinary paragraph text. Use the TOC controls to update or customize it. If you need to replace it, select the table and use the Table of Contents menu to remove it before inserting a different version.
One common misconception is that a TOC automatically detects anything that looks like a title. It generally relies on heading styles or specific TOC-level instructions, not visual appearance alone. Another is that updating page numbers will add a newly created heading. It will not: use Update entire table when the entries themselves have changed.
Frequently Asked Questions
How do I add a table of contents in Word without formatting it manually?
Apply Heading styles to the section titles, click where the TOC belongs, and choose References > Table of Contents followed by an automatic option. Word creates the entries from the document structure.
Why is my heading not showing in the table of contents?
It may be formatted as ordinary text rather than a heading, assigned a level that the TOC does not display, or not included because the table has not been fully updated. Check the style and choose Update entire table.
Can I update only the page numbers in Word?
Yes. Click in the TOC, choose Update Table, and select Update page numbers only. This is appropriate when the heading text and set of sections have not changed.
How do I remove a table of contents?
In Word for Windows, open References > Table of Contents and choose Remove Table of Contents. The command is also available from the TOC’s context menu in many desktop versions. Removing the generated table does not delete the document’s headings.
Can I make a table of contents clickable?
Automatic TOC entries are generally clickable links in Word, letting readers jump to the corresponding heading. When saving or exporting, retain the document’s links if you want that navigation to remain available in the resulting file.
Related
- Compound Interest Spreadsheet: Build One in Excel Easily
- Power Query: Select Columns and Keep the Fields You Need
- Google Sheets Data Cleaning: Tools, Steps, and Tips
Try it: the Date Difference Calculator: days, months, years and weekdays between two dates, with the DATEDIF formulas.
More in How-to basics
- How to Sort a Table by Date in Google Sheets Without ErrorsTo sort a table by date in Google Sheets, select the whole table, choose Data > Sort range…
- Delete Duplicates in Google Sheets: Safe MethodsTo delete duplicate rows in Google Sheets, select your data, then choose Data > Data cleanup > Remove…
- Change Outlook View in Windows 11: Step-by-Step GuideTo change Outlook’s view in Windows 11, open Outlook and use the View tab to adjust the message…
- Can You Create Outlook Rules in OWA? Here’s HowYes. You can create and manage Outlook rules in Outlook on the web (OWA) to sort incoming email,…
- Sync a Budget Spreadsheet Across Devices and Teams SafelyTo sync a budget spreadsheet in Excel for Microsoft 365, save the workbook to OneDrive, then open that…
- Heat Map Examples in PowerPoint: Ideas and How to Make ThemHeat map examples in PowerPoint include a sales-by-region matrix, a weekly activity calendar, a survey response grid, and…
Sources: Function behaviour and menu paths: Microsoft Support documentation for Excel. Method & sources
Spotted an error in this guide? Let us know.