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.
Select a main section title.
Go to Home > Styles.
Apply Heading 1, Heading 2, or Heading 3.
Repeat this for all titles you want in the table.
Place the cursor where the table of contents should appear.
Select References > Table of Contents and choose an automatic style.
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.

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
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.

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.

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.
When you are unsure which option to choose, use Update entire table.

Update the TOC with F9
Click inside the table.
Press F9.
Choose whether to update page numbers or the entire table.
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.
Why Is My Automatic Table of Contents Not Working?
| Problem | Most likely cause | Quick fix |
|---|---|---|
| A heading is missing | The title does not use a Heading style | Apply Heading 1–3 and update the entire table |
| Normal text appears in the TOC | The paragraph accidentally uses a Heading style | Change it to Normal and update the table |
| New sections do not appear | Only page numbers were updated | Choose Update entire table |
| The TOC cannot update | A Manual Table was inserted | Replace it with an Automatic Table |
| Page numbers are incorrect | The layout changed after the last update | Finish the layout and update again |
| Formatting disappears | TOC entries were formatted individually | Modify 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.

Change How Many Heading Levels Appear
| Show levels | Result |
|---|---|
| 1 | Heading 1 only |
| 2 | Heading 1 and Heading 2 |
| 3 | Heading 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
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:
Word for Mac
Select each section title.
Apply Heading 1, Heading 2, or Heading 3.
Place the cursor where the TOC should appear.
Open the References tab.
Select Table of Contents.
Choose an automatic style.
Update the table after changing the document.
Word for the Web
Apply heading styles to the required titles.
Click where you want the TOC.
Open References.
Insert the table of contents.
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 workflow | How WPS Writer helps |
|---|---|
| You frequently restructure a long document | Apply heading styles or assign TOC levels from the References tab |
| You need to control exactly which sections enter the TOC | Assign Level 1, Level 2, or Level 3 before generating it |
| You compare the manuscript with guidelines and older drafts | Keep multiple documents open as tabs in one window |
| You need an editable file and a final delivery version | Continue editing the DOCX and export the completed document as PDF |
| You only need a basic TOC in a document already open in Word | Continuing in Microsoft Word is normally sufficient |
Assign TOC Levels While Structuring a Long Document
Select a paragraph → References → TOC Level → Level 1, Level 2, or Level 3
Insert the TOC in WPS Writer
Place the cursor where the TOC should appear.
Open References.
Select Insert TOC.
Choose the number of levels to display.
Configure the page-number and tab-leader settings.
Enable hyperlinks when required.
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
Save the Editable DOCX and Export the Final PDF

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.
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.




