To make a table of contents in Word, first format each section title with a built-in Heading 1, Heading 2 or Heading 3 style. Then click where the table should go, open the References tab, click Table of Contents, and choose Automatic Table 1 or Automatic Table 2. Word builds the list, adds page numbers and makes every entry a clickable link. When the document changes, click Update Table on the References tab.
These steps apply to Word for Microsoft 365, Word 2024, 2021, 2019 and 2016 on Windows, and to Word for Mac, which uses the same References tab. Word for the web has a shorter version of the same feature, covered separately below.
- Before you start: why headings matter
- Step 1: Apply heading styles
- Step 2: Insert the table of contents
- Step 3: Update the table after editing
- Change how the table looks
- Word for the web
- Manual tables of contents
- Fixing a table that looks wrong
- Remove a table of contents
- Table of contents questions
Before you start: why headings matter
Word doesn’t read your document and guess which lines are titles. It collects every paragraph that uses a heading style and lists them in order. Text you’ve only made bigger or bold is ignored, which is the most common reason a new table of contents comes out empty or incomplete.
Plan your levels before you format anything. Here’s how a typical report maps to heading styles and how the finished table will look:
| Text in your document | Style to apply | Appears in the table as |
|---|---|---|
| 1. Introduction | Heading 1 | Main entry, no indent |
| 2. Survey Results | Heading 1 | Main entry, no indent |
| 2.1 Customer Satisfaction | Heading 2 | Indented once |
| 2.2 Delivery Times | Heading 2 | Indented once |
| Regional breakdown | Heading 3 | Indented twice |
| 3. Recommendations | Heading 1 | Main entry, no indent |
Don’t apply a heading style to the document title or to the words “Table of Contents” themselves, or they’ll show up as entries. Use the Title style for the document name instead.
Step 1: Apply heading styles
- Click anywhere in a main section title. You don’t need to select the whole line.
- On the Home tab, in the Styles gallery, click Heading 1. The text changes to the heading look (on a new blank document, a larger blue font).
- Click in a subsection title and choose Heading 2. Use Heading 3 for the level below that.
- Repeat for every title. On Windows, the shortcuts Ctrl+Alt+1, Ctrl+Alt+2 and Ctrl+Alt+3 apply Heading 1, 2 and 3, and Ctrl+Shift+N returns a line to normal text.

If you don’t like how the headings look, change the style rather than formatting each heading by hand. Format one heading the way you want, right-click Heading 1 in the Styles gallery, and choose Update Heading 1 to Match Selection. Every Heading 1 in the document changes to match.
To check your structure, open View and tick Navigation Pane. The Headings list on the left shows exactly what the table of contents will contain. If a title is missing there, it doesn’t have a heading style yet.
Step 2: Insert the table of contents
- Click where the table should go, usually at the top of the first page after the title. To give it a page of its own, press Ctrl+Enter (Windows) or Command+Return (Mac) to insert a page break after it later.
- Open the References tab.
- Click Table of Contents at the far left of the ribbon.
- Choose one of the built-in automatic styles:
- Automatic Table 1 adds the heading “Contents.”
- Automatic Table 2 adds the heading “Table of Contents.”
Apart from that heading, the two are identical, and you can retype the heading.
- The table appears with dotted leaders and page numbers on the right. On Windows, hold Ctrl and click an entry to jump to that section. On a Mac, click the entry.

The automatic styles list Heading 1 to Heading 3 only. If you use Heading 4 or lower and want those included, see Change how the table looks.
If the table is the wrong style or in the wrong spot, press Ctrl+Z (Command+Z on a Mac) to take it out and try again. Our guide to undoing changes in Microsoft Word explains how to step back several actions at once.
Step 3: Update the table after editing
A table of contents doesn’t refresh on its own. If you add a section, rename a heading or push text onto new pages, update it before you print, share or save as PDF.
- Click anywhere inside the table. A gray frame with an Update Table button appears at the top. You can click that button, or go to References > Update Table.
- In the Update Table of Contents box, choose an option:
- Update page numbers only refreshes page numbers but ignores new or renamed headings. Use it when you’ve only added text inside sections.
- Update entire table rebuilds the list from your headings. Use it whenever headings have changed.
- Click OK.

Note: Update entire table replaces anything you typed directly into the table, such as reworded entries or font changes made to individual lines. Make wording changes in the headings themselves and formatting changes through the table’s styles, so an update doesn’t undo your work.
You can also right-click the table and choose Update Field, or click in it and press F9 on Windows. Both open the same choice.
Page numbers are calculated from the printed layout. If they look off on screen, switch to View > Print Layout before updating. Our guide on getting Word back to Print Layout or Draft view covers the view options.
Change how the table looks
Every display option lives in one dialog box: References > Table of Contents > Custom Table of Contents. When you click OK, Word asks whether to replace the existing table. Click Yes.
| Setting | What it changes |
|---|---|
| Show page numbers | Turn page numbers on or off. Off can suit an online-only document where readers click the links. |
| Right align page numbers | Lines numbers up at the right margin. Leaders are available only when this is on. |
| Tab leader | The characters between entry and page number: dots, dashes, a solid line or none. |
| Use hyperlinks instead of page numbers | Controls the clickable links, which also carry into a PDF saved from Word. |
| Formats | Preset designs such as Classic, Formal, Modern and Simple. From template uses your document’s own TOC styles. |
| Show levels | How many heading levels appear, from 1 to 9. Set it to 2 for a short table or 4 to include Heading 4. |
| Options | Lets you include other styles, such as a custom “Chapter” style, and assign each a level. |
| Modify | Changes the font, size and spacing of each table level (styles TOC 1, TOC 2 and so on). Available when Formats is set to From template. |
To change the font of one level, click Modify, select that level (for example TOC 2), click Modify again, make your changes, and click OK twice. Because you’ve changed the style, your formatting survives future updates. The same applies to spacing between entries; our guide to adjusting line spacing in Word explains the spacing settings you’ll see in the Modify Style box. Microsoft’s own walkthrough of these options is in its guide to formatting a table of contents.
Word for the web
Word for the web, the free browser version at office.com, supports tables of contents with fewer options:
- Apply heading styles from the Home tab, as above.
- Click where the table should go.
- On the References tab, click Table of Contents and choose a style.
- To refresh it later, click inside the table and choose References > Update Table.

Microsoft’s documentation for the web version is inconsistent on how much you can customize, so if you don’t see an option such as leaders, levels or custom styles, open the file in the desktop app (the Editing menu at the top right has an Open in Desktop App option; some versions label it Edit in Word) and make the change in the desktop version. The table keeps working when you return to the browser.
Manual tables of contents
The Table of Contents menu also offers Manual Table. It inserts placeholder entries such as “Type chapter title (level 1)” that you fill in yourself. Word does not connect them to your headings, so they never update and page numbers must be typed by hand. Use a manual table only when your document can’t use heading styles, such as a short program or brochure. For anything that will change, the automatic version saves time and avoids wrong page numbers.
Fixing a table that looks wrong
- “No table of contents entries found”: none of your titles use a heading style. Apply Heading 1, 2 or 3, then click Update Table.
- Some headings are missing: those lines use plain formatting or a heading level below the Show levels setting. Check them in the Navigation Pane, apply the right style, then choose Update entire table.
- Body text appears in the table: a normal paragraph picked up a heading style, often because you pressed Enter at the end of a heading and kept typing. Click in that paragraph, choose Normal in the Styles gallery, and update the table.
- Page numbers are wrong: the table hasn’t been updated since the last edit. Choose Update page numbers only, or Update entire table if headings also changed.
- The table shows {TOC \o “1-3” \h \z \u} instead of entries: field codes are switched on. Press Alt+F9 on Windows to switch back, or right-click the code and choose Toggle Field Codes.
- Entries are gray: that’s field shading, which shows on screen only and doesn’t print.
- Your formatting disappeared after updating: it was applied directly to the table lines. Reapply it through Custom Table of Contents > Modify instead.
- Links don’t work in a PDF: save with File > Save As and choose PDF (or Export > Create PDF/XPS) instead of printing to a PDF printer, which drops links.
Remove a table of contents
- Click anywhere in the table.
- Go to References > Table of Contents.
- Click Remove Table of Contents at the bottom of the menu.

Your headings stay as they are; only the table is removed. You can also click the tab at the top-left of the table’s frame and choose Remove Table of Contents from the same menu.
Table of contents questions
Can I leave one heading out of the table?
Yes. Either give that line a non-heading style that looks similar, or, on the References tab, click in the heading, open Add Text and choose Do Not Show in Table of Contents. Then update the entire table.
Can the table of contents have no page numbers?
Yes. In Custom Table of Contents, clear Show page numbers. The entries remain clickable links.
How do I add the table to an existing document?
Go through the document once applying heading styles, check the Navigation Pane, then insert the table. You don’t need to retype anything.
Does the table of contents stay clickable in a PDF?
Yes, if you create the PDF with Word’s Save As or Export command. Readers can click entries to jump to each section.
Why does my table say “Contents” instead of “Table of Contents”?
You picked Automatic Table 1. Click the word “Contents” at the top and type the heading you want, or remove the table and insert Automatic Table 2.
Once the table is in place, make updating it part of your final check before sending any document. A quick Update entire table takes a second and catches every changed page number.