To add a header in Microsoft Word for Microsoft 365 on Windows, choose Insert > Header, select a design, and type your text in the header area. When you finish, select Close Header and Footer or double-click in the document body. Word repeats the header on pages in the same section unless you change the header settings.
Add a Basic Header
A header is content placed in the top margin area of a page, separate from the main body text. It is commonly used for a document title, a person or organization’s name, a date, or page numbering. To create one in Word for Windows:
- Open the document and select Insert > Header on the ribbon.
- Choose a built-in layout from the gallery. If you want a plain header, choose a simple option such as Blank.
- Click the placeholder text, if the design includes any, and replace it with your own wording. If the header is blank, click in the area above the body text and start typing.
- Use the alignment and formatting controls on the Home tab as you would for ordinary text. Some built-in layouts include separate areas for left-, center-, and right-aligned content.
- Select Close Header and Footer on the contextual ribbon, or double-click in the body of the document.
You can also open an existing header by double-clicking near the top of a page. Word then displays the header and footer editing tools. The exact gallery designs can vary by Word version and document, but the basic process is the same.
What a Header Does and Where It Appears
Word treats a header as a repeating page element rather than as part of the page’s regular paragraphs. Text entered in a header normally appears at the top of each page in that section. Editing the header on one page therefore changes it on the other pages that share it. This is useful for recurring information, but it also explains why a change made on a later page may unexpectedly appear earlier in the document.
A document can have multiple sections, and each section can have its own header settings. By default, a new section’s header is linked to the preceding section, so it may initially show the same content. Headers and footers are separate: you can put a document name in the header and page numbers in the footer, or put both in the header if that suits the layout.
The header is positioned relative to the page’s margins. If it seems too close to the top edge or leaves too much empty space before the body text, you may need to adjust the page layout rather than add blank lines inside the header.
Format and Align Header Content
Once the header is open, you can format its text with familiar tools such as font, size, bold, color, and paragraph alignment. Keep in mind that header formatting is independent of the main document’s body style: changing the body font does not necessarily change the header, and vice versa. A restrained design—such as a short title in a smaller type size—usually stays readable without competing with the document itself.
For more than one item, use a layout that controls alignment instead of spacing items with repeated spaces. For example, a report might have its short title at the left and a page number at the right. A built-in header design may provide separate positions for these elements. You can also use a simple table inside the header to organize content into columns, then remove the table borders if you do not want them visible. Avoid relying on spaces to push text to the far edge: changes in font, page size, or wording can make that alignment shift.
To control the distance between the header and the top edge, open the Layout tab and use the Page Setup dialog launcher. On its Layout tab, look under the headers and footers settings for the header position. The page’s top margin is a separate setting; changing one does not always produce the same result as changing the other. If the body starts too low, check both the margin and the header position before inserting extra blank lines.
Make the First Page Different
Cover pages and title pages often need a different header from the rest of the document. While editing the header, select the Header & Footer tab and turn on Different First Page. The first page then has its own header and footer area, which you can leave empty or fill with different content. The following pages continue to use the regular header for that section.
This setting changes the first page of the current section, not necessarily the first page of the entire file. In a document with several sections, check which section you are editing before relying on the option. A common surprise is that a title page still shows a header because the page is not the first page of its section, or because the setting has not been applied to the section containing that page.
Use Different Headers for Sections or Odd and Even Pages
Sections are useful when different parts of a document need different page layouts or running headers. For instance, a report might use one header for its introduction and another for its appendices. To create a new section, place the cursor where the change should begin and select Layout > Breaks, then choose an appropriate section break, such as Next Page. A section break is different from a page break: it starts a new section with its own layout and header options.
When you edit the new section’s header, Word may show Same as Previous, indicating that it is linked to the preceding section. To make the header different, select Link to Previous on the Header & Footer tab to turn the link off, then edit the new section’s header. Check the footer separately if you also want it to differ; linking a header and linking a footer are separate controls. Be careful when deleting a section break, because doing so can merge section formatting and affect headers, margins, or page orientation.
For documents such as books or reports, you may want left-hand and right-hand pages to have different headers. Turn on Different Odd & Even Pages while editing the header. You can then enter one header for odd-numbered pages and another for even-numbered pages. This is different from Different First Page; both options can be used together when the layout calls for them.
Add Page Numbers to a Header
Page numbers should normally be inserted as Word’s page-number field, not typed as ordinary text. A typed number will stay the same on every page, while a field updates to reflect the page. To add one at the top of the page, choose Insert > Page Number and select a position or design under the top-of-page options. Word inserts the number in a header and opens the header editing area.
If you already have a header open and want to place the number at the cursor, choose Insert > Page Number > Current Position, then select a style. You can add words around the number—for example, “Page” followed by the field—provided the design remains clear. For page-number formats or a different starting number, use Insert > Page Number > Format Page Numbers. In a sectioned document, you can choose to continue numbering from the previous section or start at a specified number.
Remember that page numbering and header text are related but not identical. Removing a header may also remove a number that was placed in that header, while a number in the footer is unaffected. If the number should appear only after a cover page, combine the appropriate first-page setting with the numbering arrangement you want and check the displayed result on the next page.
Word for Mac and Word for the Web
In Word for Mac, the same basic feature is available. Use Insert > Header & Footer > Header from the menu bar, or use the Header command on the Insert ribbon if that is how your window is arranged. Choose a layout, enter the text, and close the header area. The names and placement of ribbon controls can differ slightly from Windows, but options such as a different first page and odd/even headers are available in desktop Word for Mac.
Word for the web also supports adding and editing basic headers and page numbers through the Insert tab. If you cannot find an advanced layout setting, or a section’s headers are behaving unexpectedly, open the file in the desktop app. The desktop versions provide fuller access to section formatting and header controls. When collaborating, remember that edits to a repeated header affect every page that uses that header, so confirm the result in the document view before sharing or printing.
Common Header Problems
- The header appears on every page. That is the default for pages in the same section. Use Different First Page for a distinct first-page header, or add a section break and unlink headers when a later part needs its own content.
- Changing one header changes another section. The sections are probably linked. Open the header in the section you want to change, turn off Link to Previous, and then make the edit.
- The header is missing on the first page. Check whether Different First Page is on and whether the first-page header area is empty. Also confirm that the page is in the section you expect.
- The page number repeats instead of counting. The number may have been typed rather than inserted as a page-number field. Delete the repeated text and use Insert > Page Number.
- There is too much blank space above the text. Review the top margin and header position in Page Setup. Also inspect for blank paragraphs or extra spacing in the header itself.
- A line or box appears unexpectedly. Some gallery designs include a border or other decorative formatting. Try a blank header design, or inspect paragraph borders and table borders while the header is open.
When troubleshooting, use Home > Show/Hide ¶ to reveal paragraph marks and other formatting marks. This can help identify empty paragraphs or breaks that affect the layout. If the problem began after editing section breaks, turn on formatting marks and inspect the boundary between sections before changing the header again.
Frequently Asked Questions
How do I add a header to only one page in Word?
Make that page a separate section by adding section breaks before and after it, then turn off Link to Previous for its header. Add the content and, if needed, unlink the following section as well so it can have its own header. For a document’s first page only, Different First Page is usually simpler.
How do I remove a header in Word?
In Windows desktop Word, choose Insert > Header > Remove Header. If the document has multiple sections, check each section because headers can be independent. Removing a header may also remove page numbers or other elements stored in that header.
Can I put a logo in a Word header?
Yes. Open the header, choose Insert > Pictures, and select the image source available on your device or in Word. Resize it with the image controls and choose a text-wrapping option if you need to position it beside text. Keep the logo small enough that it does not crowd the page or overlap the body.
Why does my header look faded while I am editing the document?
Word often displays headers and footers in a lighter shade while you are working in the main body. This display helps distinguish them from regular text and does not necessarily mean they will print faded. Check print preview or export a PDF to review the output.
Can different sections have different page-number formats?
Yes. Use section breaks, open the header or footer containing the number, and turn off Link to Previous where the numbering should change. Then select Insert > Page Number > Format Page Numbers to choose a number format or starting value for that section.
Related
- Excel Text Across Cells Without Merging
- Excel Time Shortcut: How to Insert the Current Time
- Excel Time Format Over 24 Hours: Display Elapsed Time Correctly
Try it: the Date Difference Calculator: days, months, years and weekdays between two dates, with the DATEDIF formulas.
More in How-to basics
- Add a Checkbox in Excel: The Fastest Keyboard ShortcutTo add a checkbox quickly in Excel for Microsoft 365 on Windows, select the cell or range, then…
- Why Duplicate Values Aren’t Working in Microsoft ExcelDuplicate values usually seem not to work in Excel because the rule is looking at the wrong range,…
- Google Sheets Calendar Dropdown: How to Add OneTo add a calendar picker in Google Sheets, select the cell, choose Format > Number > Date, then…
- Hanging Indent in Word on Mac: Set It Up CorrectlyTo create a hanging indent in Word on Mac, select the paragraph or paragraphs, then choose Format >…
- Google Sheets: Count Weekdays Between DatesYes. In Google Sheets, use =NETWORKDAYS(A2,B2) to count Monday-through-Friday workdays between the start date in A2 and the…
- Excel File Name Length Limit: What Counts?For Excel for Microsoft 365 on Windows, the practical documented limit is 218 characters for the full path…
Sources: Function behaviour and menu paths: Microsoft Support documentation for Excel. Method & sources
Spotted an error in this guide? Let us know.