Word can generate a table of contents automatically from your document's headings
A table of contents is a list at the beginning of your document that shows every heading and its page number. Word builds it automatically by reading the heading styles you have already applied — Heading 1, Heading 2, and so on. You do not type it manually. Once you create it, Word updates the page numbers if your document changes, so a 50-page report stays accurate even after you add or cut sections.
The fastest way is to place your cursor where you want the table of contents to appear (usually after your title page), go to the References tab, click Table of Contents, and pick a style. Word then scans your document, finds every heading, and inserts a formatted list with page numbers.
Key Takeaways
- Your document must use Word's built-in heading styles (Heading 1, Heading 2) for Word to find the sections — plain bold text does not work.
- The table of contents goes in the spot where you place your cursor, usually on a page by itself after the title page.
- Word updates page numbers automatically when you add, remove, or move sections, but you must right-click the table and choose Update Field to refresh it.
- You can choose from several pre-designed table of contents layouts in the References tab, or create a custom one if you need a specific format.
Apply heading styles to your document sections first
Before Word can build a table of contents, it needs to know which text is a heading. Select the text you want to be a heading — for example, "Chapter 1: Introduction" — then go to the Home tab and click Heading 1 in the Styles group. Do this for every major section title in your document.
For subsections under those headings, use Heading 2. If you have sub-subsections, use Heading 3. Word will include all of these in the table of contents in the order they appear. If you skip this step and just make text bold or larger, Word will not see it as a heading and will not add it to the table of contents.
You can see which style is applied to any text by clicking on it and looking at the Styles group on the Home tab — the current style is highlighted. If you have already formatted your document and want to change the appearance of all Heading 1 text at once, right-click Heading 1 in the Styles group and choose Modify to change the font, size, or color.
Insert the table of contents in the right location
Click where you want the table of contents to appear. This is usually on its own page, right after your title page or introduction. Press Ctrl+Enter to insert a page break if you want the table of contents on a fresh page, then click at the top of that new page.
Go to the References tab at the top of the ribbon. Click Table of Contents and you will see a menu of pre-made designs. Click the one you prefer — Automatic Table is the most common choice. Word scans your document, finds every heading, and inserts the table of contents right where your cursor was.
Update the table of contents when your document changes
If you add, remove, or move sections after you create the table of contents, the page numbers will be wrong. Right-click anywhere in the table of contents and select Update Field. A dialog box will appear asking whether to update page numbers only or the entire table. Choose Update entire table to catch new headings or deleted ones.
Word will rescan your document and fix all the page numbers and section titles in seconds. You can also select the table of contents and press F9 to update it. If you make changes and forget to update, readers will follow incorrect page numbers, so get in the habit of updating right before you share the document.
Customize the table of contents style and appearance
The pre-made designs in the Table of Contents menu cover most needs, but you can change how yours looks. Right-click the table of contents and choose Edit Field. A dialog box opens where you can change which heading levels to include — for example, you might want only Heading 1 and Heading 2, not Heading 3.
You can also change the formatting by selecting the entire table of contents and applying a different font or size from the Home tab, just as you would any other text. If you want a completely custom design, you can delete the automatic table and type one manually, though you will lose the automatic updates when your document changes.
Troubleshoot when the table of contents is empty or incomplete
If Word inserts a table of contents but it is blank or missing sections, the most common cause is that those sections are not formatted with heading styles. Go back through your document and check that every section title uses Heading 1, Heading 2, or another heading style from the Home tab. Plain bold text, even if it looks like a heading, will not appear in the table of contents.
Another reason the table might be incomplete is that you used a different method to format headings — for example, you applied a custom style that is not based on Word's built-in heading styles. To fix this, select the heading, go to Home, and click the actual Heading 1 or Heading 2 style. Then right-click the table of contents and choose Update Field to refresh it.
Delete or replace the table of contents
If you want to remove the table of contents, click anywhere in it and right-click. Choose Remove Table of Contents. The list disappears, but your heading styles remain in the document, so you can insert a new table of contents later if you change your mind.
To replace it with a different design, right-click the table of contents, choose Remove Table of Contents, then go to the References tab and insert a new one using a different style from the menu. This is faster than deleting and rebuilding from scratch.
Frequently Asked Questions
Can I include text that is not a heading in the table of contents?
Not through the automatic method. The table of contents only reads heading styles. If you want to include something else, you can manually type it into a custom table of contents, but then you lose automatic updates. For most documents, sticking to heading styles keeps things simple.
What if my page numbers are wrong in the table of contents?
Right-click the table of contents and choose Update Field. If the numbers are still wrong after updating, check that you have not inserted manual page breaks or changed margins in ways that shift where sections land. Updating should fix most cases.
Does the table of contents work the same way in Word Online?
Word Online has a table of contents feature, but it is simpler than the desktop version. Go to the References tab, click Table of Contents, and choose a style. The same heading-style rule applies — your sections must use Heading 1, Heading 2, and so on.
Can I make the table of contents clickable so readers can jump to sections?
Yes. In the desktop version of Word, right-click the table of contents and choose Edit Field. Check the box for Use hyperlinks instead of page numbers. Readers can then Ctrl+click any entry to jump to that section. This works best for documents shared as PDFs or read on screen.