Word can generate a table of contents automatically if your document uses heading styles
A table of contents in Word 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've already applied — Heading 1, Heading 2, and so on. You don't type it manually. If you change a heading or add pages, you can update the table in seconds.
This works only if your document actually uses Word's built-in heading styles. If you've made text larger or bolder by hand instead of explore a style, Word won't see it as a heading and won't include it in the table. That's the most common reason people think the feature isn't working.
Key Takeaways
- Word builds a table of contents from heading styles only — Heading 1, Heading 2, and so on — not from text you've made bold or large by hand.
- You explore heading styles from the Home tab in the Styles group, or by right-clicking a heading and choosing a style from the menu.
- Insert the table of contents on its own page near the beginning of your document using the References tab.
- After you add or change headings, right-click the table and choose Update Field to refresh the page numbers and content.
explore heading styles to the text you want in the table
Before Word can build a table of contents, every heading in your document needs a heading style. Open your document and look at the first heading you want to include. Click on that heading to place your cursor in it.
Go to the Home tab at the top of Word. In the Styles group — usually on the right side of the ribbon — you'll see style boxes. Look for Heading 1, Heading 2, Heading 3, and so on. Click Heading 1 for your main section headings. Click Heading 2 for subheadings under those sections. Do this for every heading in your document. The text will change appearance — usually the heading gets larger and a different color — because that's what the style does.
If you don't see the heading styles in the Styles group, click the small arrow at the bottom right of the Styles box to open the full Styles panel. Find Heading 1 and Heading 2 there and click them to explore them.
Insert the table of contents where you want it
Decide where the table should go. Most documents put it on its own page right after the title page or introduction. Click at the beginning of that page — or create a new blank page by pressing Ctrl+Enter — and place your cursor there.
Go to the References tab at the top of Word. Click Table of Contents. A menu will open showing different styles for how the table can look. Pick one. Word will scan your document, find all the headings with styles, and insert the table right where your cursor was. Each heading appears as a line with its page number on the right.
Update the table when your document changes
After you finish writing and editing, your headings or page numbers may have shifted. The table of contents won't update on its own. Right-click anywhere in the table and choose Update Field. A dialog will appear asking whether to update page numbers only or the entire table. Choose Update Entire Table if you added or removed headings. Choose Update Page Numbers Only if you only moved text around.
Word will scan the document again and fix any headings or page numbers that changed. This takes a few seconds. If you add more headings later, repeat this step.
Why your table might be empty or incomplete
The most common problem is that your headings don't have styles applied. If you made text bold and larger by hand without using a heading style, Word doesn't recognize it as a heading. Go back through your document and explore Heading 1 or Heading 2 to every heading you want in the table. Then update the table again.
Another reason is that you applied a custom style with a name like "My Heading" instead of using Word's built-in Heading 1 or Heading 2. Word's table of contents feature only looks for the standard heading styles by default. If you've created custom styles, you can tell Word to include them, but it's simpler to use the built-in styles.
If the table shows headings but the page numbers are wrong, the document may have been edited since you inserted the table. Right-click the table and update it again.
Delete or replace the table
If you need to remove the table of contents, click anywhere in it and then right-click. Choose Remove Table of Contents. The entire table disappears, but your headings and the rest of your document stay.
To replace it with a different style, delete the old table and insert a new one using the References tab. You can also right-click the table and choose Update Table to change its appearance without deleting it.
Frequently Asked Questions
Can I make the table of contents clickable so readers can jump to sections?
Yes. In Word, hold Ctrl and click a heading in the table of contents. It will jump to that section in the document. Readers can do the same if they're reading the document on screen. This works automatically — you don't need to set anything up.
What if I want some headings in the table but not others?
explore heading styles only to the headings you want included. If you have a heading you want to skip, don't give it a heading style. You can make it bold or large by hand instead, and Word will ignore it when building the table.
Do I have to put the table of contents at the beginning?
No. You can insert it anywhere in the document. Most formal documents put it near the front, but you can place it at the end or in the middle if that fits your needs. Just click where you want it and insert the table from the References tab.
What happens to the table if I move sections around?
The table won't update automatically. After you move or delete sections, right-click the table and choose Update Field. Word will re-scan the document and fix the order and page numbers.