Apply heading styles to the document’s section titles, then insert an automatic table of contents from References. Update the entire table after structural or heading-text changes, and inspect the final page numbers after exporting.
A table of contents is easier to maintain when it is a view of the document’s structure. Typing headings, dots, and page numbers by hand creates a second list that falls out of step whenever a paragraph moves. An automatic table reads the headings and can be refreshed as the document changes.
Start with a saved copy of the document. This guide follows Microsoft’s current Word support documentation and uses an example project handbook. It does not require macros, field-code editing, or an external template.
Decide what belongs in the contents
| Text in the document | Suggested style | Contents role |
|---|---|---|
| Project handbook | Title or another suitable title style | A cover title, not a chapter. |
| Getting started | Heading 1 | A main section. |
| Account setup | Heading 2 | A subsection of Getting started. |
| Daily workflow | Heading 1 | The next main section. |
| A sentence inside an instruction | Normal or a body style | Ordinary text, excluded from the contents. |
This is an illustrative hierarchy. The important choice is that equivalent sections use the same level. Do not assign Heading 1 merely because you want a large font; a style conveys structure as well as appearance.
1. Apply actual heading styles
- Select the text of the first main section title.
- Open Home, Styles and apply Heading 1.
- Apply Heading 1 to the remaining main sections.
- Apply Heading 2 to their immediate subsections.
- Use Heading 3 only where a further meaningful level is needed.
Microsoft’s heading guide describes the built-in styles. You can adjust their appearance, but keep the hierarchy coherent. Bolding an ordinary paragraph does not necessarily make it a heading that the automatic contents can use.
For the handbook example, Account setup should sit below Getting started. If every paragraph becomes Heading 1, the contents will be crowded with entries that do not help someone navigate. Inspect a short section before applying a style to a large selection.
2. Inspect the outline before inserting the table
In Word for Windows, open View, Navigation Pane and choose the Headings view. Check whether the outline follows the order you intended. Microsoft’s Navigation pane reference notes that its heading view has limitations, including headings placed in tables, text boxes, headers, or footers.
Use the pane here for inspection, not for experimental dragging. Moving a heading in this view can move its associated content. If an expected title is missing, return to the body paragraph and inspect its style and location before assuming the contents feature is broken.
3. Insert an automatic table
Place the cursor where the contents should begin, usually after the cover or introductory material. In desktop Word, choose References, Table of Contents, then an automatic style. Microsoft’s insertion instructions distinguish this from a manual table, which contains placeholders you must maintain yourself.
In Word for the web, the References controls include Insert Table of Contents. Its interface may not match the desktop gallery. Keep the document’s heading styles as the source in either version rather than copying a finished-looking contents list from another file.
After insertion, inspect the first and last entries and one subsection. Confirm that the title above the contents is not itself appearing as an unwanted chapter. A short initial inspection catches a hierarchy mistake before it spreads through a long document.
4. Choose the correct update action
After editing the document, select the table and use References, Update Table, or the applicable right-click update control. Microsoft’s update guide explains the two desktop choices: page numbers only, or the entire table.
Page-number-only updates are suitable when headings are unchanged and only their locations moved. Update the entire table when you renamed a section, added or removed one, changed its level, or reorganized the report. For example, renaming Account setup to Create your account requires more than a page-number refresh.
A manual table cannot be refreshed from the heading structure. If yours contains typed placeholders, decide whether to replace it with an automatic table in the working copy. Preserve the surrounding text and formatting while doing so.
5. Fix entries at their source
For a missing entry, check the body title’s actual style. For an unwanted entry, check whether a normal sentence was accidentally given a heading style. Correct the body paragraph and update the table instead of deleting one generated line, which may return on the next refresh.
If entries are present but too detailed, adjust how many heading levels the contents shows. Microsoft’s customization guide also covers page-number alignment, tab leaders, and formatting. Those display choices do not replace the underlying heading hierarchy.
Keep generated contents formatting separate from the body headings. Changing the appearance of one should not require restyling every section title. For a document with an institutional template, confirm the required styles before replacing them with your own preferences.
6. Check navigation and final pagination
After the final edits, update the entire table and review the document in print layout. Export a fresh PDF if required, open that file, and compare several entries with the actual printed page numbers. Check that any clickable entries lead to the expected sections.
Stop before editing field codes if the report depends on custom contents fields, protected areas, or a specialized template you do not understand. Preserve the copy and ask its owner how the table is designed. A reliable contents page should survive a routine update, not depend on a series of undocumented manual corrections.
Keep these in mind
- Build a meaningful heading hierarchy first.
- Update generated entries from their source paragraphs.
- Check the exported file after the final update.
Common questions
Why is a heading missing from the table?
Check whether the body paragraph uses a heading style and whether the table includes that level, then update the entire table.
Can I type directly into the automatic table?
Generated entries can be replaced during an update. Correct heading text in the document and use the table’s formatting controls for appearance.
Should I update page numbers only or the entire table?
Update the entire table after heading or structure changes. Page numbers only is appropriate when the entries themselves are unchanged.
Sources & further help
Prepared with AI assistance from the linked documentation. This is a source-led explanation, not a claim of hands-on testing across every device. Read the editorial policy.