Formatting Issues

Set Section Page Numbers, Headers, Footers, and a Table of Contents in Word

Algirdas JasaitisAlgirdas Jasaitis Nov 25, 2026 870 views

Question details

Set up section-specific numbering and headers or footers in a Word document with a navigable table of contents.

Set Section Page Numbers, Headers, Footers, and a Table of Contents in Word
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.
Before you start

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.

Solution 1Recommended

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.

1
Insert section breaks

Place the cursor at each section boundary and choose Layout > Breaks > Next Page under Section Breaks.

2
Format page numbers

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.

3
Customize section headers and footers

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.

4
Add chapter or section information

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.

5
Insert and update the contents

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.

Set section numbering and build a heading-based table of contents
What the table of contents reads: Word uses the underlying PAGE field for table-of-contents page numbers, not a separate calculated number displayed in a header or footer. Standard heading-based tables do not collect headings from headers or footers.
Free Microsoft Office alternative

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.

Edit long documents with headings, headers, footers, and tables of contentsOpen and save Microsoft Word DOC and DOCX formatsUse a familiar interface for a smoother transition from Microsoft OfficeGet a free, lightweight office suite
microsoft office alternative - wps office

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.