Word can create a table of contents automatically from your document's headings

Microsoft Word builds a table of contents by reading the heading styles you have already applied to your document. You do not type the contents page yourself — you insert it as a field that Word updates whenever your headings change. This means if you add a new section or rename a heading later, the table of contents updates in seconds instead of requiring manual edits.

The process has two parts: first, format your headings using Word's built-in heading styles (Heading 1, Heading 2, and so on). Second, place your cursor where you want the contents page and insert the table of contents field. Word then scans your document, finds every heading, and lists it with its page number.

Key Takeaways

  • Your document must use Word's heading styles (Heading 1, Heading 2, Heading 3) rather than just bold text for the table of contents to work.
  • Place your cursor at the beginning of your document, usually on a blank page after your title, before inserting the table of contents.
  • Go to the References tab, click Table of Contents, and choose a style — Word generates the list automatically from your headings.
  • After you add, remove, or rename headings, right-click the table of contents and select Update Field to refresh the page numbers and entries.

Format your headings with Word's built-in styles

Before you can insert a table of contents, every section heading in your document must be formatted as a heading style, not just made bold or larger. Word recognizes only the official heading styles — Heading 1 for main sections, Heading 2 for subsections, Heading 3 for sub-subsections, and so on.

To apply a heading style, click on the line of text you want to format. Then go to the Home tab at the top of Word. In the Styles group (the middle section of the ribbon), you will see a row of style boxes. Click on Heading 1, Heading 2, or whichever level matches that section. Word changes the text's font, size, and color to match that style. Repeat this for every heading in your document.

If you have already typed your document with bold headings, you do not need to retype anything — just select each heading and apply the correct style from the Home tab. Word will reformat it instantly.

Insert the table of contents on a new page

Place your cursor where you want the table of contents to appear. Most documents put it on a blank page right after the title page or introduction, before the main content begins. Press Ctrl+Enter (or go to Insert > Page Break) to create a new page if you need one, then click on that blank page.

Go to the References tab at the top of the ribbon. In the Table of Contents group (on the left side), click the Table of Contents button. Word shows you several design options — choose whichever style matches your document's look. Click on it, and Word inserts a complete table of contents with all your headings and their page numbers.

Update the table of contents when your document changes

If you add new headings, delete old ones, or change the text of any heading after you have inserted the table of contents, the list will not update automatically. You must refresh it manually so the page numbers and entries stay correct.

Right-click anywhere on the table of contents. A menu appears with an Update Field option at the top. Click it. Word scans your document again, finds all the current headings, and updates the list. You can also select the entire table of contents and press F9 to refresh it.

Word will ask whether you want to update page numbers only or the entire table. Choose Update entire table if you have added or removed headings, or if you have changed heading text. Choose Update page numbers only if you have just moved content around but kept the same headings.

Customize the table of contents appearance

Word offers several built-in designs when you first insert the table of contents. If you want to change the design later, delete the current one and insert a new one using a different style from the References tab.

You can also adjust which heading levels appear in the table of contents. Right-click the table and select Table of Contents Properties. A dialog box opens where you can choose to show only Heading 1 and Heading 2 (hiding Heading 3 and below), or any other combination. This is useful if your document has many levels of headings but you want a simpler contents page that shows only the main sections.

Fix common table of contents problems

If your table of contents is empty or shows only some of your headings, the most common cause is that some headings are not formatted with heading styles. Check your document and make sure every section heading uses Heading 1, Heading 2, or another heading style from the Home tab. Bold text alone does not count — Word only recognizes the official styles.

If page numbers are wrong, your document may have been edited since you last updated the table of contents. Right-click it and select Update Field, then choose Update entire table. If page numbers still seem off, check that you have not manually typed page numbers into the table — Word's automatic version updates itself, but manual entries do not.

If you see error messages or the table shows field codes instead of actual content, right-click the table and look for an option to convert it to static text, or delete it and insert a fresh one from the References tab.

Frequently Asked Questions

Can I create a table of contents without using heading styles?

No. Word's table of contents feature reads only the official heading styles (Heading 1, Heading 2, etc.). If you use bold text or larger fonts without applying these styles, Word will not recognize those lines as headings. You must go back and apply the heading styles to every section.

What if I want the table of contents on the same page as my introduction?

You can place it anywhere in your document, not just on its own page. Click where you want it to appear and insert the table of contents from the References tab. However, most formal documents put the contents on a separate page for readability.

Does the table of contents update automatically when I edit my document?

No. You must manually refresh it by right-clicking the table and selecting Update Field. Word does not update it in real time, but the process takes only a few seconds and ensures your page numbers stay accurate.

Can I edit the table of contents directly, or do I have to change the headings in my document?

You should always edit the headings in your document, not the table of contents itself. If you edit the table directly, your changes will disappear the next time you update it. Make changes to the actual heading text in your document, then update the table of contents to reflect those changes.

What heading levels should I use for a simple document?

For most documents, use Heading 1 for main sections and Heading 2 for subsections. Only use Heading 3, Heading 4, and beyond if your document has multiple levels of detail. Keeping it simple makes the table of contents easier to read and your document easier to navigate.