How to add page numbers in Google Docs
Add page numbers in Google Docs with Insert > Page numbers. Skip the cover page, start at any number, add Page X of Y, and fix a greyed-out menu.

Quick answer
To add page numbers in Google Docs, go to Insert > Page numbers and choose whether to place them in the header or footer, and whether to start counting from page 1 or page 0. The number is inserted automatically and updates as you add or remove pages.
Steps at a glance
- Go to Insert > Page numbers.
- Choose a position: header (top of page) or footer (bottom of page).
- Choose whether the number appears on the first page or starts from the second.
- Click the option to insert — the page number updates on all pages automatically.
- Click outside the header or footer area to return to the document body.
Interactive demo
This interactive demo was created free with Arclet in 2 minutes.
Create your own demo →Compare demo toolsSummary
Page numbers in Google Docs are fields in the header or footer that update as pages are added or removed. Pick one of four placements from Insert > Page numbers, or open More options to hide the number on the first page and choose the starting number. Page numbers only exist in Pages format. A pageless document has no headers or footers, so switch it to Pages first. For numbering that restarts partway through, such as after a title page and contents, split the document with a section break.
Step-by-step guide
Step 1
Open the page numbers menu
Click Insert in the top menu bar, then hover over Page numbers. A submenu appears with icons showing four placement options.
Step 2
Choose header or footer placement
Click one of the four icons. The top two place numbers in the header; the bottom two place them in the footer. The right icons exclude the number from the first page.
Step 3
Verify the page number is inserted
Google Docs inserts the page number field into the header or footer. You can see it on every page. The header or footer area is now active for editing.
Step 4
Set a custom starting number (optional)
Go to Insert > Page numbers > More options. In the dialog, enter a custom starting page number and choose whether to show the number on the first page. Click Apply.
Why this matters
You're about to submit a 20-page essay and you just noticed the instructions say page numbers must appear in the footer, starting from page 1. You've written the whole thing without them.
Troubleshooting
Page numbers appear on every page including the cover page
Go to Insert > Page numbers > More options and uncheck Show on first page. Alternatively, choose the placement icon that shows the number starting from the second page.
Page numbers disappeared after editing the header
You may have accidentally deleted the page number field. Go to Insert > Page numbers and re-insert them.
Insert > Page numbers is greyed out
The document is in pageless format, which has no headers or footers. Go to File > Page setup, choose Pages, and click OK. Page numbers are then available.
Numbers should start on page 3, after the title page and contents
Put the cursor at the end of page 2 and choose Insert > Break > Section break (next page). Double-click the footer on page 3, untick Link to previous, then open Insert > Page numbers > More options and set Start at to 1 for that section. Delete any page number left in the first section's footer.
The first page shows a different number than expected
Open Insert > Page numbers > More options. Check whether Show on first page is ticked and what Start at is set to. Hiding the number on the first page doesn't change the count, so page 2 still shows 2.
Frequently asked questions
Can I format the font or size of the page number?
Yes. Double-click the header or footer to enter edit mode, select the page number, and change the font, size, or color using the toolbar just like regular text.
How do I add page numbers in the format 'Page X of Y'?
Insert the page number first. Then click in the footer, type a space, of, and a space after the number, and choose Insert > Page count. Type Page before the number to finish. Both fields update on their own.
How do I remove page numbers from Google Docs?
Double-click the header or footer, select the page number field, and press Delete. Deleting it on one page removes it from every page in that section.
Related guides
Continue with more step-by-step guides for getting work done.
How to add a footer in Google DocsAdd a footer in Google Docs from the Insert menu: open Page elements, choose Footer, type your text, then press Escape to return to your document.
How to insert a page break in Google DocsInsert a page break in Google Docs from the Insert menu so a section starts at the top of a new page, without pressing Enter over and over.
How to make one page landscape in Google DocsMake one page landscape and keep the rest portrait: add a section break, then apply Landscape to This section in Page setup. Interactive demo included.
How to change margins in Google DocsLearn how to change page margins in Google Docs using the File menu or the ruler — set custom margins in inches or centimetres.
How to check word count in Google DocsLearn how to see word count in Google Docs quickly using the Tools menu, keyboard shortcut, or live counter while you write.
How to do superscript in Google DocsRaise text above the line in Google Docs with the Format menu. Select the characters, choose Superscript, and get clean exponents, ordinals and formulas.
Create interactive demos like this one — free, no coding required.
Start for free →