Auto-Generate Table of Contents in Word: A Step-by-Step Guide

Johnny Jul 09, 2026

Ever found yourself manually updating your Table of Contents (TOC) in Microsoft Word every time you add or remove a section? It can be a time-consuming task, but it doesn't have to be. Word offers an automatic TOC feature that can save you time and ensure your document remains well-organized. Let's dive into how you can auto format a table of contents in Word.

How to Create a Table of Contents in Word
How to Create a Table of Contents in Word

Before we begin, ensure your headings are formatted correctly. Word uses heading styles to create the TOC, so having consistent heading styles is crucial. You can find these styles in the Home tab under the 'Styles' group. The most common heading styles are Heading 1, Heading 2, and so on, which correspond to the main topics, subtopics, and sub-subtopics in your document.

How to Create a Table of Contents in Word and Update it? | IT4nextgen
How to Create a Table of Contents in Word and Update it? | IT4nextgen

Inserting the Table of Contents

Now that your headings are styled correctly, let's insert the TOC.

How To Create A Table Of Contents In Microsoft Word
How To Create A Table Of Contents In Microsoft Word

1. Place your cursor where you want the TOC to appear. Typically, this is at the beginning of your document, after the title page if you have one.

2. Go to the 'References' tab in the Ribbon. If you don't see it, you might need to right-click on the Ribbon and select 'Customize the Ribbon', then check the box next to 'References'.

How to create an automatic table of contents in Word 2019
How to create an automatic table of contents in Word 2019

Using the Automatic TOC Feature

3. In the 'Table of Contents' group, click on the icon that looks like a list with a number next to it. This will insert a TOC using the automatic feature.

4. Word will insert a TOC that includes all the headings in your document up to the level of Heading 3. You can adjust the number of levels included by clicking on the arrow next to the TOC and selecting 'Show Levels...'. Here, you can also choose to show page numbers or not.

Best Table of Contents Template Examples for Microsoft Word
Best Table of Contents Template Examples for Microsoft Word

Customizing the TOC

5. If you want to change the format of the TOC, you can right-click on it and select 'Update Field'. This will open the 'Table of Contents' dialog box where you can change the format, levels, and other settings.

6. You can also adjust the spacing and alignment of the TOC like any other text in your document.

How to Make a Table of Contents in Microsoft Word
How to Make a Table of Contents in Microsoft Word

Updating the Table of Contents

Now that your TOC is inserted, you might be wondering how to keep it up-to-date as you add or remove sections from your document.

How To Insert A Table Of Contents In Word on Mac & Windows
How To Insert A Table Of Contents In Word on Mac & Windows
How to insert a table of contents manually in Word
How to insert a table of contents manually in Word
Creating a Table of Contents in Microsoft Word
Creating a Table of Contents in Microsoft Word
How to Create a Table of Contents in Microsoft Word
How to Create a Table of Contents in Microsoft Word
How to Make Table of Contents in Word
How to Make Table of Contents in Word
How to insert Table of Contents in Word (Step by Step) | Microsoft Word Tutorial: Table of content
How to insert Table of Contents in Word (Step by Step) | Microsoft Word Tutorial: Table of content
How to make a table of contents in word
How to make a table of contents in word
Creating a Table of Contents in Microsoft Word : The simple way of adding Table of Contents in Word
Creating a Table of Contents in Microsoft Word : The simple way of adding Table of Contents in Word
Excel Table of Contents that Automatically Updates - Excel Campus
Excel Table of Contents that Automatically Updates - Excel Campus
Microsoft Word Table Of Contents Template
Microsoft Word Table Of Contents Template
the table of contents is shown with an arrow pointing to it
the table of contents is shown with an arrow pointing to it
Creating a Table of Contents in a Word Document - Part 1
Creating a Table of Contents in a Word Document - Part 1
How to add a table of contents to a Word 2016 document - gHacks Tech News
How to add a table of contents to a Word 2016 document - gHacks Tech News
How To Create a Clickable Table of Contents in Microsoft Word
How To Create a Clickable Table of Contents in Microsoft Word
How to Set Up, INSERT and FORMAT a Table of Contents using Word 2010 thru 2019
How to Set Up, INSERT and FORMAT a Table of Contents using Word 2010 thru 2019
the table of contents is shown in this document
the table of contents is shown in this document
How to Create and Update a Table of Contents in Microsoft Word
How to Create and Update a Table of Contents in Microsoft Word
Inserting a Table of Contents in an APA Formatted Paper
Inserting a Table of Contents in an APA Formatted Paper
How to create  a table of content in ms word
How to create a table of content in ms word
Virtual Planner Table of Contents
Virtual Planner Table of Contents

1. Whenever you make changes to your headings or add new ones, simply place your cursor anywhere in the TOC and press 'F9'. This will update the TOC to reflect the current structure of your document.

2. If you want to update the TOC and also adjust the page numbers, right-click on the TOC and select 'Update Field'. Then, check the box next to 'Update page numbers also'.

Expanding and Collapsing the TOC

Word allows you to expand and collapse the TOC to show or hide the subtopics. This can be useful if you want to print the TOC but don't want to include all the subtopics.

1. To expand or collapse the TOC, click on the plus or minus sign next to the topic or subtopic you want to show or hide.

2. You can also expand or collapse all topics or subtopics at once by right-clicking on the TOC and selecting 'Show Levels...'. Here, you can choose to show or hide all levels up to a certain heading style.

Deleting the Table of Contents

If you no longer need the TOC, you can delete it just like any other text in your document.

1. Simply select the TOC and press the 'Delete' key.

2. If you want to delete the TOC and also remove the field codes that Word uses to update the TOC, right-click on the TOC and select 'Delete Field'.

And there you have it! With these steps, you can auto format a table of contents in Word, keep it up-to-date, and customize it to fit your needs. Now you can spend less time formatting and more time writing. Happy word processing!