Word table of contents — Create and update an automatic TOC

Last content update 2026-10-24
Service guide
Word table of contents
View service guide →
QUICK ANSWER
In Windows desktop Word, select each body heading and apply Heading 1, Heading 2, or another suitable style under Home → Styles. Place the cursor where you want the contents, then select References → Table of Contents and an automatic style. After editing, use References → Update Table to update just the page numbers or the entire table as appropriate, then compare the contents with the actual headings.

Set the body headings before creating the contents

Word builds an automatic table of contents from the heading styles in the body. Making text bold or larger does not serve the same purpose. Identify your main headings and their subheadings first.

The following is our own outline for a meeting notice. It explains how to choose heading levels; it is not a result from creating and testing a Word file.

Example body headingExample styleRelationship
Meeting preparationHeading 1Main item
ParticipantsHeading 2Subheading of Meeting preparation
Preparation materialsHeading 2Subheading of Meeting preparation
DecisionsHeading 1Another main item
Follow-up workHeading 1Another main item

Select each body heading and apply the appropriate heading style under Home → Styles. Heading 1 and Heading 2 describe the document hierarchy, not just text sizes. To include subheadings, match the styles in the body with the levels shown in the table of contents.

The main procedure below is for Windows desktop Word. Labels may vary with the version and ribbon layout. See the Word access guide (Korean) for app access and free web/installed-app conditions. The service-guide button opens this article’s Korean original.

Insert an automatic table from References

Keep the original and organize the heading styles in a copy before proceeding.

  1. Place the cursor where you want the table of contents.
  2. Open References → Table of Contents.
  3. Choose an Automatic Table of Contents style from the list.
  4. Check that the main headings and subheadings appear in the intended order.
  5. Compare each entry’s heading text and page number with the body.

A menu item that looks like a contents layout may be a Manual Table of Contents. That does not read the body headings and update automatically. If you plan to keep editing, check which type you are using.

Inserting the table may push the body forward and change page positions. Do not submit based only on the numbers shown immediately after insertion; update again when the document is organized.

Update the table to match your changes

Using an automatic table does not mean every edit appears immediately. After editing the body, choose the update scope under References → Update Table. Microsoft’s help also describes updating through the table’s right-click menu.

What changedUpdate to chooseWhat to check
Only heading page positions changed after adding text or picturesUpdate page numbers onlyPage numbers of existing entries
You changed a heading’s wordingUpdate entire tableThe new wording and page number
You added/deleted headings or changed their order or levelUpdate entire tableEntry structure, hierarchy, order, and page numbers

Update page numbers only ignores changes to heading text. Update entire table includes both heading and page changes. Confirm the selection and inspect whether the changes you need are present.

For example, if you rename “Preparation materials” to “Review materials” in the body but the old text remains in the contents, check whether you updated only the numbers. Also check that the heading style remains applied, then update the entire table. Inspect the existing table’s type and update scope before repeatedly inserting another table in the same place.

If headings are missing or the table does not change

What you seeWhat to check
A heading was never includedSelect it in the body → check its heading style under Home → update the entire table
Only subheadings are missingCheck heading levels in the body and the levels shown in Custom Table of Contents
Old wording remains after renaming a headingCheck whether you updated only numbers → update the entire table
Manually typed entries and numbers remain unchangedCheck whether this is an automatic table generated from headings or a manual table

If you edit text directly in the contents, the next full update may rebuild it from the body headings. To rename a heading, edit it in the body and then update the table.

Change dots, page numbers, and displayed levels

In desktop Word, set the appearance under References → Table of Contents → Custom Table of Contents. Microsoft describes options for showing, hiding, and aligning page numbers, setting a tab leader, choosing formats, and specifying the number of heading levels shown.

If you want dotted lines, check the leader setting. Typing dots repeatedly to push numbers to the right is different from formatting an automatic table. After changing the appearance, still compare the hierarchy and numbers with the body.

Microsoft also describes References → Insert Table of Contents in Word for the web and updating from the table’s right-click menu. Do not expect the same custom-formatting menus and screens as desktop Word.

Compare headings and pages before saving or submitting

  1. Finalize the wording, order, and levels of the body headings.
  2. Update the entire table to include entry and page changes.
  3. Check for missing or duplicate main headings and subheadings.
  4. Compare each contents-page number with the page where the heading actually appears.
  5. Save a DOCX copy with a new name, then reopen and check it.

If the page-numbering scheme itself is wrong, editing the contents text will not fix it. Use Word page-number settings to set sections and starting values for page 1 after the cover and contents, then update the table again.

For PDF submission, use Word and PDF conversion and check the contents wording, page order, and heading locations in the resulting copy too. Check the editing view and the final submission file’s layout together.

Official sources

Frequently asked questions

Why is a heading missing even though I made its text larger?
Changing font size or making text bold is different from applying a heading style. Select the body heading, choose the appropriate level such as Heading 1 under Home → Styles, then update the entire table of contents.
Why does the table of contents still show the old heading text?
Updating page numbers only does not include heading-text changes. Choose Update entire table and check that the body heading still uses the right style.
What is the difference between updating page numbers and the entire table?
Update page numbers only refreshes the page positions of headings already in the table. If heading text or entries have changed, update the entire table, which includes both heading and page changes.
Can I change the dotted lines or the heading levels shown?
In desktop Word, use References → Table of Contents → Custom Table of Contents to set tab leaders, page-number display and alignment, and the number of heading levels shown. Check both the body heading styles and the table's displayed levels.
Will a table of contents I typed manually update automatically?
A manually typed contents page is different from an automatic table generated from body headings. Edit its entries and numbers yourself. For automatic updating, organize the body heading styles and use an automatic table of contents.
Can Word for the web insert an automatic table of contents?
Microsoft's help describes References → Insert Table of Contents in Word for the web, then right-clicking the table to update it. This article's main procedure and custom-formatting menu are for desktop Word; the menus are not all identical on the web.