Link your table of contents to your document headings so it updates when you change them
A table of contents in Word works by reading the headings you've already formatted in your document. When you insert one, Word scans for text marked as Heading 1, Heading 2, and Heading 3, then lists those headings with their page numbers. The "link" is automatic — Word watches those headings and updates the table whenever you add, delete, or move them. You don't create a separate link; you format your headings correctly first, then insert the table of contents.
The most common mistake is typing headings as regular text and making them look big or bold by hand. Word won't recognize those as headings. You have to use the actual Heading styles built into Word, which takes about 30 seconds per document to set up.
Key Takeaways
- Word's table of contents reads from Heading 1, Heading 2, and Heading 3 styles you apply to your document text — not from manually bolded or enlarged text.
- You format your headings first using the Styles panel, then insert the table of contents, and Word automatically links them together.
- After you insert the table of contents, you can right-click it and choose Update Field to refresh page numbers whenever your document changes.
- If your table of contents shows nothing, your document has no text formatted with heading styles — go back and apply them before trying again.
Format your headings with Word's built-in styles
Open your document and find the first heading you want in your table of contents. Select the entire line of text by triple-clicking it or dragging across it. Don't select just part of the heading — select the whole thing.
On the Home tab at the top of Word, look for the Styles section. You'll see boxes labeled "Normal", "Heading 1", "Heading 2", and others. Click Heading 1 for your main chapter or section titles. Word will instantly reformat that text — it will usually turn blue and larger. That's the style being applied, and that's what Word uses to build your table of contents.
Repeat this for every heading in your document. Use Heading 1 for the biggest divisions (like chapter titles), Heading 2 for subsections under those, and Heading 3 for smaller subsections under Heading 2. If you only have one level of headings, use only Heading 1 — that's fine. Don't skip levels (like going from Heading 1 straight to Heading 3); it confuses the table of contents layout.
Insert the table of contents
Click where you want the table of contents to appear — usually near the beginning of your document, on its own page. Go to the References tab at the top of Word. Click the Table of Contents button. A menu will open showing you different styles for how the table will look.
Pick any style you like — they all work the same way. Word will insert a table of contents that lists every heading you formatted, along with the page number where each one appears. If nothing appears, go back and check that you actually applied Heading styles to your text. Manually bolded or enlarged text won't show up.
Update the table when your document changes
After you've inserted the table of contents, you can keep editing your document. When you add new headings, delete old ones, or move sections around, the table of contents doesn't update automatically — you have to tell Word to refresh it.
Right-click anywhere inside the table of contents box. A menu will appear. Click Update Field. Word will scan your document again, add any new headings, remove any you deleted, and fix all the page numbers. This takes a second or two. Do this before you print or share your document so the page numbers are correct.
Fix a table of contents that shows the wrong page numbers
If your table of contents lists the right headings but the page numbers are wrong, Word probably hasn't updated since you last edited. Right-click the table and click Update Field. Choose Update entire table when the dialog appears, then click OK.
If the page numbers are still wrong after updating, check whether you've added page breaks or changed margins recently. Word counts pages from the beginning of the document, so if you inserted a page break in the middle, everything after it shifts. Make sure your page breaks are in the right places, then update the table again.
Make the table of contents clickable
In Word on a computer, your table of contents is already clickable. Hold Ctrl and click any heading in the table, and Word will jump to that heading in your document. This works in the document itself — not in a printed version.
If you're sharing the document as a PDF, the links usually stay clickable if you save it as a PDF from Word (File > Save As > PDF). Test it after saving to make sure the links work in your PDF reader.
Delete and rebuild the table of contents
If your table of contents is broken or looks wrong, you can delete it and start over. Click anywhere inside the table of contents box. The entire box will get a border around it. Press Delete. The table disappears.
Now go back and make sure all your headings are formatted with the correct heading styles. Once you've done that, go back to the References tab, click Table of Contents, and insert a new one. This usually fixes any display problems.
Frequently Asked Questions
Can I manually edit the table of contents?
You can type in it, but Word will overwrite your changes the next time you update it. It's better to edit the actual headings in your document, then update the table. That way your changes stick.
What if I don't want a heading to appear in the table of contents?
Format it with a style that isn't Heading 1, 2, or 3 — like Normal or a custom style. Or select the heading, go to References > Table of Contents > Exclude from Table of Contents. Word will skip it when you update.
Does the table of contents work the same way in Word online?
Yes. Format your headings with heading styles, then go to Insert > Table of Contents. The process is identical. Updates work the same way too — right-click and choose Update.
Why does my table of contents show text that isn't a heading?
You probably accidentally applied a heading style to regular text. Search your document for any text formatted as Heading 1, 2, or 3 that shouldn't be there, and change it back to Normal style. Then update the table.