To insert a table of contents in Microsoft Word, format your section titles with built-in heading styles, then choose References > Table of Contents and select an automatic layout. Word builds the contents list from those headings; when your document changes, update the table rather than retyping it.
What a Word table of contents does
A table of contents (TOC) is a navigable list of document headings, usually paired with the page where each heading begins. In Word, an automatic TOC is generated from the document’s heading structure. It is not simply a block of text that happens to look like a contents page: Word tracks the headings and can refresh their wording, order, and page numbers.
This is useful in reports, proposals, manuals, course materials, and long documents where readers need to find sections quickly. The entries can also act as links. Depending on Word’s settings, a reader may need to hold Ctrl while clicking a link in the Windows desktop app; on Mac, the equivalent is usually Command-click. A TOC is most reliable when the document is organized with heading styles rather than headings formatted only by changing font size or boldness.
Prepare headings before inserting the TOC
First, identify the sections that belong in the contents list. Apply Word’s built-in styles from Home > Styles: use Heading 1 for major sections, Heading 2 for subsections, and Heading 3 for a level beneath those. For example, a report might use Heading 1 for Introduction and Findings, Heading 2 for Methods and Results under Findings, and Heading 3 for individual test groups under Results.
Click in a heading paragraph and select the appropriate style. The style may change its appearance; that is expected. You can adjust the design later without losing its structural role. A paragraph that merely looks like a heading because it is bold and large may not appear in an automatic TOC, because Word needs a recognized heading style or an assigned outline level to identify it.
Check the hierarchy as well as the appearance. A subsection should generally use Heading 2 beneath a Heading 1, rather than skipping directly from Heading 1 to Heading 3. The hierarchy helps Word create an orderly, indented contents list and also improves document navigation and accessibility. Apply heading styles to headings only, not to ordinary paragraphs that happen to be important.
Insert an automatic table of contents
Once the headings are styled, place the cursor where the TOC should appear. In a conventional report, this is often after the title page and before the first section. If necessary, create a blank page first with Insert > Page Break, or use the page-break shortcut: Ctrl+Enter on Windows and Command+Enter on Mac.
- Click at the insertion point on the intended contents page.
- Open the References tab on the ribbon.
- Select Table of Contents.
- Choose one of the Automatic Table options. Word inserts a generated TOC using the headings it recognizes.
The exact names or preview designs can vary slightly by Word version and platform, but the References tab is the standard place to find the command in Microsoft 365 for Windows and Mac. In Word for the web, look for Table of Contents on the References tab; if you need advanced layout controls that are not available there, open the file in the desktop app.
After insertion, click an entry to see whether it navigates to the corresponding section. If the list is empty or missing sections, check the heading styles before changing the TOC itself. Word cannot include a heading it does not recognize as part of the document structure.
Choose which headings and levels appear
The automatic options are convenient, but they may show more or fewer heading levels than you want. To configure the display, use References > Table of Contents > Custom Table of Contents in the desktop app. The dialog lets you control settings such as whether to show page numbers, whether to right-align those numbers, which leader appears between an entry and its page number, and how many heading levels to include.
For a short document, showing Heading 1 and Heading 2 may be enough. A detailed technical guide might need Heading 3 as well. Showing every subheading can make a long TOC difficult to scan, so choose a depth that helps readers understand the structure without listing every small topic. The Show levels setting controls how many levels Word displays; it does not remove or change the headings in the document.
In the custom dialog, the tab leader is the line of dots or other spacing between a heading and its page number. A dotted leader is familiar in printed reports, while a simpler layout can suit a digital document. You can also choose whether page numbers appear. For an online document that readers navigate through links, page numbers may be less important, though they remain useful in a document that will be printed.
Update the table after editing
A TOC can become out of date when you add sections, rename headings, rearrange material, or change page breaks and formatting. Word does not always refresh it immediately after every edit. To update it, click inside the table and choose Update Table, or right-click the table and choose Update Field. Word then offers two common choices: update page numbers only, or update the entire table.
Choose Update page numbers only when the headings and their order have not changed and only pagination may have shifted. Choose Update entire table after adding, deleting, renaming, or moving headings, because that refreshes both the entries and the page numbers. On Mac, use the same References-tab controls where available, or Control-click the TOC and choose the update command from its context menu. If the menu wording differs, look for Update Field or Update Table.
Make a final update after the document’s layout is settled, especially before sharing or printing it. A change to margins, font size, images, or page breaks can move content and alter page numbers even when no heading text changes. If the document contains other fields, avoid updating every field indiscriminately unless you intend to refresh those too.
Adjust the appearance without breaking it
You can change the TOC’s visual design while keeping it automatic. The Custom Table of Contents dialog offers built-in formats and options, while the TOC styles control the appearance of different levels. In Word’s Styles pane, look for styles such as TOC 1 and TOC 2, which correspond to levels in the generated list. Modify a TOC style to change its font, spacing, or indentation consistently instead of manually editing individual entries.
Directly typing into a generated entry is usually a poor fix. The next full update can replace manual changes with the heading text and formatting Word generates. If an entry needs different wording, revise the heading in the document and update the TOC. If you want a completely different visual structure, adjust the TOC settings or its styles rather than treating the generated list like ordinary paragraphs.
For a long document, consider placing the TOC on its own page and using a clear title such as Contents. That title is normally not itself a section heading to be listed in the TOC. If it is formatted as Heading 1, Word may include it as an entry; use a non-heading style or adjust the TOC setup if you want the title styled prominently but excluded from the list.
Common problems and practical fixes
- The TOC is blank: Apply Heading 1, Heading 2, or another included heading style to the section titles, then update the entire table.
- A heading is missing: Check that it uses a heading level included in the TOC settings. Also check whether the text is inside a text box or another area Word does not treat like the main document flow.
- Too many entries appear: Ordinary text may have a heading style, or the TOC may be set to show too many levels. Correct the style or reduce the number of displayed levels.
- Page numbers are wrong: Update the full table after layout changes, and confirm that section breaks or page-number settings have not created a different numbering scheme.
- The heading text looks wrong: Edit the heading in the document, not just the generated entry, then update the entire table.
- The TOC looks different after an update: Manually applied formatting may have been overwritten. Change the relevant TOC style or custom settings so that the formatting persists.
A useful diagnostic is to click a heading and inspect the selected style on the Home tab. If it says Normal even though the text looks like a heading, apply the appropriate Heading style. This usually resolves problems more cleanly than trying to add the missing item by hand.
Automatic versus manual contents lists
An automatic TOC is the right choice for most documents that may be revised. It keeps its entries connected to headings and can recalculate page numbers. A manual contents list is just text that you type or format yourself; Word cannot reliably maintain its entries when headings move or pages change. Manual lists can make sense for a short, fixed document with unusual content that cannot be represented by heading structure, but they require careful maintenance.
There is also a difference between a Word TOC and a table inserted with Insert > Table. A table is a grid of cells for arranging information. A table of contents is a generated field based on document headings. Choosing the Insert Table command will not create a navigable contents list. Use References > Table of Contents for that task.
Frequently Asked Questions
How do I add a table of contents in Word?
Apply heading styles to your section titles, place the cursor where the contents page should go, and choose References > Table of Contents > an Automatic Table option.
Why is my table of contents empty in Word?
Word may not recognize your titles as headings. Apply built-in Heading styles to them, make sure those levels are included in the TOC settings, and update the entire table.
How do I update page numbers in a Word TOC?
Click in the TOC and choose Update Table, then select Update page numbers only if the headings have not changed. If headings were added or renamed, choose Update entire table.
Can I make a table of contents clickable?
Entries in a generated Word TOC are normally linked to their headings. If clicking does not navigate, check the document’s link behavior and try Ctrl-click on Windows or Command-click on Mac.
Can I create a TOC without using heading styles?
Word can use outline levels or custom style mappings in advanced TOC settings, but built-in Heading styles are the simplest and most dependable method. Formatting text to look like a heading alone is not enough.
Related
- How to Clear the Recipient Cache in Microsoft Outlook
- How to Clear the Offline Cache in Outlook
- How to Clear the Outlook Cache in File Explorer
Try it: the Date Difference Calculator: days, months, years and weekdays between two dates, with the DATEDIF formulas.
More in How-to basics
- Vacation Budget Spreadsheet by Day: Build and Use OneA vacation budget spreadsheet by day puts each travel date on its own row and groups expected costs…
- Highlight Duplicates in Google Sheets: How to Do ItYes. In Google Sheets in a web browser, choose Format > Conditional formatting, select the cells to check,…
- Out of Office in Outlook Exchange: Setup and SchedulingTo set an out-of-office message for an Exchange mailbox, open Outlook’s Automatic Replies settings, turn on automatic replies,…
- Share a Google Calendar in Outlook: Step-by-StepTo see a Google Calendar in Outlook, copy its iCal address from Google Calendar and add it to…
- Lock Cells in Google Sheets: Why It May Not WorkYou cannot lock a cell in Google Sheets the same way you can in Excel by changing a…
- How to Create a Word Template with Fillable FieldsTo create a Word template with fillable fields, build a document in Word for Microsoft 365, add content…
Sources: Function behaviour and menu paths: Microsoft Support documentation for Excel. Method & sources
Spotted an error in this guide? Let us know.