How To Add Page Numbers And Headers In Google Docs (2026)
Google Docs can number your pages and repeat text at the top and bottom of every page, but the menu items are tucked under one submenu.
Everything below is for Google Docs on a computer, and it follows Google’s own help page for headers, footers and page numbers.
If a number or header will not appear, the cause is almost always the page format, which is covered in its own section.
Quick answer: where each page element lives
| What you want | Where to click |
|---|---|
| Header or footer | Insert, Page elements, then Header or Footer |
| Page numbers | Insert, Page elements, Page number |
| Total page count | Insert, Page elements, Page number, Page count |
| Footnote | Insert, Page elements, Footnote |
| Start numbering later | Insert, Page elements, Page number, More options |
Every one of these needs the document to be in pages format, not pageless.
Add a header or footer
- Open the document in Google Docs.
- Click Insert, then Page elements.
- Choose Header or Footer.
- Type your text in the box that appears.
The text you type repeats at the top or bottom of the pages in that part of the document.
You can add both a header and a footer to the same document.
Add page numbers
- Click Insert, then Page elements, then Page number.
- Choose where the numbers should appear on the page.
Google says the numbers are added automatically, so you do not have to type one on each page.
The same Page number menu has a More options entry for choosing specific pages or sections and for changing the alignment.
Add the total page count
- Click where you want the count to appear.
- Click Insert, then Page elements, then Page number.
- Choose Page count.
Google describes Page count as adding the total number of pages wherever your cursor is.
Put it next to a page number in the footer if you want a “page of total” style label.
Start numbering on a later page or section
- Click Insert, then Page elements, then Page number, then More options.
- Under Apply to, choose where the change should apply.
- Click Apply.
If you do not see the Apply to choice, add a section break first.
To add one, click Insert, then Break, then choose a section break, which can start on the next page or continue on the same page.
Google says section breaks are also how you give different parts of a document their own margins or page numbers.
Use a different header on the first page or a section
- Click inside the header or footer.
- Check Different first page to treat the first page or section differently.
- Uncheck Link to previous to give a section its own header or footer.
If Link to previous is not offered, add a section break first, as described above.
A different first page is a common way to keep a title page free of a header or page number.
Use different headers on odd and even pages
- Click inside a header or footer.
- On the right, click Options.
- Under Apply to, select Whole document.
- Check Different odd and even, then click Apply.
This is the setup for printed documents where left and right pages carry different text.
Change or remove header and footer margins
- Click inside a header or footer.
- At the top left, click Format, then Headers & footers, then More options.
- Under Apply to, choose a section or the whole document.
- Enter your margin sizes and click Apply.
To remove the header or footer space entirely, set the margin to 0.
For the main page margins rather than the header and footer margins, Google points to File, then Page setup, where you pick which sections to change and click OK.
Remove a header or footer
- Double-click the header or footer.
- On the right, click Options.
- Click Remove header or Remove footer.
Google’s page does not list steps for removing page numbers or a page count, so treat those as separate from this menu.
Add a footnote
- Click where you want the footnote marker.
- Click Insert, then Page elements, then Footnote.
- Type the footnote text.
In pageless format, Google says all footnotes appear together at the end of the document.
Pages format or pageless: what each one allows
| Feature | Pages format | Pageless format |
|---|---|---|
| Headers and footers | Available | Hidden, and they reappear when you switch back |
| Page numbers | Available | Cannot be added |
| Page breaks and section breaks | Available | Not available |
| Footnotes | Shown on the page | Shown together at the end of the document |
| Page color | Orientation, paper size, margins and color | Background color only |
Google also notes that columns and watermarks follow the same rule, so a document missing these items may simply be in pageless view.
Pageless documents have their own View menu choice for text width, which can be narrow, medium or wide.
Headers, footers or page numbers missing
| Symptom | Cause and fix |
|---|---|
| Insert menu has no working header, footer or page number options | The document is probably in pageless format, so go to File, Page setup and select Pages, then click OK |
| Headers and footers vanished after a format change | Switching to pageless hides them, and Google says they reappear when you switch back to Pages |
| No Apply to choice for page numbers | Add a section break with Insert, Break first |
| No Link to previous option | Add a section break first |
| Page breaks or margins will not change | Those features are also unavailable in pageless documents |
You can also switch formats from the Format menu, where the choice reads either Switch to Pageless format or Switch to Pages format.
The Page setup dialog has a Set as default option that applies your chosen format to new documents.
Related guides
If you edit the same file in Word, our guide to starting page numbers on a later page in Word covers the Microsoft side.
To undo a change you regret, see how to restore an earlier version of a Google Doc.
If edits are not saving while you work without a connection, read how to fix Google Docs offline not working.