How to Add a Colored Header in Microsoft Word Documents

How-to basics · Updated November 3, 2026

How to Add a Colored Header in Microsoft Word Documents

To add a colored header in Word, open the header area, insert a rectangle shape, choose a fill color, and place it behind your header text. You can use the same header on every page or adjust the document’s section settings to show it only where you want. The instructions below are for Microsoft Word for Microsoft 365 on Windows; Mac steps are similar, with some ribbon labels and controls in different places.

What You’ll Need

  • A Word document you can edit. If it is important, save a copy first so you can compare or restore the original design.
  • A color choice, and optionally the header text, logo, or other content you want to include.
  • Word for Microsoft 365 on a computer. Word for the web has more limited options for positioning shapes and may not provide the same controls.

Step-by-Step

  1. Open the header area. Double-click near the top of a page, inside the top margin. Alternatively, select Insert > Header > Edit Header. Word switches into header-editing mode and displays a contextual Header & Footer tab. The body of the document may look faded while you are working in the header; that is normal. On a Mac, double-click the top margin or use Insert > Header, then choose an edit option if Word offers one.
  2. Decide which pages should have the colored band. By default, a header repeats on every page in the same section. If you want a different first page, select Different First Page on the Header & Footer tab before adding or formatting the header. The first page will then have its own header area. If Different Odd & Even Pages is enabled, odd and even pages can also have separate headers. On Mac, look for these checkboxes in the Header & Footer ribbon or tab.
  3. Insert a rectangle. Click in the header area where the band should be anchored, then choose Insert > Shapes > Rectangle. Drag across the header area to draw a band. Start near the left edge of the text area and extend toward the right edge. For a simple design, make it as wide as the page’s text area and tall enough for the heading, commonly about half an inch to an inch. You can fine-tune the height later by dragging a top or bottom handle.
  4. Apply the fill color and remove the outline. With the rectangle selected, open the contextual Shape Format tab. Select Shape Fill and choose a theme color or a standard color. For a custom shade, use More Fill Colors if it is available in your version. Then select Shape Outline > No Outline to remove the border. If the shape is not selected, click its edge once; clicking inside it may instead place a text cursor or select the header paragraph.
  5. Put the shape behind the header text. While the rectangle is selected, choose Shape Format > Wrap Text > Behind Text. If the shape covers or pushes around text, this setting usually makes it act as a background band. In some Word layouts, the wrapping control is under Arrange on the Shape Format tab. On Mac, select the shape and use the Shape Format tab’s wrapping or arrange controls; the exact grouping can differ by window size. You can also use the layout options button beside the shape when it appears.
  6. Position and size the band. Drag the rectangle into place while the header is still open. Leave enough room above or below it for the header text, and check that it does not collide with the page number or logo. If the shape’s position jumps, open the layout options and choose a text-wrapping setting that allows free positioning, such as Behind Text, then move it again. Avoid dragging the shape into the document body. A shape anchored in the header should repeat with that header, while a shape anchored in the body may appear on only one page or move with body text.
  7. Add the heading or other header content. Click in the header paragraph in front of the shape and type the text, or insert a logo or page number using the relevant options on the Header & Footer tab. Select the text and use Home to set its font, size, alignment, and font color. For a dark fill, use a light font color such as white; for a pale fill, use a darker text color. Keep the text readable at normal viewing size, not just when zoomed in. If clicking the band selects the shape instead of the text, click in the header’s text line or use the arrow keys to move the insertion point.
  8. Check the result and close the header. Select Close Header and Footer on the ribbon, or double-click in the document body. Scroll through several pages to confirm the band repeats as intended, the first page looks right, and no content is hidden. If the band seems too close to the page edge, adjust the shape or the page margins rather than letting it overlap text. Save the document after checking the layout.

Alternative for a simpler, stable band: Instead of a shape, insert a one-cell table in the header using Insert > Table. Select the cell and apply a background with Table Design > Shading, then type the heading inside it. Use Table Layout to adjust the cell height and alignment, and remove unwanted borders with the table border controls. A shaded cell is often easier to keep aligned with text, although it normally fills only the page’s text area rather than extending to the paper edge.

Common Mistakes

  • Drawing the shape in the document body. A rectangle added after you leave header-editing mode may not repeat on other pages. Double-click the top margin first and check that the Header & Footer tab is active before inserting it.
  • Choosing In Front of Text. This can cover the heading, page number, or body text. Use Wrap Text > Behind Text for a background band, and verify the result after closing the header.
  • Expecting a header to reach the paper edge. The header’s normal text area follows the page margins. A shape drawn to the text-area edges will not necessarily print edge-to-edge. If you need a full-bleed color block, you may need to extend the shape beyond the margins and confirm that your printer supports borderless printing; many printers leave a small unprinted edge.
  • Forgetting separate first-page or odd/even headers. If one page does not match the others, check whether Different First Page or Different Odd & Even Pages is selected. These settings create distinct header areas, so changing one does not automatically change all of them.
  • Using a color with poor contrast. A bright fill can make small text hard to read. Check the band at regular zoom and in a print preview, and choose text and fill colors that remain clearly distinct.

Tips

  • Use the document theme for consistent colors. Theme colors on Shape Fill are easier to coordinate with headings and other document accents. If the theme changes later, theme-based colors can update with it.
  • Keep the header modest in height. A tall band reduces the space available for page content and can push text lower. If the first paragraph begins too far down, reduce the rectangle’s height or adjust the header position and top margin through Layout > Margins.
  • Use a table when alignment matters more than a decorative shape. A one-cell shaded table keeps the text inside the colored area and is convenient for a title with a logo on the same line. A shape gives more freedom to place a band independently of the text.
  • Use section breaks for genuinely different headers in the middle of a document. Insert a section break from Layout > Breaks, then edit the new section’s header. If you do not want it to inherit the previous section’s design, turn off Link to Previous on the Header & Footer tab before changing or removing the header. Check the following section too, since header links are controlled section by section.
  • Inspect the printed layout. Use File > Print to preview the pages. A band can look aligned on screen but sit too close to a printer’s non-printable area, or appear differently when a page has a different margin setting.

Troubleshooting

The band appears on only one page: It may be anchored in the body instead of the header, or the pages may belong to sections with unlinked headers. Edit the header on the affected page and inspect the section settings. If it is a section-specific header, either add the band to that section or enable Link to Previous to reuse the preceding section’s header. Be aware that linking also carries over the header’s other content.

The shape is visible but the text is hidden: Select the shape and set Shape Format > Wrap Text > Behind Text. Then click the header text area and check the font color. If the text itself is behind the rectangle, cut and re-enter the text in the header paragraph after changing the shape’s wrapping, or use the shaded-table method so the text sits inside the colored cell.

The shape will not move where you want: Confirm it is selected and that its wrapping is not In Line with Text. Choose Behind Text, then drag it using the shape’s border rather than a sizing handle. If it remains constrained, open the layout or position controls and adjust the horizontal and vertical position. Word’s available position options can depend on the selected wrapping mode.

The fill or outline controls are missing: Click the rectangle’s border so the shape is selected. The Shape Format tab appears only when a shape is selected; the Header & Footer tab appears when you are editing the header. If you are using Word for the web, open the document in the desktop app for more complete shape-positioning controls.

The header looks different on page one: Check Different First Page. If it is selected, edit the first-page header specifically, or clear the option if you want the regular header there too. Also inspect odd/even header settings and section breaks if the design changes later in the document.

Frequently Asked Questions

Can I color only the header without changing the page background?
Yes. A filled shape or shaded table placed in the header colors that header area only. Avoid Design > Page Color, which changes the page background rather than just the header.

How do I make the colored header appear on every page?
Place the shape or table in the header, then make sure the document’s sections are linked as needed. In a single-section document, the header normally repeats automatically. Different first-page or odd/even settings can create exceptions.

Can I use a picture or logo with the colored band?
Yes. Insert the picture while editing the header, then resize it and position it over the band. Keep it within the header area and check that its text wrapping does not cover the heading or page number.

Can I make the color extend to the edge of the page?
You can extend the shape beyond the text margins, but Word and your printer may not print all the way to the paper edge. Check the print preview and printer settings; use borderless printing only if the printer supports it.

How do I remove the colored header?
Double-click the header, select the rectangle’s border, and press Delete. If you used a shaded table, select its cell and remove the shading from Table Design > Shading. Close the header and check other sections, since they may have separate copies.

Related

Try it: the Date Difference Calculator: days, months, years and weekdays between two dates, with the DATEDIF formulas.

More in How-to basics

Sources: Function behaviour and menu paths: Microsoft Support documentation for Excel. Method & sources

Spotted an error in this guide? Let us know.