Microsoft Word: Insert a Table of Contents Automatically

How-to basics · Updated November 3, 2026

Microsoft Word: Insert a Table of Contents Automatically

To insert a table of contents in Microsoft Word, apply built-in Heading styles to your section titles, then choose References > Table of Contents and select an automatic style. Word builds the contents from those headings, and you can update it when the document changes.

Insert an automatic table of contents

These steps apply to Word for Microsoft 365 on Windows. Start by marking the titles you want included. Select a chapter or section heading, open Home > Styles, and choose Heading 1 for a main section. Use Heading 2 for subsections and Heading 3 for a level below those. Repeat for each relevant heading in the document.

  1. Click where the table of contents should appear, usually after a title page or introductory page.
  2. Open the References tab.
  3. Select Table of Contents.
  4. Choose one of the automatic table styles in the gallery. Word inserts the entries and page numbers based on the document’s headings.

If the gallery offers more than one automatic option, either is a useful starting point; the appearance differs, but both can be customized. Avoid choosing a manual table if you want Word to maintain the entries and page numbers. A manual contents table is essentially text that you must edit yourself.

On a Mac, the process is similar: apply heading styles from Home, then use References > Table of Contents and choose an automatic option. Ribbon labels and the exact layout can vary slightly by Word release. Word for the web also offers an automatic table of contents through the References tab, though some layout and customization controls available in the desktop app may be limited.

How Word builds the contents

An automatic table of contents is generated from document structure, not simply from text that looks large or bold. Word recognizes built-in heading styles and uses their outline levels to determine which titles belong in the table and how they nest. By default, the common automatic tables include several heading levels, typically Heading 1 through Heading 3.

This distinction matters. If you manually increase a title’s font size and make it bold, it may look like a heading but still be omitted. Applying a heading style gives Word structural information and also makes the document easier to navigate with the Navigation pane and assistive technology. You can change a heading style’s font, size, color, or spacing while retaining its role as a heading.

Word stores the contents as a field that can be refreshed. Its entries are connected to headings, and the page numbers reflect the current document layout. That is why an automatic contents table can respond when you rename a section, move text, or add pages. It does not mean that Word continuously recalculates every change as you type; you may need to update the field.

Choose which headings and levels appear

For a short report, showing only top-level sections can make the contents easier to scan. A long manual or thesis may benefit from including subsections, but listing every minor heading can make the front matter overwhelming. Decide how much detail readers need to find information, then set the displayed heading levels accordingly.

In Word for Microsoft 365 on Windows, open References > Table of Contents > Custom Table of Contents to review options such as the number of levels, page-number display, alignment, and leader style. The dotted line between a heading and its page number is called a tab leader. You can choose a different leader or remove it. The preview helps you see the effect before applying the settings.

To include a heading level that is not using a built-in Heading style, you can assign that paragraph an outline level or configure the custom contents options to map a style to a table level. This is useful when a document’s design uses custom styles. It is usually better than manually adding a line to the generated table, because a hand-added line may disappear or become inconsistent the next time Word updates the field.

  • Use Heading 1 for major divisions such as chapters or report sections.
  • Use Heading 2 for sections within those divisions.
  • Use Heading 3 only when the document’s depth justifies another layer.

Customize appearance and page numbers

The built-in table is a starting design, not a fixed image. In the custom table dialog, you can control whether page numbers appear, whether they align at the right margin, which tab leader separates titles from numbers, and how many heading levels are shown. These options are useful for documents with different conventions—for example, a digital document may prioritize clickable entries, while a printed report often benefits from clear page numbers.

For more control over typography and spacing, modify the styles Word uses for contents entries, commonly named TOC 1, TOC 2, and so on. The number corresponds to the heading level displayed. Changing a TOC style lets you adjust indentation, font, or paragraph spacing consistently, rather than formatting each row separately. If you directly format individual generated lines, a later update may replace or disrupt those changes.

For a linked electronic document, Word’s automatic tables generally make entries clickable. In many Windows configurations, you follow a link with Ctrl+click; on a Mac, the usual modifier is Command+click. The precise behavior can depend on Word’s hyperlink settings. If you need to verify the setting, check Word’s options for hyperlinks rather than assuming that a printed-looking table is not interactive.

Update the table after editing

Update the contents after changing headings, moving sections, or adding or removing material that affects pagination. Click inside the table and select Update Table or Update Field from the control or context menu. Word normally offers two choices: update page numbers only, or update the entire table.

  • Update page numbers only: Choose this when the heading text and heading structure have not changed, but pages may have shifted.
  • Update entire table: Choose this after adding, deleting, renaming, or reclassifying headings. This refreshes both entry text and page numbers.

For example, if a paragraph is inserted near the beginning of a report and pushes later chapters onto new pages, updating page numbers may be sufficient. If you rename a heading from Methods to Research Methods, update the entire table so the entry reflects the new wording. When in doubt, a full update is usually the safer choice, though it can replace direct formatting applied to generated entries.

Word may not refresh every field automatically when you print or save. If a final copy matters, update the table and inspect it in the final page layout before exporting or printing. A large document can reflow after fonts, margins, images, or page size change, so check the page numbers again after such edits.

Fix common table-of-contents problems

A heading is missing. Select the heading in the document and confirm it has a Heading style or a suitable outline level. A bold, enlarged paragraph is not necessarily a structural heading. Then update the entire table, not just its page numbers.

Too many items appear. A paragraph may have a heading style applied accidentally, perhaps because text was typed into a heading-formatted paragraph. Change that paragraph to the appropriate body-text style, or adjust the number of levels shown in the custom table settings. Update the whole table afterward.

The entry text or page number is wrong. First update the entire table. If the page number remains unexpected, check the document’s page breaks, section breaks, and layout changes. Word’s displayed number follows the page numbering and layout of the document, which may not match the physical sheet count if front matter uses a different numbering scheme.

Formatting changes disappear. This usually happens when generated entries were formatted individually and then replaced during an update. Modify the TOC styles instead, then update the table. If a custom table was inserted, review its options before recreating it so the same levels and page-number settings are retained.

The table says there are no entries. Check that the headings are in the main document rather than inside a text box or another location Word does not include in the table. Confirm that a heading style or outline level is applied, and rebuild or update the table after correcting it. If your document uses custom styles, check the style-to-level mapping in the custom contents options.

Use the table for navigation and accessibility

A table of contents is more than a page-number list. In a digital Word file, its links let readers jump to a section, and the heading structure supports navigation independently of the contents page. In the desktop app, open the Navigation pane from View > Navigation Pane to browse headings and move between sections. If headings are not listed there, review the styles and outline structure.

Consistent heading levels also help people using screen readers understand how a document is organized. Keep the hierarchy logical: do not choose Heading 3 merely because its appearance is smaller if the section is not actually nested under a Heading 2. Adjust the style’s visual formatting instead. A clear structure benefits both navigation and the generated table.

For a document that will be printed, check that the contents page is included in the intended page numbering scheme and that long titles do not wrap awkwardly. For an online document, test a few links after the last update. If you export to PDF, confirm that the links and page numbers remain useful in the exported file.

Word desktop, web, and manual alternatives

Word for Microsoft 365 on Windows provides the most complete set of controls for customizing a table of contents. Word for Mac has the same basic approach and supports automatic contents, but the dialog arrangement or available labels can differ by version. Word for the web can create and update a basic automatic table, while advanced formatting and some detailed configuration may require opening the file in the desktop app.

A manual contents list can make sense for a very short document with fixed wording and no need for linked navigation. However, its page numbers will not respond to edits. For a document that will be revised, an automatic table is more dependable: use heading styles, generate the table, and update it before sharing. You can also remove an automatic table and insert another style if your layout requirements change, without rewriting the section headings.

Frequently Asked Questions

How do I add a table of contents in Word without formatting each heading manually?

You do not need to set font and spacing individually. Apply a built-in style such as Heading 1 or Heading 2 to each section title, then insert an automatic table through References > Table of Contents. You can customize how those styles look separately.

Why is my table of contents not picking up headings?

The text may only look like a heading without having a heading style or outline level. Apply the appropriate style, then choose Update Table and update the entire table. Also check whether the heading is located in a text box.

Can I make a table of contents show only Heading 1?

Yes. Open the custom table-of-contents settings and set the number of displayed levels to one. The exact dialog labels can vary slightly by Word version. Update or insert the table after changing the setting.

How do I change the page numbers in a Word table of contents?

Do not edit the numbers directly in the generated table. Correct the document’s page layout or numbering, then update the table. If only pagination has shifted, update page numbers; if headings changed too, update the entire table.

Can I make the entries clickable?

Automatic tables of contents are designed to support navigation links. Click or use the appropriate modifier key on an entry to follow it, depending on your Word settings and operating system. A manually typed contents list does not automatically gain those links.

Related

Try it: the Date Difference Calculator: days, months, years and weekdays between two dates, with the DATEDIF formulas.

More in How-to basics

Sources: Function behaviour and menu paths: Microsoft Support documentation for Excel. Method & sources

Spotted an error in this guide? Let us know.