Smart Systems for Home

Plain how-to guides for smart home, security and home Wi-Fi

How to Add and Format a Header in Google Docs

· 6 min read · Home Tech

In this article
  1. What You'll Need
  2. Step-by-Step
  3. Common Mistakes
  4. Tips
  5. Troubleshooting
  6. Frequently Asked Questions

To add a header in Google Docs, double-click the top margin of any page (or go to Insert > Headers & footers > Header) and type your text. Then use the built-in formatting options to change font, size, alignment, add page numbers, or insert a different header for the first page. This guide walks you through every step, including common mistakes and troubleshooting.

What You'll Need

  • A Google account (free) and access to Google Docs via a web browser or the mobile app.
  • A document you want to edit (or a new blank document).
  • No special plugins or extensions required.

Step-by-Step

1. Open Your Document

  1. Go to docs.google.com and sign in.
  2. Open the document you want to edit, or create a new one by clicking the colorful “+” button.

2. Access the Header Area

  1. Move your mouse cursor to the very top of the page. You’ll see a light gray area with a dotted line and the word “Header” (or a pencil icon on mobile).
  2. Double-click anywhere in that top margin. The header area becomes active, and the main document text will dim slightly.
  3. Alternatively, click Insert in the top menu, then Headers & footers, then Header. This also opens the header area.

3. Type Your Header Content

  1. Click inside the header box and type your text (e.g., your document title, your name, or a chapter name).
  2. You can add multiple lines if needed—just press Enter to start a new line.

4. Format the Header Text

  1. Select the text you just typed by clicking and dragging over it.
  2. Use the toolbar that appears above the document (or the floating toolbar on mobile) to change the font, size, bold, italic, underline, text color, and highlight.
  3. To change alignment (left, center, right), click the alignment icon in the toolbar or use keyboard shortcuts: Ctrl+Shift+L (left), Ctrl+Shift+E (center), Ctrl+Shift+R (right) on Windows/ChromeOS; Cmd+Shift+L/E/R on Mac.
  4. To adjust line spacing or add bullet points, use the corresponding toolbar buttons. Note that bullet points in headers are uncommon but possible.

5. Add Page Numbers (Optional)

  1. With the header open, click Insert > Page numbers.
  2. Choose a style: page number on the right, left, or center, or “Page X of Y”. The page number will appear in the header.
  3. To format the page number (font, size, color), click on the number and use the toolbar.

6. Use Different First Page Header (Optional)

  1. With the header open, check the box “Different first page” in the Options menu (click Options in the toolbar that appears when the header is active).
  2. Now the first page has its own header. You can type different text or leave it blank. The rest of the pages will use the default header.

7. Adjust Header Margins

  1. To change how much space the header occupies, click Options in the header toolbar, then Header format.
  2. Set the “Header” margin value (in inches) to move the header closer to or farther from the page edge. The default is 0.5 inches.
  3. Click Apply to save.

8. Close the Header

  1. Click anywhere in the main document area (outside the header) or press the Esc key. The header will lock, and you’ll see it grayed out until you hover over it.

Common Mistakes

  • Double-clicking too low: If you double-click too far down the page, you’ll be in the body, not the header. Make sure you’re in the top margin area (above the first line of text).
  • Forgetting to close the header: If you start typing in the header and then click in the body, your cursor might still be in the header. Always click outside to exit.
  • Using the same header on all pages when you wanted different ones: You need to unlink sections or use the “Different first page” option. Google Docs doesn’t allow different headers per page unless you insert section breaks.
  • Formatting the header but not the page number: Page numbers are separate elements; changing the header font doesn’t automatically change the page number font.

Tips

  • Use a header for your document title or chapter name—it helps readers navigate long documents.
  • Keep headers concise. Too much text can push your main content down.
  • If you want a logo in the header, click Insert > Image and upload it. Resize it with the corner handles.
  • To remove a header entirely, double-click it, select all text, press Delete, then click outside. The header area will disappear (unless you have page numbers).
  • Use the “Different first page” option for title pages that shouldn’t have a header.

Troubleshooting

Header won’t appear or is not editable

Make sure you’re not in “Suggesting” mode (top-right dropdown). Switch to “Editing” mode. Also, if you’re on a mobile device, tap the top of the page and look for a pencil icon—tap it to edit the header.

Header text is grayed out and won’t let me click

That’s normal—it’s just the preview. Double-click on the header area to make it editable.

Page numbers are not showing up in the header

Check that you inserted page numbers via Insert > Page numbers, not just typed “1”. Also ensure the header is not set to “Different first page” if you expect numbers on the first page.

Header appears on some pages but not others

If you have section breaks, each section can have its own header. Click into the section where the header is missing, open the header, and check “Link to previous” in the header toolbar. If it’s unlinked, the header is independent for that section.

Header is too large and pushes content down

Reduce the header margin (Options > Header format) or remove extra blank lines. Also check if you have multiple empty paragraphs in the header.

Changes to header don’t save

Google Docs autosaves, but if you’re offline, changes sync when you reconnect. Check your internet connection and look for the “Saved to Drive” indicator.

Frequently Asked Questions

Can I have different headers on each page?

Not directly. Google Docs uses sections. You can insert a section break (Insert > Break > Section break) and then unlink the header for that section. Each section can have its own header, but you must manually set each one.

How do I remove the header from the first page only?

Open the header, click Options (or right-click the header), and check “Different first page”. Then leave the first page header blank.

Can I add a header in the Google Docs mobile app?

Yes. Open the document, tap the pencil icon to edit, tap the top of the page, then tap the “Header” icon (looks like a small header area). Type and format using the toolbar.

Why does my header text disappear when I scroll?

Headers are not sticky by default. They only appear at the top of each page when printed or in print layout view. If you want a sticky header on screen, you’d need to use a table or a drawing, but that’s not standard.

Can I use different fonts in the header?

Yes, select the text and choose any font from the font dropdown. You can also mix fonts within the header.

How do I make the header smaller or larger?

Adjust the header margin (Options > Header format) to change the space. To change the font size, select the text and increase or decrease the font size in the toolbar.