Change or add levels in a table of contents

Change or add levels in a table of contents

If you want to change the level of an individual table of contents entry, change the heading level of that text in the body of your document.

To change the number of levels shown in your table of contents is to replace the existing table with one that contains the levels you want. A shorter, but more technical way to do it is to edit the field code information.

Change the level of an entry

To change the level of an entry in your table of contents, just change the heading level of that text in the body of your document.

  1. Click the heading that you want to change.

  2. On the Home tab, in the Styles group, click the heading level you want.
    Heading 1 in Styles Gallery

  3. On the References tab, click Update Table.
    Update Table of Contents

  4. Click Update entire table, and then click OK.

Replace the table of contents

  1. Click References > Table of Contents > Custom Table of Contents.

    Custom Table of Contents

  2. In the Table of Contents dialog box, in the Show levels list, choose the number of levels that you want, and then click OK.

    Table of Contents dialog box

    For example, if you click 2, then all text with the Heading 1 style or the Heading 2 style applied is displayed in the table of contents.

  3. When you are asked whether you want to replace the existing table of contents, click Yes.

Edit the field code information

Word inserts fields automatically when you use particular commands. For example, when you Add page numbers, Word inserts the Page field. When you Create a table of contents, Word inserts the TOC field.

You can edit the field code information to quickly change the number of levels shown in your TOC.

  1. Click in your table of contents, and then press Alt+F9. The field code information appears between curly brackets and looks like this:

    TOC field code

  2. Change the numbers in the quotation marks. For example, if you want to show only two levels, change "1-3" to "1-2".

  3. Press Alt+F9 to display the table of contents again.

  4. Update the table of contents to see your changes (References > Update Table).

If you’d like to learn more about field codes, read Field codes in Word.

Change which levels are shown in the table of contents

  1. On the References tab, in the Table of Contents group, click Table of Contents.

    Alt Text

  2. Click Custom Table of Contents.

  3. In the Table of Contents dialog box, in the Show levels list, click the number of levels that you want in your table of contents.

    Show levels in the Table of Contents dialog box

    For example, if you click 2, then all text with the Heading 1 style or the Heading 2 style applied is displayed in the table of contents.

  4. When you are asked whether you want to replace the existing table of contents, click Yes.

Change the level of a table of contents entry

To change the level of an entry in your table of contents, you need to change the heading level of that text in the body of your document.

  1. Click the heading that you want to change.

  2. On the Home tab, in the Styles group, click the heading style that corresponds to the level you want.

    Alt Text

  3. On the References tab, in the Table of Contents group, click Update Table.

    Alt Text

  4. Click Update entire table, and then click OK.

Connect with an expert
Contact us
Expand your skills
Explore training

Was this information helpful?

Thank you for your feedback!

Thank you for your feedback! It sounds like it might be helpful to connect you to one of our Office support agents.

×