How to add chapter title to header or footer in a Word document
Normally, you can easily insert the document path or file name into the header or footer in Word. But what if you want to automatically display the current chapter title in the header or footer, based on the page's position in the document? This tutorial shows you how to do it using the built-in "StyleRef" field feature in Word.
Add chapter title to header or footer in Word document
Add chapter title to header or footer in Word document
To insert each chapter title into the header or footer, use the "Quick Parts" feature with a styled heading. Here’s how:
- Apply a paragraph style (like "Heading 1") to your chapter titles by selecting the title text, then clicking "Heading 1" in the "Styles" group under the "Home" tab. This tells Word which text to automatically pull into the header or footer.
- Go to "Insert" > "Header" or "Footer" and choose a style you like.
- Click "Quick Parts" > "Field" under the "Header & Footer" or "Design" tab.
- In the Field dialog box, do the following:
- Select "Links and References" from the "Categories" dropdown.
- In the "Field names" list, choose "StyleRef".
- In the "Style name" list, select "Heading 1" (or whichever style you used for chapter titles).
- Click "OK". The chapter title will now appear in the header or footer, based on the page’s position in the document.
Notes:
- If there's more than one "Heading 1" on a page, only the first one will appear in the header or footer.
- The header or footer will update automatically when the chapter title changes.
Best Office Productivity Tools
Kutools for Word - Elevate Your Word Experience with Over 100 Remarkable Features!
🤖 Kutools AI Features: AI Assistant / Real-Time Assistant / Super Polish (Preserve Format) / Super Translate (Preserve Format) / AI Redaction / AI Proofread...
📘 Document Mastery: Split Pages / Merge Documents / Export Selection in Various Formats (PDF/TXT/DOC/HTML...) / Batch Convert to PDF...
✏ Contents Editing: Batch Find and Replace across Multiple Files / Resize All Pictures / Transpose Table Rows and Columns / Convert Table to Text...
🧹 Effortless Clean: Sweap away Extra Spaces / Section Breaks / Text Boxes / Hyperlinks / For more removing tools, head to the Remove group...
➕ Creative Inserts: Insert Thousand Separators / Check Boxes / Radio Buttons / QR Code / Barcode / Multiple Pictures / Discover more in the Insert group...
🔍 Precision Selections: Pinpoint Specific Pages / Tables / Shapes / Heading Paragraphs / Enhance navigation with more Select features...
⭐ Star Enhancements: Navigate to Any Location / Auto-Insert Repetitive Text / Toggle Between Document Windows / 11 Conversion Tools...
🌍 Supports 40+ Languages: Use Kutools in your preferred language – supports English, Spanish, German, French, Chinese, and 40+ others!

✨ Kutools for Office – One Installation, Five Powerful Tools!
Includes Office Tab Pro · Kutools for Excel · Kutools for Outlook · Kutools for Word · Kutools for PowerPoint
📦 Get all 5 tools in one suite | 🔗 Seamless integration with Microsoft Office | ⚡ Save time and boost productivity instantly
Best Office Productivity Tools
Kutools for Word - 100+ Tools for Word
- 🤖 Kutools AI Features: AI Assistant / Real-Time Assistant / Super Polish / Super Translate / AI Redaction / AI Proofread
- 📘 Document Mastery: Split Pages / Merge Documents / Batch Convert to PDF
- ✏ Contents Editing: Batch Find and Replace / Resize All Pictures
- 🧹 Effortless Clean: Remove Extra Spaces / Remove Section Breaks
- ➕ Creative Inserts: Insert Thousand Separators / Insert Check Boxes / Create QR Codes
- 🌍 Supports 40+ Languages: Kutools speaks your language – 40+ languages supported!