To add a header in Word, open your document, choose Insert > Header, select a layout, and type your text in the header area. A header sits in the top margin and can repeat across pages; you can also make it different on the first page or in separate sections. Before starting, decide what you want to show, such as a document title, name, date, or page number.
What You’ll Need
- A Word document open in Microsoft Word for Microsoft 365 on Windows or Mac.
- The text, logo, or other content you want to put in the header. You can also add or edit the header first and decide on its content later.
Step-by-Step
-
Open the document and check its page layout. Open the file in the Word desktop app and save a copy if you are making substantial layout changes to a finished document. If you want the header to appear throughout the document, you can usually insert it right away. If you need a different header for only part of the document, identify where that part begins and ends; you will use section breaks to separate it.
-
Open the header gallery. On the Windows ribbon, select Insert > Header. On Mac, select Insert > Header from the ribbon. Choose a built-in layout that suits your document, or choose Edit Header to open a plain header area. The gallery may show designs with a title, a line, or other preformatted elements. Choose a simple layout if you only need text and want to keep the page uncluttered.
-
Enter your header text. Word opens the header area at the top of the page, and the body of the document may appear dimmed while you edit. Click the placeholder text, if the layout has one, and replace it with your own. If there is no placeholder, click inside the header and type. For example, you might enter a report name on the left and your organization on the right. Use the Tab key to move between positions in a built-in header only when the layout provides tab stops; for more predictable alignment, use the alignment controls or a table.
-
Format the content. Select the header text you want to change, then use the Home tab to adjust the font, size, bolding, or color. Use the paragraph alignment buttons on Home to align text left, center, or right. Keep the type readable and consistent with the rest of the document. If a built-in layout includes a decorative line or placeholder you do not want, select that element and delete it carefully. Avoid pressing Backspace repeatedly without checking what is selected, since you could remove the header paragraph or its layout formatting.
-
Add a page number if needed. With the insertion point in the header, choose Insert > Page Number, then choose a position and style, such as a number at the top of the page. The exact gallery choices can vary with the Word version and window size. If you want a label such as Page before the number, type the label and insert the page number field after it. Word updates that field automatically as pages are added or removed; do not type a page number manually if you need accurate numbering throughout the document.
-
Set whether the first page should be different. While the header is open, use the contextual Header & Footer tab and select Different First Page if the title page should have a separate header. The first page’s header then becomes independent of the headers on later pages in that section. Leave the option off if the same header should appear on the title page and the rest of the section. This setting does not automatically remove a title-page header that you already entered; click the first-page header and delete its contents if you want that page blank.
-
Set up separate headers for document sections only when necessary. If one part of the document needs a different header, place the cursor where the new section should begin and choose Layout > Breaks > Next Page under Section Breaks. Then open the header on the new section’s first page. In the contextual Header & Footer tab, turn off Link to Previous before editing the header. When Link to Previous is on, the new section inherits the previous section’s header, so changes can affect both sections. Repeat the process at the end of the area that needs a different header if the following pages should return to the earlier design.
-
Close the header and check the pages. On Windows, select Close Header and Footer on the contextual tab, or double-click in the document body. On Mac, use the close control on the Header & Footer tab if shown, or double-click in the body. Scroll through the document to confirm the header appears where intended, that it is not too close to the top edge, and that page numbers are correct. If the document has multiple sections, check a page in each one rather than assuming every section behaves the same way.
Common Mistakes
Typing in the body instead of the header. The header area can look like part of the page, especially when you are close to the top. If your text moves the document’s paragraphs down instead of staying at a fixed top position, undo the change and open the header by double-clicking in the top margin or choosing Insert > Header > Edit Header.
Expecting a different header on one page without using sections. A regular header repeats throughout its section. To change it for a range of pages, create section breaks around that range and turn off Link to Previous in the section you want to customize. A page break alone does not create a separate header.
Changing one section and unintentionally changing another. This usually happens because Link to Previous is still active. Before editing a section’s header, check the contextual tab and disable that option when the new section must be independent. Remember that headers and footers have separate linking controls; changing one does not necessarily change the other.
Using spaces to position text. A row of spaces may line up on one screen but shift when the font, page width, or printer settings change. Use the alignment controls or a layout with appropriate tab stops instead. Also avoid typing page numbers by hand, since they will not update automatically.
Tips
- Keep repeating information brief. A short title, author, date, or chapter name is easier to scan than several lines of header text. Leave enough space between the header and the main text so the page does not feel crowded.
- Use different first page for title pages. This is usually simpler than inserting a section break just to hide the first page’s header. You can keep the first-page header blank while retaining the same header on later pages.
- Use odd and even page settings for book-style layouts. If you want different information on facing pages, select Different Odd & Even Pages on the Header & Footer tab. Then edit an odd-page header and an even-page header separately. Check both types of pages in Print Layout.
- Use fields for information that may change. Word’s page-number field updates as the document changes. For document properties, you can insert suitable fields from the Insert tab’s text or field options, depending on your version. A field is preferable to repeatedly updating a manually typed value.
- Check the header in Print Layout. Editing views and zoom levels can make spacing look unusual. Print Layout gives a useful view of page boundaries and how the header sits above the body text. For a final check, use Print Preview before printing or exporting.
- Be cautious with tables and images. A small table can help align left and right header text, and a logo can be inserted from Insert > Pictures. Keep images appropriately sized and set their wrapping so they do not overlap text or push the header into the body.
Troubleshooting
The header is not visible on the first page. Check whether Different First Page is selected. If it is, the first page has its own header, which may be empty while later pages show the header. Click the first page’s header area and add content, or clear the option if you want the same header on all pages of that section.
The header appears only on some pages. Look for section breaks and inspect the header in each section. A section may have a different first-page setting, or its header may not be linked to the previous section. Open the header on a page where it is missing and compare the Header & Footer options with a page where it appears. Also check whether odd and even pages are set to use different headers.
Editing one header changes another. Open the header in the section you intend to change and look for Link to Previous. If it is active, turn it off before making the edit. If the control is unavailable or the document still behaves unexpectedly, confirm that a section break—not just a page break—separates the pages. Changes made before unlinking may already have affected the earlier section, so review both sections afterward.
The header overlaps the text or sits too high. Open the header and adjust its position using the Header from Top setting on the contextual Header & Footer tab, if available in your Word version. You can also review the page margins using Layout > Margins. Change settings in small increments and check that the body text still has enough room. Printer margins may differ, so check Print Preview if the document will be printed.
The page number is missing or shows the same number everywhere. Delete manually typed numbers and insert a page-number field through Insert > Page Number. If numbering restarts unexpectedly, check section settings and the page-number formatting options in the Page Number menu. In a long document, section-specific numbering can be intentional, so verify whether the sections should continue numbering or start a new sequence.
You cannot click or select the header content. Double-click near the top margin or choose Insert > Header > Edit Header. If the document is protected, editing may be restricted; check whether editing restrictions are enabled before changing the layout. If the header contains a picture or table, click its edge or use the selection controls rather than selecting the surrounding paragraph.
Frequently Asked Questions
How do I add a header to every page in Word?
Choose Insert > Header, pick a layout, and enter your text. By default, the header repeats on pages in the same section. Check first-page and odd/even settings if it does not appear on every page.
How do I add a header only to the first page?
Open the header and select Different First Page on the Header & Footer tab. Add content to the first-page header and leave the regular header blank, or do the reverse if you want the title page blank and later pages labeled.
Can I have a different header in the middle of a document?
Yes. Add a next-page section break before the pages that need a different header, turn off Link to Previous in the new section, and edit its header. Add another section break at the end of that range if later pages need the original header design.
How do I remove a header?
Choose Insert > Header > Remove Header to remove the header from the current section, subject to the document’s section and first-page settings. Check other sections afterward because a document can contain headers that are not linked together.
Can I put a page number and title in the same header?
Yes. Type the title in the header and insert the number using Insert > Page Number. For a cleaner layout, use a built-in header style or alignment controls rather than adding spaces until the number appears to line up.
Related
- Excel Shortcut to Insert a Row and Shift Cells Down
- Compound Interest Spreadsheet: Build One in Excel Easily
- Power Query: Select Columns and Keep the Fields You Need
Try it: the Date Difference Calculator: days, months, years and weekdays between two dates, with the DATEDIF formulas.
More in How-to basics
- Export Phone Contacts to Outlook on iPhone and AndroidTo export phone contacts to Outlook, save them from your iPhone or Android phone as a contact file,…
- How to Split Merged Cells in Google Sheets SafelyTo split merged cells in Google Sheets, select a merged cell, then choose Format > Merge cells >…
- How to Change the Outlook View to Show Sender NamesTo show who sent each email in Outlook for Windows classic, open the folder, choose View > Change…
- Excel vs SharePoint Lists: Which Should You Use?Use Excel when you need flexible calculations, analysis, or charts; use a SharePoint list when people need to…
- How to Create a Style Template in Word and Reuse ItTo create a reusable style template in Word, format the document’s styles, then save the file as a…
- Google Sheets QUERY Formula: Syntax, Examples, and TipsIn Google Sheets, the QUERY formula filters, sorts, selects, and summarizes a table using a query written in…
Sources: Function behaviour and menu paths: Microsoft Support documentation for Excel. Method & sources
Spotted an error in this guide? Let us know.