You need a table of contents that spans multiple document sections with different page numbering or headers. A standard TOC in Word pulls entries from headings and page numbers, but cross-section TOCs can break when sections use different page-numbering schemes or when you want subentries to reflect section-specific numbering. This article explains how to create a multi-level TOC that works correctly across sections, including how to handle section breaks, restart page numbers, and customize heading levels.
Key Takeaways: Building a Multi-Level TOC Across Sections
- Heading styles (Heading 1, Heading 2, Heading 3): Apply these consistently to all TOC entries across sections to ensure the TOC can detect and include them.
- Insert > Table of Contents > Custom Table of Contents: Use this dialog to choose how many heading levels to show and to include section-level page numbers.
- Update Table > Update entire table: Always choose this option after adding or removing sections to refresh page numbers and entry text.
Understanding How Word TOCs Work Across Sections
A Word table of contents relies on heading styles (Heading 1, Heading 2, Heading 3) to identify entries. Each heading style corresponds to a TOC level. For example, all text formatted as Heading 1 becomes a level 1 TOC entry. This relationship works regardless of how many sections your document contains. However, sections can introduce complications when they restart page numbering, use different page number formats (Roman numerals versus Arabic numbers), or contain section-specific headers and footers. The TOC field code reads the actual page number from each section, not a continuous count. If you restart page numbering at 1 in Section 2, the TOC will show page 1 for that section’s entries, which may conflict with entries from Section 1 that also show page 1. To avoid confusion, you must either use continuous page numbering across sections or configure the TOC to display section-level page numbers.
Prerequisites
Before building a multi-level TOC across sections, confirm the following:
- All headings you want in the TOC are formatted with built-in heading styles (Heading 1, Heading 2, Heading 3). Do not use manually formatted bold or larger font sizes.
- Your document contains section breaks where you intend to change page numbering, headers, or footers.
- You have set page numbering for each section via Insert > Page Number > Format Page Numbers. Choose either Continue from previous section or Start at a specific number.
Steps to Create a Multi-Level TOC Across Sections
Follow these steps to insert and configure a TOC that spans multiple sections with correct page numbers.
- Apply heading styles to all entries
Select each heading in every section. On the Home tab, click the appropriate heading style in the Styles group. Use Heading 1 for top-level entries, Heading 2 for subentries, and Heading 3 for third-level entries. Apply these styles even if the heading text appears in different sections with different numbering schemes. - Insert the TOC at the beginning of the document
Place your cursor at the start of the document, before the first section break. Go to the References tab and click Table of Contents. Choose Custom Table of Contents near the bottom of the gallery. This opens the Table of Contents dialog. - Configure TOC levels and page numbers
In the Table of Contents dialog, set Show levels to 3 to display three heading levels. Check Show page numbers and Right align page numbers. If your sections use different page number formats (for example, Roman numerals in a preface section and Arabic numbers in the main body), check Use hyperlinks instead of page numbers to make the TOC clickable. Click OK to insert the TOC. - Verify page numbers across sections
Scroll through the TOC and check that each entry shows the correct page number. If Section 2 restarts page numbering at 1, the TOC will show page 1 for both Section 1 and Section 2 entries. To fix this, you can change Section 2 page numbering to Continue from previous section: double-click the footer or header in Section 2, right-click the page number, select Format Page Numbers, and choose Continue from previous section. This keeps page numbers sequential across the entire document. - Update the TOC after adding or removing sections
After you insert new sections or change heading text, click inside the TOC. A tab appears at the top of the TOC. Click Update Table, then select Update entire table. This refreshes all entries and page numbers. Do not choose Update page numbers only, because that option does not pick up new headings or removed entries.
If the TOC Shows Duplicate or Incorrect Page Numbers
Two entries show the same page number from different sections
This happens when a section restarts page numbering at 1. The TOC cannot distinguish between page 1 in Section 1 and page 1 in Section 2. To resolve this, either change all sections to use continuous page numbering or add a prefix to page numbers in each section. To add a prefix, go to Insert > Page Number > Format Page Numbers and type a section identifier in the Page numbering box, such as “A-” for Section 1 and “B-” for Section 2. The TOC will then show “A-1” and “B-1” as distinct entries.
Some headings do not appear in the TOC
The most common cause is that those headings are not formatted with a built-in heading style. Select the missing heading, open the Styles pane (Alt+Ctrl+Shift+S), and apply the correct heading style. After applying, update the TOC by clicking Update Table > Update entire table.
Page numbers are wrong after a section break
Check the page number format in each section. Double-click the footer area in the section where numbers appear incorrect. Right-click the page number and choose Format Page Numbers. Verify that Start at is set to the correct number, or choose Continue from previous section. Then update the TOC.
| Item | Continuous Page Numbering | Restart Page Numbering in Sections |
|---|---|---|
| Description | All sections use one sequential number sequence from document start to end | Each section starts page numbering at 1 or a custom number |
| TOC page number appearance | One continuous sequence; no duplicate page numbers | May show duplicate page numbers across sections unless prefixes are added |
| Best for | Long documents where page numbers must be unique, like books or reports | Documents with distinct parts, such as a preface (Roman numerals) and body (Arabic numbers) |
| How to set | In each section, Format Page Numbers > Continue from previous section | In each section, Format Page Numbers > Start at a specific number |
Common Mistakes and Things to Avoid
Avoid manually typing TOC entries. If you type headings and page numbers by hand, the TOC will not update automatically. Always use heading styles and the Insert Table of Contents command.
Do not insert a TOC inside a section that has different page numbering than the rest of the document unless you intend that behavior. If you insert the TOC in Section 2, the TOC will only show entries from Section 2 onward. Place the TOC at the very beginning of the document, before the first section break, to include all sections.
Avoid using the automatic TOC gallery (the first option in the Table of Contents dropdown) if you need more than three heading levels. The automatic TOC only shows three levels by default. Use Custom Table of Contents instead, where you can set Show levels to 9.
Do not apply heading styles to body text that is not actually a heading. This adds unwanted entries to the TOC. Use heading styles only on text that should appear in the table of contents.
After building your multi-level TOC, you can customize its appearance by modifying the TOC styles in the Styles pane. Right-click TOC 1, TOC 2, or TOC 3 and choose Modify to change font, size, and spacing. This preserves the TOC structure while giving you full control over formatting.