How to Automatically Generate a Thesis Table of Contents: Styles and Update Steps

Many people search for how to automatically generate a thesis table of contents in Word, and the problem often lies in headings not being styled. This article explains how to set heading styles for chapters, sections, and subsections, along with multilevel numbering, section breaks, and page numbers, how to update the table of contents after revisions, and provides an item-by-item checking method.

Key points of this article

  • Whether a table of contents can be generated automatically depends on whether headings use the Heading 1, Heading 2, and similar heading styles; headings that are only manually bolded will not appear in the table of contents.
  • Bind chapter numbering to heading styles using a multilevel list, so that numbers update automatically when chapters are added or removed; do not type "Chapter 1" manually.
  • Abstract, acknowledgments, and references should use styles without an outline level. Front matter and the main body should be placed in separate sections so that page numbers match the table of contents.
  • After changing heading text or page content, right-click the table of contents and select Update Field, then update the entire table to avoid outdated page numbers.
  • A list of figures and tables depends on captions; once captions are set up correctly, it can be generated in the same way.

Many people search for "how to automatically generate a thesis table of contents in Word," usually because they realize halfway through writing that the table of contents has to be edited by hand, and every time a chapter is added or removed, the page numbers all go wrong. A thesis table of contents is actually generated automatically by Word from the heading styles. As long as the chapter headings are set up with the right structure, the table of contents will follow the body text.

This article is for people who are writing a graduation thesis, a course paper, or a dissertation. After reading it, you will know how to set up heading styles, how to have chapter numbers generated automatically, how to handle parts that do not appear in the table of contents, such as the abstract and references, and how to update the table of contents and check page numbers after making changes. Your school's formatting rules are outside the scope of this article; it only covers general operations in Word.

The Table of Contents feature in Word is not complicated; the difficulty lies in setting up styles beforehand. If the styles are set correctly, inserting and updating the table later requires almost no manual work; if the styles are set incorrectly, the table of contents may be missing entries, show wrong page numbers, or even appear empty. Below, I first give the diagnosis, then walk through the steps.

How is a thesis table of contents generated automatically? One-sentence conclusion

Directly answer: First apply the Heading 1, Heading 2, and Heading 3 styles to chapters, sections, and subsections respectively, then insert a table of contents in Word; after each subsequent revision, you only need to update the table of contents, without manually adjusting page numbers.

Your situationRecommended practicesCause
The chapter hierarchy is simple, with only two or three levels.Use the built-in Heading 1 to Heading 3 styles; the table of contents displays up to level 3.Styling is simpler this way; most papers only need these few levels.
Do you need the numbering like "Chapter 1" and "1.1" in English? Here it is: "Chapter 1" and "1.1".Bind numbering to heading styles using a multilevel listAutomatic numbering: after adding or deleting sections, the numbers won't go wrong.
Abstract, acknowledgements and references should not appear in the table of contents.Use body text style without outline level or custom styleKeep them from being treated as chapters, and the formatting won't get messed up either.
Front matter uses Roman numerals; the main text starts from 1Insert a section break, and unlink the page numbers from the previous section.Table of contents page numbers must match the body page numbers.
There are many figures and tables, so a separate list of figures and list of tables is needed.Add standard captions to the charts, then insert a list of figures (table of figures).Figures form their own list, separate from the chapter table of contents.

Before You Begin: Confirm These Points

First, confirm the heading levels the school requires for the table of contents. Some schools only require up to second-level headings, while others require third-level headings. The required level determines how many heading styles you need to set up and how many levels appear in the table of contents. Asking in advance can help you avoid rework.

Check whether existing headings are "real headings." If you manually enlarged the font and made text bold to act as a heading, that content will not appear in the table of contents. The test is simple: select the heading and look at the styles box on the Home tab to see whether it shows a style name such as Heading 1 or Heading 2. If it doesn't, you need to apply a heading style.

Confirm the document structure. A thesis is usually divided into front matter (cover page, abstract, table of contents) and the main body (chapters, references, acknowledgments). The front matter and the main body often use different page numbering systems, so before you start, decide which content belongs to which part; this will save you a lot of effort when you divide the document into sections later.

Save a copy first. Updating the table of contents, adjusting styles, or inserting section breaks can all change the layout. Save a separate copy before making changes, so you can compare against it and restore if something goes wrong.

Mind the version differences. The interface location of options varies slightly between versions of Word. The steps described in this article are general. If you cannot find an option, search the interface for the feature name, such as multilevel list, section break, or update field.

Steps to Generate an Automatic Table of Contents for a Thesis in Word

  1. Apply the Heading 1 style to chapter titles. Select chapter titles such as "第一章 绪论", then choose the Heading 1 style from the style gallery on the Home tab. Be sure to select only the paragraph containing the title text, and do not select the body text along with it.
  2. Apply Level 2 and Level 3 heading styles to sections and subsections. Select level-2 headings such as "1.1 Research Background" and set them to the Heading 2 style; set level-3 headings such as "1.1.1" to the Heading 3 style. The style determines the hierarchy, and afterward font size and bold formatting are controlled uniformly by the style—do not modify them manually one by one.
  3. Modify the heading style to meet the school's requirements. In the Styles gallery, right-click the Heading 1 style, select Modify, and set the font, font size, spacing before and after paragraphs, etc. After the change, all first-level headings throughout the document will be updated automatically, which is much faster than adjusting them one by one.
  4. Number headings with a multilevel list. On the Home tab, find Multilevel List and select Define New Multilevel List. Link Level 1 to the Heading 1 style, and you can set the number format to "Chapter 1"; link Level 2 to the Heading 2 style, with the format set to "1.1". Once the settings are complete, newly added headings will be numbered automatically.
  5. Handling parts that should not appear in the table of contents. Abstract, acknowledgments, and references should not use the Level 1 heading style. You can create a custom style, set its font size and alignment according to the school's requirements, and keep its outline level as body text. This way they look like headings visually, but they will not appear in the table of contents.
  6. Insert a section break to separate the front matter from the body. Insert a next-page section break after the abstract and before Chapter 1 so that the body text becomes a new section. Then, in the header and footer, unlink it from the previous section and restart the page numbering of the body at 1.
  7. Insert the table of contents at the target position. Place the cursor where the table of contents should appear, switch to the References tab, locate the Table of Contents feature, and then select an automatic table of contents or a custom table of contents. In the custom table of contents, set the display levels to match the level required by your school, and tick the option to show page numbers.
  8. Update the table of contents after editing. After you finish writing or change headings, right-click the table of contents and select Update Field. If you only adjusted page numbers, you can choose the option to update page numbers only; if you changed heading text or added or deleted sections, choose to update the entire table. To update all fields in the whole document, press Ctrl+A to select all, then press F9.

Verify item by item after completion

After generating the table of contents, do not submit the document directly. Check each item one by one, which can help avoid rework later.

Inspection itemHow do you see it?What should I do if I have a problem?
Is the table of contents complete?Check, chapter by chapter, that every level-1 and level-2 heading in the body text appears in the table of contents.Missing entries are usually caused by headings that don't have a heading style applied. After applying the style, update the entire table of contents.
Do the page numbers correspond?Randomly pick a few table-of-contents entries, turn to the corresponding pages, and check whether the heading is on that page.Page number offsets are usually caused by sections still linked to the previous section after splitting; unlink them and reset the starting page number.
Are the numbers consecutive?Check whether the chapter/section numbers start from 1 and are in the correct order.Numbering errors are often caused by manually typed numbers; delete the manual numbering and let a multilevel list generate it instead.
Content that should not be included in the table of contentsCheck whether the abstract, acknowledgements, references, and the table of contents heading itself appear in the table of contentsRemove the outline levels of this content or change it to body text style, then update the table of contents.
Is the format consistent?Check the font, size, and spacing of headings at each level on a rolling basisGo back to the style and make the change there; the whole document will update accordingly, so there's no need to adjust each instance individually.

If the table of contents area shows that no entries can be found, it means the document has no recognizable heading styles, and you should first go back to step one and check whether the headings have had a style applied.

📊 Core Comparison

Several common approaches to thesis tables of contents exist; the main difference lies in whether they can automatically update in sync with revisions.

MethodIs it synchronized with the main text?Suitable situations
Manually enter table of contents entries and page numbersOut of sync; every change has to be edited one by one.Almost never recommended; prone to errors.
Heading styles with automatic table of contentsAfter updating the fields, the page numbers and headings are synchronized and both get refreshed.The vast majority of papers and reports
Heading styles with multilevel numbering plus automatic table of contentsSynchronize, and chapter numbering automatically continues sequentiallyChapters are numerous and need unified numbering: a long thesis
Caption and Figure/Table ListAfter adding or deleting charts, simply update to sync.Papers with many figures that need to be listed separately

🎯 Which approach suits you?

If your thesis is only a dozen or so pages with a simple structure, you only need to set up Level 1 and Level 2 heading styles and insert an automatic table of contents; there is no need to deal with section breaks.

If it is a thesis of several dozen pages, divided into chapters and with front matter, it is advisable to first set up multi-level numbering and section breaks, and only then write the main text. This way, when chapters are added or removed later, the numbering and page numbers can be adjusted automatically.

If several people are co-writing the same document, one person can first create a template with styles applied, and the others can write within that template, so that everyone's headings don't end up formatted differently.

❓ Frequently Asked Questions (FAQ)

1. Why is the table of contents empty, or why does it show only some of the headings?

Most of the time, the headings have not been given the Heading 1 to Heading 3 styles. Headings formatted only with font size and bold are not recognized by Word. After changing these headings to styles, simply update the entire table of contents.

2. What should I do if the table of contents page numbers don't match the body text?

First check whether the body and the front matter have already been divided into sections, and unlink the headers and footers from the previous section. Then set the body page numbering to start from 1. If the page numbers are still offset, updating the entire table of contents usually resolves the issue.

3. What if I changed the heading text, but the table of contents didn't change?

The table of contents does not update in real time. You need to right-click the table of contents, select "Update Field," and choose "Update entire table." If you only update page numbers, changes to heading text will not be reflected in the table of contents.

4. How do I generate a list of figures and tables?

First add standard captions to the figures and tables; captions are numbered automatically. Then, on the References tab, choose Insert Table of Figures and select the matching caption label. After figures or tables are added or deleted, the fields must be updated in the same way.

📝 Summary

Whether a thesis table of contents can be generated automatically depends on two things: whether the headings have had styles applied, and whether sections and page numbers are set up correctly. Get three things right—heading styles, multilevel numbering, and section breaks—and later changes only require updating the table of contents. By following the steps and checklist in this article and checking each item, the question of how to automatically generate a table of contents in Word becomes manageable.

Open OmniDoc, edit and export documents online

Updated 2026-11-29