logo
search
list

Table of Content

Why Is My Automatic Table of Contents Not Working?
Customize the Automatic Table of Contents
Create an Automatic TOC on Mac or Word for the Web
Managing a Long Document? WPS Writer Can Make the TOC Workflow Easier
Frequently Asked Questions

How to Create an Automatic Table of Contents in Word and Keep It Updated

Posted by Algirdas Jasaitis

calendar

2026-07-23

views

870

likes

4

Quick answer: Here is how to create automatic table of contents in word: format the section titles you want to include with Word’s built-in Heading 1, Heading 2, and Heading 3 styles. Then place the cursor where the table should appear and select References > Table of Contents > Automatic Table.

  1. Select a main section title.

  2. Go to Home > Styles.

  3. Apply Heading 1, Heading 2, or Heading 3.

  4. Repeat this for all titles you want in the table.

  5. Place the cursor where the table of contents should appear.

  6. Select References > Table of Contents and choose an automatic style.

    100% secure
Select each section title → Home → Styles → Apply Heading 1, Heading 2, or Heading 3

Place the cursor → References → Table of Contents → Choose an automatic style

Important: After adding, deleting, renaming, or moving headings, click inside the table and choose References > Update Table > Update entire table. An automatic TOC can be rebuilt from your headings, but it does not continuously refresh every time you edit the document.

Overview of creating and updating an automatic table of contents in Word
Apply Heading 1 to main sections and Heading 2 or Heading 3 to subsections.

Step 2 — Insert an Automatic Table of Contents

Once the heading structure is ready, Word can generate the table.

Place the Cursor Where the TOC Should Appear

Click where you want to insert the table of contents. It is usually placed after the title or cover page, before the introduction, near the beginning of the document, or on a separate page.

For a long document, inserting a page break before the TOC helps keep it separate from the main text.

Open the Table of Contents Menu

References → Table of Contents

Choose an Automatic Table

Select an automatic table style from the gallery. The exact design and name may vary between Word versions, but the option should be identified as an automatic table rather than a manual one.

Insert an automatic table of contents from the References tab in Word
Place the cursor where the TOC should appear, then choose an automatic table from References > Table of Contents.

Check the Generated TOC

  • All main sections appear.

  • Heading 2 and Heading 3 entries have the correct indentation.

  • The section order matches the document.

  • Page numbers appear correctly.

  • Normal paragraphs are not included.

  • The table is placed on the intended page.

If a section is missing, do not type it directly into the generated table. Correct the heading style in the document and update the entire table.

Step 3 — Update the Table of Contents After Editing

After inserting the table, you may continue writing, rename sections, add new headings, delete content, or move chapters. These changes can make the headings or page numbers in the TOC outdated.

Click inside the table of contents → References → Update Table
Update a table of contents in Word
Use Update Table after editing. Choose Update entire table when headings have changed.

Update Page Numbers Only

Choose Update page numbers only when no heading text has changed, no heading has been added or removed, and your edits only moved existing sections to different pages.

Update the Entire Table

Choose Update entire table when you have added a heading, removed a section, renamed a heading, changed a heading level, moved a section, or changed the document hierarchy.

Click inside the TOC → Update Table → Update entire table → OK

When you are unsure which option to choose, use Update entire table.

Before and after updating a table of contents in Word
Updating the entire table refreshes both headings and page numbers.

Update the TOC with F9

  1. Click inside the table.

  2. Press F9.

  3. Choose whether to update page numbers or the entire table.

  4. Select OK.

You can also right-click inside the TOC and select Update Field.

Update Before Printing or Exporting

Update the entire table before printing the document, exporting the final PDF, submitting a thesis or assignment, sending a report to a client, or uploading a final version for review.

Pro tip: In Word for Windows, you can enable File > Options > Display > Update fields before printing. Review the final TOC manually even when this option is enabled.

Why Is My Automatic Table of Contents Not Working?

ProblemMost likely causeQuick fix
A heading is missingThe title does not use a Heading styleApply Heading 1–3 and update the entire table
Normal text appears in the TOCThe paragraph accidentally uses a Heading styleChange it to Normal and update the table
New sections do not appearOnly page numbers were updatedChoose Update entire table
The TOC cannot updateA Manual Table was insertedReplace it with an Automatic Table
Page numbers are incorrectThe layout changed after the last updateFinish the layout and update again
Formatting disappearsTOC entries were formatted individuallyModify the TOC styles instead

A Heading Is Missing from the TOC

Select the missing title, apply Heading 1, Heading 2, or Heading 3 from Home > Styles, and then choose Update entire table.

Normal Text Appears in the TOC

Select the unwanted paragraph in the document, apply Normal or the correct body-text style, and update the entire table.

New Headings Do Not Appear

Update page numbers only cannot add a newly created section or reflect renamed heading text. Choose Update entire table.

The TOC Cannot Be Updated

You may have inserted a Manual Table. Remove it, confirm that the document uses Heading styles, and insert an automatic table from References > Table of Contents.

Page Numbers Are Incorrect

Check page breaks, section breaks, blank pages, image positions, paragraph spacing, headers and footers, and page-number settings. After correcting the layout, update the page numbers or the entire table.

Formatting Disappears After Updating

Avoid formatting every TOC entry individually. Modify the styles associated with each level instead: TOC 1, TOC 2, and TOC 3.

Customize the Automatic Table of Contents

The built-in automatic table is suitable for many documents. A thesis, manual, book, or formal report may require additional control.

References → Table of Contents → Custom Table of Contents
Customize heading levels page numbers and tab leaders in a Word table of contents
Use Custom Table of Contents to control levels, page numbers, tab leaders, fonts, and spacing.

Change How Many Heading Levels Appear

Show levelsResult
1Heading 1 only
2Heading 1 and Heading 2
3Heading 1, Heading 2, and Heading 3

Show, Hide, or Align Page Numbers

In the Custom Table of Contents dialog, you can adjust whether page numbers appear, whether they are right-aligned, which tab leader is used, and how many heading levels appear.

Change Dot Leaders

The characters between a heading and its page number are called tab leaders. Common choices include dots, dashes, a solid line, or none.

Change the TOC Font and Spacing

References → Table of Contents → Custom Table of Contents → Modify

Select TOC 1, TOC 2, or TOC 3, then adjust the font, font size, bold or italic formatting, indentation, paragraph spacing, and line spacing.

Remove and Reinsert the TOC

Removing the TOC does not delete the headings or body content from the document. You can later insert a different automatic or custom table using the same heading structure.

Create an Automatic TOC on Mac or Word for the Web

The core workflow is similar across current desktop and web versions:

Apply Heading Styles → Place the cursor → References → Table of Contents → Choose an automatic style

Word for Mac

  1. Select each section title.

  2. Apply Heading 1, Heading 2, or Heading 3.

  3. Place the cursor where the TOC should appear.

  4. Open the References tab.

  5. Select Table of Contents.

  6. Choose an automatic style.

  7. Update the table after changing the document.

Word for the Web

  1. Apply heading styles to the required titles.

  2. Click where you want the TOC.

  3. Open References.

  4. Insert the table of contents.

  5. Update it after changing the document.

Saving the cloud document and updating the TOC are separate actions. Saving preserves the edits, while updating rebuilds the table from the latest document structure.

Managing a Long Document? WPS Writer Can Make the TOC Workflow Easier

Microsoft Word already provides the necessary tools for creating and updating an automatic table of contents. If the document is already open in Word and you only need to insert one basic TOC, continuing in Word is usually the most direct option.

WPS Writer becomes more relevant when the TOC is one part of a larger long-document workflow. For example, you may need to reorganize a thesis, report, manual, or book repeatedly; assign and adjust many TOC levels; compare the main document with formatting requirements; keep earlier drafts and reference files open; or update the TOC and export the final document as PDF.

Your workflowHow WPS Writer helps
You frequently restructure a long documentApply heading styles or assign TOC levels from the References tab
You need to control exactly which sections enter the TOCAssign Level 1, Level 2, or Level 3 before generating it
You compare the manuscript with guidelines and older draftsKeep multiple documents open as tabs in one window
You need an editable file and a final delivery versionContinue editing the DOCX and export the completed document as PDF
You only need a basic TOC in a document already open in WordContinuing in Microsoft Word is normally sufficient

Assign TOC Levels While Structuring a Long Document

Select a section title → Home → Styles → Heading 1, Heading 2, or Heading 3

Select a paragraph → References → TOC Level → Level 1, Level 2, or Level 3

Insert the TOC in WPS Writer

  1. Place the cursor where the TOC should appear.

  2. Open References.

  3. Select Insert TOC.

  4. Choose the number of levels to display.

  5. Configure the page-number and tab-leader settings.

  6. Enable hyperlinks when required.

  7. Select OK.

Keep the Main Document and Reference Files Open as Tabs

This can be useful when checking whether the TOC follows submission requirements, whether the heading levels match a formatting guide, whether an earlier chapter structure should be restored, or whether feedback has been applied correctly.

Update the TOC in WPS Writer

Select the table of contents → References → Update TOC

Save the Editable DOCX and Export the Final PDF

Apply heading or TOC levels → Insert the TOC → Edit and reorganize the document → Update the TOC → Save the editable DOCX → Export the final PDF
Insert and update a table of contents in WPS Writer
WPS Writer can help manage heading levels, multiple document tabs, TOC updates, and PDF export in long-document workflows.

When Microsoft Word Is Still the Better Choice

  • The document is part of a Microsoft 365 collaboration workflow.

  • Several users are co-authoring through OneDrive or SharePoint.

  • Your organization relies on Word-specific templates or permissions.

  • The file uses Word-specific macros.

  • You only need to insert a basic TOC in a document already open in Word.

Organize and Finish Your Long Document with WPS Writer

Apply heading or TOC levels, insert and update an automatic table of contents, keep reference documents open as tabs, and export the completed report, thesis, manual, or book as PDF.

100% secure
WPS Writer
WPS Presentation
WPS Spreadsheet
WPS PDF
Create Automatic Tables of Contents in Word for Free

Frequently Asked Questions

How to create automatic table of contents in Word?

Apply Heading 1, Heading 2, and Heading 3 styles to the titles you want to include. Place the cursor where the TOC should appear, then select References > Table of Contents and choose an automatic style.

Why are some headings missing from my table of contents?

The missing title may not use a built-in Heading style. Select it, apply Heading 1, Heading 2, or Heading 3 from Home > Styles, and then update the entire table.

Does a Word table of contents update automatically?

Word generates the TOC from the heading structure, but it normally needs to be refreshed after document changes. Click inside the table and choose References > Update Table.

What is the difference between Update page numbers only and Update entire table?

Update page numbers only changes the locations of existing entries. Update entire table also reflects new, removed, renamed, or reorganized headings.

Why is normal text appearing in my TOC?

The paragraph probably uses a Heading style. Change it to Normal or the correct body style, and then update the entire table.

Why do new headings not appear?

You may have selected Update page numbers only. Choose Update entire table to include newly added or renamed headings.

Can I change how many heading levels appear?

Yes. Open References > Table of Contents > Custom Table of Contents, and change the number of levels shown.

Can I create and update a TOC in WPS Writer?

Yes. Apply heading styles or TOC levels, use References > Insert TOC to create the table, and select References > Update TOC after modifying the document.

Algirdas Jasaitis

15 years of office industry experience, tech lover and copywriter. Follow me for product reviews, comparisons, and recommendations for new apps and software.