To insert a table of contents in Microsoft Word, apply built-in heading styles to your section titles, place the cursor where the contents should appear, then choose References > Table of Contents and select an automatic style. Word builds the contents from those headings and can refresh its page numbers and entries as your document changes.
Why use an automatic table of contents?
A table of contents (TOC) gives readers a quick map of a long document: it lists sections, often with page numbers, and can provide clickable links to those sections. It is useful for reports, proposals, manuals, theses, and other documents where readers may want to jump directly to a topic. A one-page letter usually does not need one; a lengthy report with several levels of sections often does.
The important distinction is that Word’s automatic TOC is connected to the document’s structure. It reads heading styles and outline levels, rather than guessing which lines look like titles. If a section moves to another page, updating the TOC can revise the page number. If you add a new heading and update the whole table, Word can include it. A contents list typed by hand has no such connection, so its entries and page numbers have to be maintained manually.
Automatic does not mean that Word decides which text should be a section. You choose and format the headings; Word uses that structure to generate the list.
Prepare the document with heading styles
Before inserting the TOC, apply Word’s heading styles to the titles you want listed. Select a section title, open the Home tab, and choose an appropriate style in the Styles group. Use Heading 1 for major sections, Heading 2 for subsections within them, and Heading 3 for a further level of detail. For example, a report might use Heading 1 for “Findings,” Heading 2 for “Customer feedback,” and Heading 3 for “Response times.”
Using bold text, a larger font, or a different color can make a line look like a heading to a person, but those visual changes alone do not necessarily give it a heading level Word can use in a TOC. Built-in styles provide both formatting and document structure. You can change their appearance while retaining their role: right-click a style in the Styles gallery and choose Modify, then set the font, size, spacing, or other formatting.
- Use heading levels in a logical order. A Heading 2 should normally belong under a Heading 1, rather than being used as a decorative style.
- Apply a heading style to the actual heading paragraph, not to the body text that follows it.
- Decide how many levels readers need. Listing every small subsection can make the contents difficult to scan.
If you already formatted headings manually, select each one and apply the matching built-in style. You may need to adjust the style’s appearance afterward to preserve the design. This preparation is what makes the generated table useful and maintainable.
Insert the table of contents in Word for Windows
In Word for Microsoft 365 on Windows, click where the TOC should go—often after a title page and before the first section. If it should begin on its own page, insert a page break first with Ctrl+Enter. Then use these steps:
- Open the References tab.
- Select Table of Contents in the Table of Contents group.
- Choose one of the Automatic Table options from the menu.
Word inserts a table based on the heading styles it finds. The first automatic option and the second can differ in layout, but both are generated tables rather than ordinary typed text. The TOC may have a heading such as “Contents” above it; add or edit that label separately if needed. Avoid applying a heading level to the TOC label if you do not want the label itself to appear as an entry in the contents.
If no entries appear, check that the section titles use Heading 1, Heading 2, or another level included in the table. A title’s appearance is not enough. If the table shows too many or too few levels, adjust its settings rather than manually editing the generated entries.
Choose levels and adjust the appearance
For more control in Word for Windows, choose References > Table of Contents > Custom Table of Contents. The dialog lets you select options such as showing page numbers, aligning those numbers at the right, choosing a tab leader (such as dots between a heading and its page number), and setting how many heading levels to show. The preview helps you see the general result before applying it.
For example, a short report with only major sections may be clearest with one level. A training manual with chapters and subtopics may benefit from two or three. Showing many levels can create a long, crowded contents page, so include detail only when it helps readers find information. If you want to change the visual style more extensively, Word’s TOC styles can be modified; changing the underlying heading styles affects headings in the document, not just their entries in the TOC.
Choose whether the table should use hyperlinks as well as page numbers. In many Word layouts, readers can follow a TOC link by holding Ctrl while clicking it on Windows; the precise click behavior can depend on Word’s settings. Printed copies still benefit from page numbers, while a digital document may be convenient to navigate by links.
Update the table after editing
A generated TOC is not necessarily refreshed every time you edit the document. After adding, renaming, deleting, or moving sections—or after changes that affect pagination—update it before sharing or printing. Click inside the table and select Update Table, or right-click the table and choose Update Field. Word offers two useful choices:
- Update page numbers only: use this when headings have not changed but their pages may have shifted.
- Update entire table: use this after changing heading text, adding or removing headings, or changing which heading levels should appear.
Updating page numbers alone will not add a new heading or revise a renamed entry. Conversely, updating the entire table can replace manual edits made directly to generated entries. The durable fix for a wrong entry is usually to correct the source heading or the table settings, then update the table again.
It is sensible to update the whole table near the end of a substantial edit, then review the contents page and click several entries to verify that they lead to the intended sections. Also check the printed or exported layout: a heading may move to a different page after a final formatting change.
Fix common table-of-contents problems
If a heading is missing, select it in the document and check its style on the Home tab. It may be formatted with Normal or a custom style that has no outline level, rather than a recognized heading level. Apply the appropriate Heading style, then update the entire table. If the heading uses a custom style, the custom TOC settings may allow it to be assigned a TOC level, but built-in heading styles are the simpler choice for most documents.
If unwanted text appears in the TOC, it may have a heading style applied accidentally. Select that paragraph and change it to the correct body-text style, or adjust the outline level if the document uses a custom style. Then update the entire table. Check paragraph breaks too: if a heading and following text share one paragraph, Word may treat the whole paragraph as a heading entry.
If page numbers look incorrect, update the table and inspect the document’s pagination. Page-number fields, section breaks, and front matter with separate numbering can make page labels more complex than simple sequential counting. A TOC reports the page numbers Word assigns in the document; it does not determine how page numbering is configured. Confirm that the document’s page-number setup is intentional before assuming the TOC itself is at fault.
Finally, do not try to fix a generated entry by typing over it in the TOC. That edit can be lost at the next update. Change the source heading, its style, or the TOC settings, and regenerate the table.
Word on Mac and Word for the web
On Word for Mac, the usual approach is similar: apply heading styles, place the cursor, and use the References tab’s Table of Contents controls to insert an automatic table. Ribbon labels and dialog layouts can vary slightly between Word builds, so look for Table of Contents on the References tab. On a Mac, Command+Enter inserts a page break; Ctrl+Enter is the Windows shortcut. The update command is available from the table’s context menu or the References controls, though its presentation can differ from Windows.
Word for the web can work with automatic tables of contents, but available formatting and configuration options may be more limited than in the desktop application, and features can depend on the current Microsoft 365 version. If you need to set custom levels, change detailed layout options, or troubleshoot an unusual TOC, open the document in the desktop Word app. When collaborating online, check that heading styles remain applied and refresh the contents after substantial edits.
Frequently Asked Questions
Can I insert a table of contents without using heading styles?
Word needs a structure to identify entries. Built-in heading styles are the most straightforward method. Some custom styles can be assigned TOC levels through the custom table settings, but merely making text bold or large does not reliably mark it as a contents entry.
How do I add a heading to an existing table of contents?
Apply the appropriate Heading style to the section title, click inside the TOC, choose Update Table, and select Update entire table. Updating page numbers only will not add the new heading.
Can I make the table of contents clickable?
Yes. Automatic Word tables generally include hyperlinks to their headings, depending on the selected options and document settings. In Word for Windows, Ctrl-click commonly follows a link; on Mac, the click modifier may depend on Word’s settings.
Why does my table of contents show the wrong page number?
First update the table, then check whether pagination or section numbering is set up as intended. If the document has section breaks or front matter with different numbering, the displayed page label can differ from a simple count of pages from the beginning.
Can I edit the wording directly in the table?
You can type into a generated table, but those changes may disappear when Word updates it. Edit the actual heading in the document instead, then update the entire table so the contents and source text stay consistent.
Remove or replace a table of contents
If the document no longer needs a TOC, use References > Table of Contents > Remove Table of Contents in Word for Windows. You can also select the table and delete it, but the menu command is a clear way to remove the generated contents block. Removing the TOC does not remove the headings or their styles, so the document’s structure remains available for navigation and for inserting a new table later.
Before distributing a document, make one final pass: confirm that the entries reflect the sections readers need, update the whole table if headings changed, and check page numbers in the final layout. A few minutes of review can prevent a polished report from sending readers to outdated or missing sections.
Related
- How to Clear Cache in the Outlook Mobile App
- How to Clear Cache in Outlook Email
- How to Clear Cache in Outlook for Windows
Try it: the Date Difference Calculator: days, months, years and weekdays between two dates, with the DATEDIF formulas.
More in How-to basics
- XLOOKUP in Google Sheets: Syntax, Examples, and TipsTo look up a value in Google Sheets, use =XLOOKUP(search_key, lookup_range, result_range, "Not found"). For example, if product…
- Excel Text Upside Down: What Works and What Doesn’tIn Excel for Microsoft 365 on Windows, you cannot rotate text inside a worksheet cell a full 180…
- Add Page Numbers in Microsoft Word: A Practical GuideTo add page numbers in Microsoft Word for Microsoft 365 on Windows, select Insert > Page Number, choose…
- Outlook 2013 Rules by Sender: Setup and FixesYes. In Outlook 2013 for Windows, select a message from the sender, then choose Home > Rules >…
- Excel Find and Replace Carriage Returns: Steps and FixesIn Excel for Microsoft 365 on Windows, press Ctrl+H, click the Find what box, and press Ctrl+J to…
- Excel MODE.MULT: Find Multiple Modes in a Data SetYes. In Microsoft 365 Excel for Windows, use MODE.MULT to return every value tied for the highest frequency…
Sources: Function behaviour and menu paths: Microsoft Support documentation for Excel. Method & sources
Spotted an error in this guide? Let us know.