To add a custom header in Microsoft Word, open the document, choose Insert > Header > Edit Header, then type and format your content in the header area. You can add a logo, page numbers, or other details, and set the header to differ on the first page or between sections. The steps below are for Word for Microsoft 365 on Windows; Mac menu names are noted where they differ.
What You’ll Need
- A Word document you can edit. If it is shared or read-only, make sure you have permission to change it.
- Your header text and, if needed, a logo image saved somewhere you can find it.
- Optional: a copy of the document to use as a backup, especially if it contains several sections or carefully formatted pages.
Step-by-Step
- Open the document and choose where the header should appear. Open the file in the desktop version of Word and save a working copy if you want to preserve the original. A header normally repeats at the top of each page in the document or section. If you need a title page without a header, or different headers for parts of the document, you can set that up after inserting the header.
- Open the header area. Select Insert > Header > Edit Header. You can also double-click near the top margin of a page, above the main text, to open the header. If Word displays a gallery of designs, you may choose one as a starting point, or select Edit Header to create your own layout. The body text may appear dimmed while the header is active; that is normal.
- Add your text. Click inside the header area and type the information you want to repeat, such as a company name, report title, author, date, or chapter name. Use concise wording so it fits comfortably across the page. Press Tab to move between the header’s built-in tab positions, or use the alignment buttons on the Home tab to align a line left, center, or right. Avoid using a long series of spaces to position text, because spacing can shift when the font or page margins change.
- Format the header to match the document. Select the text you want to change, then use Home to adjust the font, size, color, bolding, or paragraph alignment. A header is usually smaller or less prominent than the main heading, but it should remain easy to read when printed. For a line or visual divider, use the paragraph border controls on the Home tab rather than typing repeated hyphens or underscores. Check that the header text does not collide with the page edge or the document body.
- Add a logo or other image if needed. With the insertion point in the header, choose Insert > Pictures and select the image source, such as This Device. Select the inserted image and use the Picture Format options to resize or crop it. Keep the image proportional by dragging a corner handle; dragging a side handle can distort it. If text will sit beside the logo, use a simple layout and check that it remains aligned after resizing. A compact logo generally works better than a large image that pushes the header into the page content.
- Insert a page number or other changing information. To add page numbers, choose Insert > Page Number and select a position and style. Word offers options for placing the number at the top or bottom of a page; choose a top-of-page style if it should sit in the header. You can also insert fields such as the date or document information from the Insert tab. A field can update automatically, unlike text typed as a fixed value. If you need the page number to begin at a particular value, use Page Number > Format Page Numbers and set the starting number or number format.
- Set special behavior for the first page or facing pages. With the header open, find the Header & Footer tab on the ribbon and select Different First Page if the first page should have a separate header or no header. This option creates a first-page header area distinct from the one used on later pages; remove its contents if you want that page blank. Select Different Odd & Even Pages if you need one header on odd-numbered pages and another on even-numbered pages, as is common in books. These settings apply to the current section, so check each section where you want the behavior.
- Make a different header for one part of the document, if necessary. Place the cursor at the start of the part that needs its own header, then choose Layout > Breaks > Next Page to begin a new section. Open the header in that section and turn off Link to Previous on the Header & Footer tab before editing it. This separates the new section’s header from the earlier one. If Link to Previous remains selected, changes may also affect the previous section. Repeat the process for each section that needs its own header, and remember that headers and footers have separate link settings.
- Close the header and review the pages. Select Close Header and Footer on the ribbon, or double-click in the main document text. Scroll through the whole document and check the first page, a middle page, and the last page. Confirm that the text, logo, and page numbers are positioned correctly and that the header changes only where intended. Save the document when the layout is right.
To reuse a design in other documents, select the header content while editing it, then choose Insert > Header > Save Selection to Header Gallery if that command is available in your Word version. Give the saved design a recognizable name. This stores the selection as a reusable building block; it does not automatically change headers in documents where you have already used it.
On a Mac: The same basic process applies. Open the header using Insert > Header & Footer or by double-clicking at the top of a page, depending on the ribbon layout. When the header is active, use the Header & Footer controls to set first-page or odd-and-even options, and use Insert for pictures and page numbers. Ribbon labels and their placement can vary slightly between Mac versions. Word for the web supports basic header editing, but some layout and section controls may be limited; use the desktop app for complex section-specific headers.
Common Mistakes
- Typing in the page body instead of the header. Text placed at the top of the body appears only where it is typed and can move as the document changes. Make sure the header editing area is active before adding content.
- Using spaces to line up separate items. A string of spaces may look aligned on one page but shift with a different font, margin, or printer. Use tab stops, paragraph alignment, or a table with hidden borders when you need stable left-and-right positioning.
- Forgetting that sections are linked. A new section usually inherits its header from the previous section. If you edit it without turning off Link to Previous, you may change more pages than intended. Check the link setting before making a section-specific change.
- Expecting Different First Page to affect every section. The setting is section-based. A later section can still show a first-page header even if the document’s opening section is configured differently, or vice versa. Review the setting in each section.
- Making the header too tall or crowded. Large logos, multiple lines, and oversized type can push the document body down or make the page feel cramped. Keep only information readers need and check the result in Print Layout.
Tips
- Keep the header consistent with the document’s fonts and colors so it feels like part of the same design. A restrained style is easier to read and print.
- Use a table with no visible borders if you need a dependable layout with a logo on the left and text or a page number on the right. Insert the table while editing the header, place each item in a cell, and remove the borders from the table design controls.
- Use built-in fields for information that can change, such as page numbers or dates. Remember that a date field may update later, so use fixed text instead if the document must retain the date it was issued.
- Check both the on-screen view and a print preview. Printers may not print all the way to the paper edge, so leave enough space around logos and text.
- If you are editing a long report, identify section breaks before changing headers. Turn on formatting marks from Home > ¶ to help locate section breaks and paragraph marks.
- For a polished title page, use Different First Page and design that page’s header separately rather than trying to hide individual items with blank spaces.
Troubleshooting
The header does not appear on every page: Check whether the pages belong to different sections, and inspect the header in each section. Confirm that the content was added to the header rather than the body. Also check whether Different First Page or Different Odd & Even Pages is enabled, since those options create separate header areas that may still be empty.
Changing one header changes another: Open the header in the section you meant to edit and look for Link to Previous. Turn it off, then make the change. If the document has several sections, repeat this check for each relevant section. Be careful not to delete a section break while editing; removing one can merge sections and alter header behavior.
The header is too close to the top or overlaps the text: Open the header and adjust Header from Top on the Header & Footer tab, or change the page’s top margin through Layout > Margins. These controls affect different spacing: Header from Top moves the header position, while the margin controls the body text area. Change them in small increments and check several pages afterward.
A logo looks blurry, stretched, or out of place: Use a higher-resolution image, resize it from a corner, and check the text wrapping or placement options under Picture Format. If it keeps moving, set the image to In Line with Text so it behaves predictably within the header paragraph, or place it in a borderless table cell.
The page number is missing or starts at the wrong number: Confirm that a page-number field was inserted in the correct header area, including the first-page or even-page header if those are separate. To change numbering, select Insert > Page Number > Format Page Numbers and review the numbering format and start value. If a section should continue the previous numbering, choose Continue from previous section where that option is shown.
Frequently Asked Questions
Can I put different text on the first page?
Yes. Edit the header, select Different First Page, and enter the first-page content in the separate header area. The remaining pages use the regular header for that section.
How do I make a header appear only in one section?
Insert a section break before and after the relevant pages, open that section’s header, and turn off Link to Previous. Add the header there, then check the following section too so it does not inherit the same content unintentionally.
Can I add a logo and page number in the same header?
Yes. Insert the picture and page number while editing the header. A borderless table is a reliable way to keep the logo and number in separate positions without relying on repeated spaces.
How do I remove a header?
Choose Insert > Header > Remove Header, or open the header, select its contents, and delete them. If the document has multiple sections, removing a header in one section may not remove every other section’s header; check each one and its Link to Previous setting.
Will my custom header work in Word for the web?
Basic headers can be viewed and edited in Word for the web, but some advanced layout, gallery, and section options may not be available or may be arranged differently. For a document with different headers by section, use the desktop version of Word and review the finished file in Print Layout.
Related
- Excel Time Difference Between Two Dates and Times Explained
- Power Query Get Current Year: M Code and Refresh Tips
- Power Query Data Types: Choosing, Changing, and Fixing Them
Try it: the Date Difference Calculator: days, months, years and weekdays between two dates, with the DATEDIF formulas.
More in How-to basics
- Excel Mode With Text: Find the Most Frequent Text ValueExcel’s MODE.SNGL and MODE.MULT functions work with numbers, not words. To find the most frequent text value, count…
- Excel Scatter Plot: How to Change Dot Size and ScaleTo change dot size in an Excel scatter plot, select a marker, open Format Data Series, then choose…
- How to Insert a Line Across the Page in Microsoft WordTo insert a line across the page in Word, click in a blank paragraph, then choose Home >…
- Excel Text to Columns: Split Cells at Line Breaks EasilyTo split a cell at each line break in Excel for Microsoft 365 on Windows, select the cells,…
- How to Add Page Numbers in Word on iPad: Step-by-StepTo add page numbers in Word on an iPad, open the document, tap Insert and choose Page Numbers,…
- How to Mark Duplicates in Google Sheets with ColorTo mark repeated values in Google Sheets, select the cells you want to check, open Format > Conditional…
Sources: Function behaviour and menu paths: Microsoft Support documentation for Excel. Method & sources
Spotted an error in this guide? Let us know.