Set Section Page Numbers, Headers, Footers, and a Table of Contents in Word
Question details
Set up section-specific numbering and headers or footers in a Word document with a navigable table of contents.

- Product
- Microsoft Word
- Device & OS
- not provided
- Scenario
- A long document needs Roman numerals for front matter, chapter or section numbering, Page X of Y fields, and a table of contents based on headings.
- Observed behavior
- The goal is to display appropriate page information in each section while keeping table-of-contents entries and page numbers useful for navigation.
Identify where each section begins and apply Word heading styles to the titles you want in the table of contents. Decide whether the table of contents should show section-restarted page numbers or a continuous body page sequence.
Set section numbering and build a heading-based table of contents
Use this approach when the table of contents should show the same section-based page numbers as the document's PAGE fields.
Place the cursor at each section boundary and choose Layout > Breaks > Next Page under Section Breaks.
Double-click a header or footer in each section, then choose Page Number > Format Page Numbers. Select a Roman numeral format for front matter or an Arabic format for the body, and choose Start at or Continue from previous section as needed.
In a section's header or footer, turn off Link to Previous if its content must differ from the preceding section. Unlink headers and footers separately if both need different content; unlinking is not required just to restart page numbers.
For chapter numbers in page numbers, apply a numbered multilevel list linked to heading styles, then use Page Number > Format Page Numbers > Include chapter number. To show the current chapter title in a header, use Insert > Quick Parts > Field and select StyleRef with the relevant heading style.
Apply Heading 1, Heading 2, and other heading styles to titles in the document body. Choose References > Table of Contents and select an automatic table; later, use Update Table to refresh entries and page numbers.

Display calculated section page numbers while keeping PAGE continuous
Use field calculations when the table of contents needs continuous PAGE numbering but a header or footer should display a section-relative number.
Add table-of-contents entries for header or footer content
Use TC fields in the document body when text shown in a header or footer must also appear as a table-of-contents entry.
Work with long Word documents in WPS Writer
WPS Office is a free, lightweight alternative with a familiar interface for editing Word documents and moving existing files into a new workflow. Complex Word fields and numbering should be checked after opening because compatibility may vary.

Frequently Asked Questions
Can I use Roman numerals for front matter and Arabic numbers for the body?
Yes. Insert a section break between them with Layout > Breaks > Next Page. In each section, choose Page Number > Format Page Numbers and select the appropriate number format and starting value.
Do I need to unlink headers to restart page numbering?
No. Use Page Number > Format Page Numbers > Start at to restart numbering. Turn off Link to Previous only when the header or footer content itself needs to differ.
Why doesn't my table of contents show the calculated page number in my footer?
Word's table of contents uses the underlying PAGE field, not a separate calculation in the footer. Decide whether the contents should show the PAGE sequence or the section-restarted numbering, and configure PAGE accordingly.
Can a Word table of contents include a title that only appears in a header?
Not directly. Insert a TC field containing the entry text in the document body using Insert > Quick Parts > Field, then enable Table entry fields under References > Table of Contents > Custom Table of Contents > Options.




