Word guide · Windows and Mac

How to make a table of contents in Word

To add a table of contents in Word, give your chapter and section titles heading styles, then go to References › Table of Contents and choose an automatic table. Word builds the contents from your headings, with page numbers and dot leaders, and brings it up to date whenever you click Update Table.

By André Antão Published 11 min read
The short answer
  1. Click in each chapter title and choose Home › Styles › Heading 1. Use Heading 2 for sections and Heading 3 for subsections.
  2. Click where the contents should go, usually a new page after the abstract and acknowledgements.
  3. Choose References › Table of Contents and pick an automatic style.
  4. After every round of changes, choose References › Update Table, select Update entire table and click OK.

01Apply heading styles first

Word doesn't read your document and guess which lines are headings. It lists the paragraphs that carry a heading style: Heading 1, Heading 2, Heading 3 and so on. A title typed in bold at 14 pt only looks like a heading. To Word it is ordinary text, and it won't appear in the contents.

So the table of contents is only as good as your headings. In a thesis, the usual mapping is:

  • Heading 1 for chapters: 2 Literature review
  • Heading 2 for sections: 2.1 Brand trust
  • Heading 3 for subsections: 2.1.1 Defining trust
Figure 1A sample table of contents for a thesis in Word, built from three heading levels. Each heading style becomes one level of the contents. Word copies the heading text word for word and the page each heading is on (here 9, 10 and 13), and indents each level by the same amount.

How to apply a heading style

  1. Click anywhere in a chapter title. You don't need to select the whole line.
  2. On the Home tab, in the Styles gallery, click Heading 1.
  3. Do the same for every section (Heading 2) and subsection (Heading 3).

The keyboard is faster on a long document: WindowsCtrl+Alt+1, 2 or 3. MacCmd+Option+1, 2 or 3.

Tip

Don't like how Heading 1 looks? Change the style, not the text. Right-click Heading 1 in the Styles gallery and choose Modify. Every chapter title changes at once, and the contents still finds them all.

Check before you insert

WindowsTick View › Navigation Pane. It lists every heading Word can see, indented by level. If a title is missing there, it will be missing from the contents too.

Restyling every heading in a 200-page thesis?I can do it for you

02Insert the table of contents

Put the cursor where the contents should go. In a thesis that is normally its own page after the abstract and acknowledgements, but your university's guide sets the order. Then:

Windows
  1. Click References › Table of Contents.
  2. Under Built-In, choose Automatic Table 1 or Automatic Table 2. They differ only in the title Word puts above the list: "Contents" or "Table of Contents".
Mac
  1. Click References › Table of Contents.
  2. Choose a style from the Automatic Table of Contents part of the gallery.

WebIn Word for the web, choose References › Insert Table of Contents. To update it there, right-click the contents and choose Update Table of Contents.

Figure 2The References tab in Word for Windows, with the Table of Contents menu open. Choose an automatic table. Custom Table of Contents opens the settings described in section 04.
Avoid Manual Table

The manual style fills the page with placeholder text for you to type over. It isn't connected to your headings, so Word can't update it, and every page number becomes your job.

03Update it after every change

The table of contents is a field. Word fills it in once and leaves it alone until you ask for an update. After you add text, move a chapter or rename a heading, the page numbers and titles in the contents are out of date until you update it.

  1. Choose References › Update Table. You can also click inside the contents and press F9.
  2. Select Update entire table.
  3. Click OK.
Figure 3Choose Update entire table. It picks up new, renamed and deleted headings as well as new page numbers.

Update page numbers only refreshes the numbers but keeps the old wording of every heading. If you've changed a single heading, choose Update entire table.

To update everything at once (the contents, the lists of figures and tables, and cross-references such as "see Table 4.2"), select the whole document and press F9: WindowsCtrl+A, then F9. MacCmd+A, then F9. If a list of figures or the contents doesn't change, click inside it and press F9 on its own.

On a Mac

If F9 changes the volume or the brightness instead, press Fn+F9.

Tip

WindowsUnder File › Options › Display, tick Update fields before printing, so a printed copy never goes out with old page numbers.

04Format the table of contents: levels, dots and fonts

The automatic tables list three heading levels, with dots between each title and its page number. If your guide asks for something else, choose References › Table of Contents › Custom Table of Contents.

Figure 4The settings that matter in Custom Table of Contents: page numbers in one right-hand column, the leader, the format and the number of levels.
  • Show levels sets how many heading levels appear. Most theses list three (chapters, sections, subsections). Some guides ask for two.
  • Tab leader is the line of dots between title and page number. You can also pick dashes, a solid line or none.
  • Right align page numbers keeps every number in one column at the right margin.
  • Formats: From template uses the contents styles in your document, which you can change. The other formats apply a preset look.

Change the font, spacing or indents

Each level of the contents has its own style: TOC 1 for chapter entries, TOC 2 for sections, TOC 3 for subsections.

  1. In Custom Table of Contents, click Modify. If it is greyed out, set Formats to From template first.
  2. Select TOC 1 and click Modify.
  3. Change the font, size, bold, spacing or indent, and click OK. Repeat for TOC 2 and TOC 3.
Don't format the contents by hand

If you select lines in the contents and make them bold, the change disappears the next time you update the entire table. Change the TOC styles instead and it stays.

05Add a list of figures and a list of tables

A list of figures works like the contents, but Word builds it from captions instead of headings. Each caption has to be inserted by Word. A caption typed by hand, such as "Figure 3: Research design" in italics, isn't picked up.

Caption every figure and table

  1. Select the figure or table.
  2. Choose References › Insert Caption.
  3. Under Label, choose Figure or Table, type the title after the number, and click OK.

Word numbers captions for you. When you insert a new caption, the numbers update by themselves. When you delete or move one, select the whole document and press F9 to renumber. For numbers like Figure 3.2 (chapter 3, second figure), click Numbering in the same dialog, tick Include chapter number, choose your chapter style (such as Heading 1) under Chapter starts with style, and pick a separator (a full stop gives Figure 3.2). That only works if your chapter titles use a heading style (such as Heading 1) for nothing else and are numbered automatically.

Insert the list

  1. Click where the list should go, usually on a new page after the contents.
  2. Choose References › Insert Table of Figures.
  3. Under Caption label, choose Figure for a list of figures or Table for a list of tables, and click OK.

Lists of figures and tables update the same way as the contents: select the list, choose References › Update Table (or press F9) and pick Update entire table. How the captions themselves should look in APA style is in my guides to APA figure format and APA table format.

Eighty figures and tables still captioned by hand?I can convert them for you

06Table of contents not updating or wrong? Fixes

Almost every broken contents page comes back to one of the causes below. Go through them in order, and update the entire table after each fix.

Figure 5Typed by hand: The rows of full stops end in different places, the indents differ, and two page numbers (8 and 11) were never corrected after the text moved. Automatic: the same entries generated by Word from heading styles.

"Error! No table of contents entries found."

Word found no paragraph with a heading style. Apply Heading 1, 2 and 3 to your titles as in section 01, then update the entire table.

A heading is missing

That title has no heading style, or its level is deeper than the contents shows. Click in the title in the document and apply the right heading style. If it is a level 4 heading, raise Show levels in Custom Table of Contents, or ask whether your guide wants level 4 listed at all.

Lines appear that shouldn't

A blank line, a sentence or a caption in the contents means that paragraph has a heading style or an outline level. A common cause is pressing Enter after a heading and typing in the new line, which keeps the heading style.

  1. Click in the unwanted line in the document, not in the contents.
  2. Apply your body text style (for example Normal) from the Styles gallery.
  3. If it still appears, open the Paragraph settings and set Outline level to Body Text.

    WindowsClick the small arrow in the corner of the Paragraph group on the Home tab.

    MacChoose Format › Paragraph.

The page numbers are wrong

Update the entire table first. If the numbers are still wrong, check for tracked changes: deleted text still takes up space on the page while it is shown, so the page count shifts. Accept or reject the changes, then update again.

If the front pages show 1, 2, 3 where your guide wants i, ii, iii, the table of contents isn't the problem. It copies each page's number as it is, so the page numbering has to change: a section break before Chapter 1 and roman numerals before it. My thesis formatting checklist covers that.

The dots don't line up

In an automatic table the dots always end at the same point, because each line uses a right-aligned tab with a dot leader. If yours wander, the table of contents was typed by hand (see Figure 5), or the TOC styles were edited with odd tab stops. Replace a typed contents with an automatic one. Otherwise, in Custom Table of Contents, tick Right align page numbers, choose the leader again and click OK.

You see { TOC \o "1-3" \h \z \u } instead of the list

Word is showing the field code, not its result. Right-click it and choose Toggle Field Codes. To switch every field in the document back: WindowsAlt+F9. MacOption+F9.

"Error! Bookmark not defined."

An entry points to a heading that is no longer there, often after a heading was deleted or while tracked changes are shown. Choose Update entire table. If the error stays, accept or reject the tracked changes and update again. As a last resort, choose References › Table of Contents › Remove Table of Contents and insert it again.

Still fighting it the week before submission?Send it to me and I'll fix the styles behind it

07Table of contents in APA style

APA Style's order of pages (title page, abstract, text, references, footnotes, tables, figures, appendices) has no contents page. APA adds that dissertations and theses may need extra elements and that you should follow your university's guidelines for the order of pages. Almost every university asks for a contents page, and its own guide decides what goes in it. Figure 1 shows a typical thesis contents page.

Before you finish, check your guide for these points, because universities differ on all of them:

  • Which front pages are listed (abstract, acknowledgements, lists of figures and tables, abbreviations) and whether the contents lists itself.
  • How many heading levels to show, and whether chapter entries are bold or in capitals.
  • Whether front pages use roman numerals (i, ii, iii) and Chapter 1 starts again at 1.
  • How appendices are listed: each one separately, or a single "Appendices" entry.

If your thesis follows APA, the headings themselves have five levels with set formatting. My guide to APA headings shows each level and how to set them up as Word styles, so the contents picks them up correctly.

08Questions people ask

How do I make a table of contents in Word on a Mac?

The same way as on Windows: apply heading styles, then choose References › Table of Contents and pick a style from the automatic part of the gallery. To update it, choose References › Update Table.

Why doesn't my table of contents update by itself?

It is a field, and Word only refreshes fields when you ask. Update it with References › Update Table and choose Update entire table. A manual table can't update at all; replace it with an automatic one.

How do I include the abstract and acknowledgements without numbering them?

If they use Heading 1 and Heading 1 has no automatic number, they appear like any chapter. If your chapter headings are numbered automatically, create a separate unnumbered style for front-page titles. Then, in Custom Table of Contents, click Options and give that style TOC level 1.

Can readers click the entries?

Yes. Entries in an automatic table link to their headings. In Word on Windows, hold Ctrl and click an entry to jump to that heading.

How do I edit or remove one entry?

Never type in the table of contents: your changes vanish at the next update. Change the heading in the document instead. To leave a heading out, or add a line that isn't a heading, click in it in the document and choose References › Add Text, then Do Not Show in Table of Contents to leave it out, or Level 1, 2 or 3 to include it. Then update the entire table.

How do I delete a table of contents?

Choose References › Table of Contents › Remove Table of Contents. Your headings stay as they are.

André Antão is a university lecturer in Management and Marketing at the Polytechnic University of Portalegre and a PhD candidate in Management. He has formatted theses in Word and LaTeX for 8 years.

Sources

  1. Insert a table of contents Microsoft Support
  2. Update a table of contents Microsoft Support
  3. Format or customize a table of contents in Word Microsoft Support
  4. Update fields Microsoft Support
  5. Add, format, or delete captions in Word Microsoft Support
  6. Add chapter numbers to captions in Word Microsoft Support
  7. Insert a table of figures Microsoft Support
  8. Keyboard shortcuts in Word (Windows and macOS tabs) Microsoft Support
  9. Order of pages APA Style