Skip to content
DocumentTaskLab

Google Docs tasks · Layout

Add headers and footers in Google Docs

Written November 21, 2026

A document title at the top of every page and a page number at the bottom should not mean typing the same line thirty times. In Google Docs a header and a footer are typed once and repeat on every page for you. This guide covers adding both from the Insert menu, giving the first page a clean header of its own, and putting page numbers inside the footer so they count themselves.

Add a header or footer

Google describes the same job in its help on how to use headers, footers, page numbers and footnotes: headers and footers add content to every page of the document, and you type that content once. One condition comes first — the document has to be in Pages format. Headers and footers belong to pages, so in a pageless document they are not available at all.

  1. Open the Headers & footers menu. In the document, choose Insert > Headers & footers. In current versions of Docs the same commands also sit under Insert > Page elements; either route leads to the Header and Footer choices.
  2. Choose Header or Footer. Pick Header and the cursor lands in the space at the top of the page, above the body text. Pick Footer and it lands in the space at the bottom. You can have both — most documents that need one end up using the header for a title and the footer for the page number.
  3. Type the text once. Type the document title, your name, a date, or whatever belongs on every page. Format it like ordinary text — font, size, bold and alignment all work in a header or footer — and keep it short: one line is the norm.
  4. Click back into the body. Click in the main text, or press Esc, to leave the header. Scroll to page two: the same text is already there, and on every page after it. Edit it on any one page and it changes on all of them, because there is only the one header being repeated.

You can also open the header or footer directly: double-click in the space at the very top or bottom of any page and the cursor goes straight in, no menu needed. That is the fastest route for a quick edit later.

Make the first page different

A title page usually should not carry the running header — the document's name is already on it in large type, and a page number on page one looks untidy. Docs handles this with one checkbox, which Google's headers and footers help covers under using different headers or footers per page or section.

  1. Click into the header or footer on the first page. Double-click at the top or bottom of page one so you are editing that page's header or footer.
  2. Tick Different first page. The checkbox appears alongside the header and footer options while you are editing. Tick it and page one gets its own separate header and footer, apart from the rest of the document.
  3. Decide what page one shows. Leave the first page's header and footer empty for a clean title page, or type something that belongs only there. Then click into the header on page two and confirm the running text for the rest of the document is set there — with Different first page on, pages two onward share their own header, and page one no longer follows it.
Sections are separate again

Different first page applies per section. In a document split by section breaks, each section has its own header and footer, and headers can be linked to the previous section or unlinked so a new part of the document can carry different running text. If a header changes stop partway through the document, a section break — not a typing error — is almost always why.

Add page numbers inside the footer

Page numbers live in the footer, and the footer is where you place them: put the cursor in the footer, and the number that appears is a live count, not typed text, so it is right on every page without any upkeep from you.

  1. Click into the footer. Double-click at the bottom of a page, or use Insert > Headers & footers > Footer, so the cursor sits where the number should go. Set the alignment first — page numbers usually sit centered or at the right — because the number lands at the cursor.
  2. Use the page number option in the footer. While you are editing the footer, use its Options and page number controls to insert the page number, and choose where numbering applies. Docs also offers the same insertion from the main menu — Insert > Page elements > Page number — where you can pick the number's position, ask for the total page count as well, or open More options to apply numbering to specific pages or sections and change its alignment.
  3. Add the total if it helps the reader. The page count choice inserts the document's total — the familiar “Page 3 of 12” — and it updates itself as the document grows or shrinks. Type the words “Page” and “of” around the two inserted numbers yourself; only the numbers are automatic.
  4. Check the first page. If you ticked Different first page, decide whether page one is numbered. Leaving its footer empty gives an unnumbered title page while pages two onward carry the count — and note the count itself still includes page one, so the first numbered page will read 2 unless you change the starting number in the page number options.

Edit, align and remove a header or footer

  1. Edit by double-clicking. Double-click the header or footer text on any page, type the change, and click back into the body. The edit applies everywhere that header or footer is used, not just on the page you clicked.
  2. Align and format as normal text. Use the ordinary alignment buttons and text formatting while the cursor is in the header or footer. A common tidy layout is the title aligned left in the header, and the page number centered or aligned right in the footer.
  3. Remove through Options. To take a header or footer out, double-click into it and use Options > Remove header or Remove footer on the right. That clears it properly; simply deleting the visible text on one page leaves the empty header space — and any page number field sitting in it — still in place.

End state

When it goes wrong

Related document tasks

Sources