Word builds a table of contents from heading styles, so the first job is to format each section title as Heading 1, Heading 2 or Heading 3 before you insert anything. Then put your cursor where the list should go and choose References > Table of Contents, and later use References > Update Table whenever your headings or page numbers change.
Steps cover Word for Microsoft 365, 2024 and 2021 on Windows and Mac, plus Word for the web.
Get your headings ready first
An automatic table of contents is really a list of every paragraph that uses a heading style, along with the page each one sits on. Text that only looks like a heading (bold, larger font, centered) is invisible to Word, so it never shows up in the table. A few minutes spent on styles saves a lot of confusion later.
Apply heading styles
- Click anywhere in a chapter or main section title.
- On the Home tab, find the Styles group and choose Heading 1.
- Click in a subsection title and choose Heading 2. Use Heading 3 for the level under that.
- Repeat for every title you want listed. You only need to click inside the paragraph; selecting the whole line is optional.
In Word for Windows, keyboard shortcuts do the same job: Ctrl+Alt+1, Ctrl+Alt+2 and Ctrl+Alt+3 apply Heading 1 to 3, and Ctrl+Shift+N sets a paragraph back to Normal.
Think of the levels as an outline. In a project report, “Background”, “Method” and “Results” could be Heading 1, while “Survey design” and “Interview questions” under Method would be Heading 2. The table of contents indents each level, so the reader sees the same structure you planned.
If the built-in heading fonts do not match your document, change the style rather than formatting each title by hand: right-click Heading 1 in the Styles gallery, choose Modify, and set the font, size and color. Every Heading 1 in the file updates at once, and the table of contents stays connected to them.
Check the structure before inserting
The quickest check is the Navigation pane, which lists every heading-styled paragraph in order. If a title is missing there, it will be missing from the table of contents too. See ways to view the headings in a Word document or how to open the Navigation pane if you have not used it before. To restyle many titles at once, you can select all headings of one level together.
Some versions of Word for Windows also have an Add Text button on the References tab, which sets the level of the selected paragraph (Level 1, Level 2 and so on, or Do Not Show in Table of Contents). Either way, the level you pick decides where the title appears in the table. If you do not see it, use the Styles gallery.
Insert the table of contents (Windows and Mac)
The desktop apps on Windows and Mac use the same path. Most people put the table on its own page right after the title page.
- Click where the table of contents should appear. A blank line at the top of page 2 works well.
- Select the References tab.
- Select Table of Contents at the left end of the ribbon.
- Pick one of the automatic styles at the top of the gallery. Word builds the table from your headings and adds page numbers.
- To start the body on a fresh page, click just after the table and insert a page break (Insert > Page Break, or Ctrl+Enter on Windows).
The automatic styles differ only in the title text and look, so either one is fine. You can change the format later without rebuilding anything.
Each entry is a link to its heading. In Word for Windows, you usually hold Ctrl and click an entry to jump to that section; a plain click just places your cursor in the table so you can edit around it. That jump is handy for checking long documents section by section.
No ready document yet? In desktop Word you can go to File > New and search for “table of contents” to start from a template that already has one.
Update the table after you edit
A table of contents does not refresh itself while you type. Added sections, renamed headings and text that pushes pages forward all leave the table out of date until you update it, so do this as a final step before you print, share or save a PDF.
- Go to the References tab.
- Select Update Table.
- Choose one of the two options, then select OK.
| Option | What it changes | Use it when |
|---|---|---|
| Update page numbers only | Refreshes the page each heading is on and ignores any changes to the heading text | You only added or removed body text, and you formatted entries in the table by hand that you want to keep |
| Update entire table | Rebuilds the list so new, renamed and deleted headings are reflected, along with page changes | You added a section, retitled a heading or changed heading levels |
You can also right-click inside the table of contents and choose Update Field, which opens the same choice. Microsoft’s Update a table of contents page describes both options.
One side effect to plan for: if you changed the font or size of entries directly in the table, “Update entire table” rebuilds those entries and the hand formatting goes away. To make formatting stick, change the table of contents styles instead (see the next section).
Customize levels, leaders and entry styles
The gallery styles show three heading levels with dotted leaders and right-aligned page numbers. To change any of that, open the Custom dialog.
- Click in the existing table (or where you want a new one).
- Go to References > Table of Contents > Custom Table of Contents.
- Adjust the settings described below. The preview boxes show the result before you commit.
- Select OK. If Word asks whether to replace the current table of contents, choose Yes.
What each setting in the dialog does:
- Show page numbers: turn off for a short document where the list is only for clicking.
- Right align page numbers: lines the numbers up at the right margin.
- Tab leader: the characters between the entry and its page number. Dots are the default; dashes, a solid line or (none) are the alternatives.
- Use hyperlinks instead of page numbers: under Web Preview, for documents that will be read on screen.
- Formats: a set of looks for the entries. Choose From template to use the document’s own table of contents styles.
- Show levels: how many heading levels to list. Setting it to 3 lists Heading 1 through Heading 3; raise it to include Heading 4 and lower it for a shorter list.
- Options: choose which styles feed the table and at what level, for example a custom “Chapter Title” style mapped to level 1.
Change the look of entries so it survives updates
- Open References > Table of Contents > Custom Table of Contents.
- Select Modify. If Modify is grayed out, set Formats to From template first.
- Pick a level in the list (TOC 1 is the top level, TOC 2 the next) and select Modify again.
- Change the font, size, spacing or indent in the Modify Style dialog, then select OK in each dialog.
Microsoft lists these controls on its Custom table of contents and format or customize a table of contents pages. For page numbers that do not line up or leaders that stop short, see aligning a table of contents in Word.
Manual table: when it makes sense
The gallery also offers a manual table. It inserts placeholder lines you type over yourself, and it does not read your headings. Word cannot update a manual table, so every page change means retyping numbers.
It only suits a very short document, or a list that should include items that are not headings in the file. For anything that will be edited, use an automatic style. If you already typed a list by hand, delete it, apply heading styles to the real titles and insert an automatic table instead.
Word for the web
Word in a browser can add and update a table of contents, but it has fewer controls than the desktop apps.
- Apply Heading 1, Heading 2 and so on from the Styles area of the Home tab, just as in the desktop app.
- Click where the table should go.
- Open the References tab and look for Table of Contents (it may be labeled Insert Table of Contents).
- To refresh it later, right-click the table and look for an option such as Update Table of Contents, or use the update control on the References tab.
Custom settings such as levels, leaders and entry styles are not available in the browser in the same way. If you need them, open the file in the desktop Word app, make the change there and save; the result shows correctly when the file opens in the browser again.
Fix a table of contents that looks wrong
A heading is missing
Missing entries almost always mean the title is formatted to look like a heading but does not use a heading style. Click in it, choose Heading 1 (or the right level) from Home > Styles, then update the entire table. If the heading is Heading 4 or lower, raise Show levels in the Custom dialog.
Word says no entries were found
When nothing in the document uses a heading style, Word places a message in the table saying it found no table of contents entries. Apply heading styles to your section titles, then update the entire table.
Random sentences appear in the list
A body paragraph picked up a heading style, often because pressing Enter after a heading continued the style, or because text was pasted from another file. Click in the stray paragraph, choose Normal in the Styles gallery and update the entire table. If a custom style is the cause, open Custom Table of Contents > Options and clear its level.
Page numbers are off
The table shows the numbers from the last update. Update it, ideally right before you print or create a PDF. If the numbers count the cover page and you want the first content page to be 1, that is a page numbering setting rather than a table of contents setting.
Entries are not clickable
Manual tables have no links. Replace a manual table with an automatic one. In an automatic table on Windows, the jump usually needs Ctrl+Click unless you changed that preference.
Remove or replace a table of contents
- Click anywhere in the document (you do not need to select the table).
- Go to References > Table of Contents.
- Select Remove Table of Contents at the bottom of the menu.
This removes only the generated list; your headings and their styles stay in place, so you can insert a new table at any time. Microsoft confirms the path on its Delete a table of contents page. To switch to a different style, choose another automatic style from the same menu and accept the prompt to replace the existing table.
Microsoft’s Insert a table of contents page is the official reference for the basic insert.
A table of contents is the backbone of longer projects such as writing a user manual in Word. For a single jump to one section instead of a full list, you can insert a hyperlink to a heading or bookmark with Place in This Document. Related Word tasks that come up in the same documents: creating a regular table in Word for data, and inserting the file path in Word into a header or footer.
Table of contents questions
Does a table of contents work in a PDF?
Yes. Update the table, then save as PDF from Word; the page numbers print as they appear and the entries usually stay clickable. Update first, because the PDF is a snapshot and will not refresh later.
Can I have two tables of contents in one document?
It is possible, but it needs field codes and bookmarks rather than the ribbon commands, which makes it an advanced task. For most reports, one table at the front plus clear Heading 1 titles inside each chapter is easier to maintain.
Can I list figures or tables the same way?
Yes, with captions instead of headings. Word has a separate command for that; see adding a table of figures in Word.
Why does my table of contents have a gray background when I click it?
The table is a field, and Word can show field shading on screen when you click inside it. The shading is a display aid and does not print.
Can I collapse sections in the document like a menu?
Heading styles also let you collapse and expand the text under each heading while you work, which is separate from the table of contents. See making collapsible headings in Word.

Kermit Matthews runs Live2Tech from just outside Philadelphia. He is an IT specialist with over 20 years of experience, from a university help desk to small-business IT, IT management and his own consulting practice, and has written tech guides full time since 2020. Steps are checked against the current software on a real device or the maker’s official documentation. More about Kermit.