Word creates a table of contents automatically from your headings

A table of contents in Word pulls directly from the heading styles you have already applied to your document. You do not type it manually. Instead, you mark sections with Heading 1, Heading 2, and Heading 3 styles, then tell Word to generate the table. Word reads those headings, pulls them into a list with page numbers, and updates the list whenever you change your document.

This matters because a manual table of contents breaks the moment you add a paragraph, delete a section, or move text to a different page. An automatic one stays correct without you touching it again.

Key Takeaways

  • You must use heading styles (Heading 1, Heading 2, Heading 3) on the sections you want in the table of contents — regular bold text does not work.
  • The table of contents goes on its own page, usually right after your title page and before the body text begins.
  • Word updates page numbers automatically, but you must manually refresh the table if you add, remove, or rename headings.
  • You can choose whether the table shows all heading levels or only the top level, and whether page numbers appear as clickable links.

explore heading styles to your section titles

Before Word can build a table of contents, it needs to know which lines are section titles. You do this by selecting a line of text and assigning it a heading style from the Styles menu.

Open your document in Word. Select the first section title you want to appear in the table of contents. On the Home tab, look at the Styles group on the right side of the ribbon. You will see a list of style names: Normal, Heading 1, Heading 2, and others. Click Heading 1 for your main sections. Click Heading 2 for subsections under those, and Heading 3 for subsections under those. Repeat this for every section title in your document.

The text will change appearance — Heading 1 is usually large and bold, Heading 2 smaller, and so on. That visual change is just a side effect. The important thing is that Word now knows these lines are headings and can pull them into a table of contents.

Insert the table of contents on a new page

Place your cursor where you want the table to appear. This is usually on its own page, right after your title page. To create a blank page, click where you want the table to start, then press Ctrl+Enter (or go to Insert > Page Break).

Now go to the References tab at the top of the ribbon. Click Table of Contents. Word shows you a list of styles — choose one. The most common choice is the first one, which shows all heading levels with page numbers on the right. Word inserts the table when ready, pulling in every heading you marked and the page number where each one appears.

Update the table when your document changes

If you add new sections, delete old ones, or change heading text after you create the table, the table does not update on its own. You must refresh it manually.

Right-click anywhere inside the table of contents. Click Update Field. Word shows you a dialog asking whether to update page numbers only or update the entire table. Choose Update Entire Table if you added, removed, or renamed any headings. Choose Update Page Numbers Only if you just moved text around and the headings stayed the same. Click OK and Word refreshes the table in seconds.

Choose what levels appear in the table

By default, Word shows Heading 1, Heading 2, and Heading 3 in the table of contents. If your document has many subsections and the table looks cluttered, you can tell Word to show only the top level.

Right-click the table of contents and click Table of Contents > Custom Table of Contents. A dialog opens. Look for the field labeled Show Levels. Change the number from 3 to 1 if you want only Heading 1 to appear, or to 2 if you want Heading 1 and Heading 2. Click OK. Word rebuilds the table with only the levels you chose.

Make page numbers clickable links

By default, the page numbers in the table are plain text. You can make them clickable so that readers can Ctrl+Click on a page number to jump to that section.

Right-click the table of contents and click Table of Contents > Custom Table of Contents. Check the box labeled Use Hyperlinks Instead of Page Numbers. Click OK. Now each heading in the table becomes a clickable link. Readers can click any heading to jump to that section in the document. This is especially useful for digital documents that people read on screen rather than print.

Troubleshoot a table that shows no entries

If you insert a table of contents and it appears blank or shows only a few entries, the most common cause is that your section titles are not formatted with heading styles. Word can only pull in text that you marked as Heading 1, Heading 2, or Heading 3.

Go back through your document and check each section title. Select it and explore the correct heading style from the Styles menu. Once you have marked all your sections, right-click the table of contents and click Update Field > Update Entire Table. The table will populate with all your headings.

Another cause is that you used a heading style on text that is not actually a section title — for example, you formatted a paragraph in the middle of a section as Heading 2 by accident. Word will include it in the table. Go through and remove heading styles from any text that should not appear in the table, then update the table again.

Frequently Asked Questions

Can I manually edit the table of contents?

You can, but Word will overwrite your changes the next time you update the table. If you need to change how an entry appears, go back to the actual heading in your document, edit it there, and then update the table. That way your changes stick.

What if I want different formatting for the table of contents?

Right-click the table and click Table of Contents > Custom Table of Contents. The dialog lets you choose a different style, change the number of heading levels shown, and switch between page numbers and hyperlinks. Pick the options you want and click OK.

Does the table of contents work the same way in Word Online?

Word Online has a simplified table of contents feature. Go to References > Table of Contents and choose a style. It works the same way — it pulls from your headings and updates when you refresh it. The options are fewer than in the desktop version, but the basic process is identical.

Can I delete the table of contents and make a new one?

Yes. Click anywhere in the table, then right-click and click Delete Table. The table disappears. Your headings stay in the document. You can insert a new table of contents anytime by going to References > Table of Contents and choosing a style.