To insert a table of contents in Microsoft Word, apply built-in heading styles to your section titles, place the cursor where the contents should appear, then choose References > Table of Contents and select an automatic style. Word builds the list from your headings and can update it as the document changes. The key preparation is using Heading 1, Heading 2, and other heading styles consistently rather than merely making text look like a heading.
What You’ll Need
- A Word document with section headings, or a draft in which you can identify the headings you want included.
- Microsoft Word for Microsoft 365 on Windows, or Word for Mac. The ribbon layout may differ slightly by platform, but the main process is similar.
- A few minutes to apply heading styles and check the generated contents page. You do not need to type page numbers by hand.
Step-by-Step
- Decide where the table of contents belongs. Most reports and longer documents place it after the title page and any front matter, before the introduction or first main section. If it needs to start on its own page, click at the beginning of the location and press Ctrl+Enter on Windows to insert a page break. On Mac, use Command+Enter. A page break is preferable to pressing Enter repeatedly because it remains in the right place if text above it changes.
- Identify the headings to include. Plan the levels before formatting. Use Heading 1 for main sections, Heading 2 for sections within them, and Heading 3 for smaller subsections when useful. For example, a report might use Heading 1 for Methods and Results, Heading 2 for Participants and Findings, and Heading 3 for individual analysis topics. A clear hierarchy makes the contents easier to scan.
- Apply Word’s heading styles. Select a heading, open the Home tab, and choose the appropriate style in the Styles gallery. Repeat for each heading in the document. On Windows, Ctrl+Alt+1 applies Heading 1, Ctrl+Alt+2 applies Heading 2, and Ctrl+Alt+3 applies Heading 3. In Word for Mac, Command+Option+1, Command+Option+2, and Command+Option+3 apply those levels. You can also use the Styles gallery instead of shortcuts.
- Format the styles if you want a different appearance. A heading style is more than bold text: Word uses its level to build the contents list. To change how headings look while keeping their structure, right-click the relevant style in the Home tab’s Styles gallery and choose Modify. Adjust options such as font, size, color, or spacing, then confirm. The exact dialog wording can vary slightly between Word versions. Avoid replacing the style with manual formatting alone.
- Place the insertion point. Click where the table should begin, usually on a blank page before the first main section. Make sure the cursor is not inside a header, footer, text box, or existing table unless that is specifically where you want the contents inserted. If the title page should not show a page number, that is a separate page-number setting; it does not prevent Word from creating the table of contents.
- Insert an automatic table. On Windows, open the References tab, choose Table of Contents, and select one of the Automatic Table options. In Word for Mac, open References, choose Table of Contents, and select an automatic option from the available gallery. Word inserts the table at the cursor using the headings it recognizes. The gallery names and preview may vary slightly by platform or update.
- Check what Word included. Review the entries, their indentation, and their page numbers. Main headings should appear at the top level, with lower-level headings indented beneath them. Click a listed entry to check whether it links to the intended section; in many Word setups, Ctrl-click is used on Windows and Command-click on Mac to follow a link while editing. You can also use the Navigation pane to compare the document’s heading structure.
- Update the table after edits. When headings or page locations change, click inside the table and choose Update Table or Update Field. In the update dialog, choose Update page numbers only if the headings and wording have not changed. Choose Update entire table if you added, deleted, renamed, or reorganized headings. On Windows, you may also select the table and press F9; on a Mac, use the update command shown when you right-click or Control-click the table, since function-key behavior can depend on keyboard settings.
Common Mistakes
Using visual formatting instead of heading styles: A line can look like a heading because it is bold, large, or underlined, but Word may not recognize it for the contents list. Apply Heading 1 or another appropriate built-in heading style. If you prefer a custom look, modify the style rather than removing it.
Choosing a manual table: Word’s manual table option is essentially a template for text you maintain yourself. It does not automatically collect headings or keep page numbers current. Choose an automatic table when you want Word to generate and update the entries.
Applying the wrong level: If every heading is Heading 1, the table has no visible hierarchy. If a main section is accidentally Heading 3, it may appear too deeply indented or be omitted by a table configured for fewer levels. Assign styles according to the structure of the document, not the size or importance of the wording alone.
Forgetting to update before sharing: The table does not always refresh instantly after you edit the document. A changed heading or shifted page can leave the old text or page number in place. Update the entire table before exporting, printing, or sending the final file.
Tips
Use headings in order and keep the hierarchy logical. A Heading 2 normally belongs under a Heading 1; avoid jumping from Heading 1 directly to Heading 3 unless there is a clear reason. This structure also helps people navigate the document with Word’s Navigation pane and can improve accessibility for readers using assistive technology.
Keep heading text concise and descriptive. The wording in the table comes from the heading itself, so a long heading can make the contents page crowded. If you need a longer heading in the body but a shorter entry in the table, Word supports a TC field for a custom table entry, but that is an advanced option; most documents are easier to maintain when the heading itself is clear and compact.
For a customized table, choose References > Table of Contents and look for the Custom Table of Contents option. Depending on the Word version and platform, it may appear in the gallery menu as a custom or more-options command. The dialog can let you adjust items such as page-number display, right alignment, tab leaders, and the number of heading levels shown. Preview the result before confirming. If you choose not to show page numbers, make sure that choice suits the document’s purpose.
When the document is nearly finished, update the entire table and then review the final layout in Print Layout. Check that the contents does not run into a header, footer, or page break unexpectedly. If you save as a PDF, inspect the exported PDF too: page shifts caused by fonts or layout changes can affect where the document’s sections begin.
Troubleshooting
A heading is missing from the table. Select the heading in the document and check the style shown on the Home tab. If it is Normal or a custom style Word does not treat as a heading, apply the appropriate Heading style. Then click inside the table, choose Update Table, and select Update entire table. If you use a custom heading style, check the table-of-contents options to see whether that style is assigned a contents level.
The table includes text that should not be there. The unwanted line may have a Heading style applied, perhaps because text was pasted or a style was applied to a whole paragraph. Select that paragraph and change it to Normal or another non-heading style, then update the entire table. Do not just delete the entry inside the generated table; it can return the next time Word updates it.
Page numbers are wrong or unchanged. Click in the table and select Update Table. Choose Update page numbers only if the entries themselves are still correct. If the document’s headings or structure changed, update the entire table instead. If the numbers still look wrong, check for manual page breaks or section breaks and confirm that Word is displaying the document in its current saved layout.
The table looks plain or has too many levels. Open References > Table of Contents and choose the custom settings, if available, to change the number of levels or the visual options. You can also modify the table styles, often named TOC 1, TOC 2, and so on, through the Styles controls. Be careful not to apply a heading style to the table entries themselves, or they may become headings in the document structure.
The menu or shortcut behaves differently. Word’s ribbon and function keys can vary with window size, operating-system settings, and updates. Expand the References tab if commands are hidden, or right-click/Control-click the table and use the update command in its context menu. On Mac, function keys may control hardware features unless the keyboard is set to use standard function keys, so the ribbon command is often the simplest option.
Frequently Asked Questions
Can Word create a table of contents automatically?
Yes. Apply built-in heading styles to the sections you want listed, then insert an automatic table from References > Table of Contents. Word uses those styles to create entries and page numbers.
Why is my table of contents blank?
Word probably cannot find recognized headings. Apply Heading 1, Heading 2, or another included heading style to the relevant paragraphs, then update the entire table. Also check that the table is not configured to show fewer levels than the headings you used.
How do I add a heading to an existing table of contents?
Apply the correct heading style to the new section title, then click inside the table and choose Update Table followed by Update entire table. Updating page numbers only will not add a new heading entry.
Can I change the wording or formatting in the table?
For wording, it is usually best to edit the heading in the document and update the entire table. For appearance, change the table style or use the custom table settings. Direct edits to generated entries may be overwritten when the table updates.
Can I have a table of contents without page numbers?
Yes. Open the custom table-of-contents settings and turn off the option to show page numbers, if available in your Word version. The automatic entries can still link to the relevant sections, though the exact link behavior depends on the document and Word settings.
Related
- Compress Photos in PowerPoint to Reduce File Size
- Compress Pictures in PowerPoint: Step-by-Step Guide
- Compare Two Documents in Word: Create a Redline
Try it: the Date Difference Calculator: days, months, years and weekdays between two dates, with the DATEDIF formulas.
More in How-to basics
- How to Insert Multiple Tables of Contents in WordYes. In Word, insert each table of contents (TOC) as a separate field; to make each one list…
- How to Create a Checkbox in Google Sheets (and Use It)To create a checkbox in Google Sheets in a web browser, select the cell or range where you…
- Share Calendar View in Outlook: Steps and SettingsTo share an Outlook calendar, open Calendar, choose Share Calendar or Share, select the calendar and recipient, then…
- Excel Named Range Shortcut: Create, Edit, and Use NamesIn Excel for Microsoft 365 on Windows, press Ctrl+F3 to open Name Manager and manage named ranges. To…
- How to Make Every Other Line a Color in Excel QuicklyTo make every other line (row) a color in Excel, select your data rows, then choose Home >…
- How to Schedule an Email in Outlook to Send at a Later TimeTo schedule an email in Outlook, write your message, open the menu beside Send, choose Schedule send, and…
Sources: Function behaviour and menu paths: Microsoft Support documentation for Excel. Method & sources
Spotted an error in this guide? Let us know.