Show a Chapter Heading and Number in a Word for Mac Header
Question details
Display each chapter’s heading and number automatically in the header after the chapter’s first page.

- Product
- Microsoft Word for Mac
- Device & OS
- macOS
- Scenario
- A document has chapter headings that should appear in running headers, except on the first page of each chapter.
- Observed behavior
- Headers should show the relevant chapter number and title, with no header on each chapter’s first page.
Check which styles are applied to your chapter numbers and titles in Home > Styles, and whether the numbers are typed or generated by a multilevel list. Each chapter needs its own section for a different first-page header.
Use StyleRef fields for chapter headings and numbers
Use this method when chapter titles share a heading style and you want running headers to update from those headings.
A StyleRef field finds text formatted with the specified style. If a typed chapter number and title are in the same Heading 1 paragraph, one field can display both.
If the number is generated by Word’s automatic numbering, use a separate StyleRef field with the \n switch for the number, followed by a field for the heading text.
Select each chapter heading and apply Heading 1 from Home > Styles. If you use automatic numbering, apply a multilevel list linked to Heading 1.
Place the cursor before each chapter after the first, then choose Layout > Breaks > Next Page under Section Breaks.
Double-click the header in each chapter section and select Different First Page on the Header & Footer tab. Leave the First Page Header empty.
In the regular header on the chapter’s second page, choose Insert > Field, select StyleRef, and select Heading 1. For a typed number in the same heading paragraph, this field can display the number and title together.
For an automatically numbered heading, insert a StyleRef field before the title field and use the field code STYLEREF "Heading 1" \n. Add a space or punctuation between the number and title fields.
Use the Header & Footer tab to check Link to Previous in each section. Unlink a header before changing it independently, and verify that later pages show the appropriate heading while each first-page header remains empty.

Reference a separately styled number or bookmarked text
Use this method when the chapter number and title are in separate paragraphs or use different styles.
Edit Chapter-Based Documents with WPS Writer
WPS Office is a free, lightweight alternative with a familiar interface for working on documents. Open your Word files in WPS Writer for an easy transition, and check complex headers and fields after opening them.

Frequently Asked Questions
Why does my StyleRef field show the title but not its automatic number?
Automatic list numbering may need a separate field. Insert a StyleRef field for Heading 1 with the \n switch before the field that displays the heading text.
How do I remove the header from the first page of every chapter?
Start each chapter in a separate section using Layout > Breaks > Next Page. In each section’s header, select Different First Page and leave the First Page Header empty.
Can one StyleRef field show a manually typed number and title?
Yes. If both are in the same paragraph and use Heading 1, insert a StyleRef field for Heading 1 through Insert > Field.
What if the chapter number and title use different styles?
Insert a StyleRef field for each style in the header. If you use a bookmark and Ref field instead, provide the correct bookmark reference in each chapter section.
Why does changing one chapter’s header affect another?
The headers may be linked. Open the header and turn off Link to Previous on the Header & Footer tab before making an independent change.




