The fastest way to add page numbers in InDesign
Open your document in InDesign, then go to Type > Insert Special Character > Markers > Current Page Number. This inserts a code that automatically updates to show the correct page on each page of your document. You place this code inside a text frame — usually in a header, footer, or margin area — and InDesign handles the numbering for you.
The key is that you are not typing numbers manually. You are inserting a marker that InDesign recognizes and updates automatically. If you add or delete pages later, the numbers adjust without you touching them again.
Key Takeaways
- Page numbers go inside text frames, most commonly in the footer or margin area of your master page so they appear on every page automatically.
- Use Type > Insert Special Character > Markers > Current Page Number to insert the automatic page number code, not manual text.
- Master pages let you set up page numbers once and have them appear on all pages that use that master, saving time in long documents.
- You can style page numbers with any font, size, or color by selecting the text frame and using the Character panel, just like any other text.
- If you want page numbers to start at a number other than 1, right-click the page in the Pages panel and choose Page Numbering and Section Options.
Setting up page numbers on a master page
The most efficient approach is to add page numbers to a master page rather than to individual pages. A master page is a template that controls the layout and elements that repeat across multiple pages. When you add a page number to a master page, it automatically appears on every page that uses that master.
Open the Pages panel (Window > Pages), then double-click the master page you want to edit — usually labeled "A-Master" or similar. This opens the master page for editing. Create a text frame in the footer or margin where you want the page number to appear, then insert the Current Page Number marker inside it. When you return to your document pages, the number will appear on every page that uses that master.
If your document uses multiple master pages — for example, one for left pages and one for right pages — you will need to add the page number to each master separately. InDesign will then place the correct number on each page based on which master it uses.
Inserting the page number code into a text frame
Page numbers must live inside a text frame. If you have not created one yet, select the Type tool (or press T), then click and drag to create a rectangular text frame in your document where you want the page number to appear. The frame does not need to be large — just big enough to hold the number.
With your cursor blinking inside the text frame, go to Type > Insert Special Character > Markers > Current Page Number. A small symbol (usually a triangle or special character) will appear in the frame. This is the marker. When you view the document or export it, InDesign replaces this marker with the actual page number.
You can type text before or after the marker if you want — for example, "Page 5" or "5 of 12". Just type normally, then insert the marker where the number should go. If you want to show the total page count, insert the marker for Current Page Number, then type " of ", then go back to Type > Insert Special Character > Markers > Last Page Number.
Styling and positioning page numbers
Once the page number marker is in the text frame, you can format it like any other text. Select the text frame or highlight the marker, then use the Character panel (Window > Type & Tables > Character) to change the font, size, color, or style. You can make page numbers bold, italic, or any other formatting InDesign supports.
To move the page number, select the text frame itself (not the text inside it) and drag it to a new position. You can also resize the frame by dragging its corners. If you are working on a master page, these changes will apply to all pages using that master. If you are working on an individual page, the change affects only that page.
If the page number does not appear where you expect, check that the text frame is not hidden behind another object. Select the frame and go to Object > Arrange > Bring to Front if needed.
Starting page numbers at a different number
By default, InDesign starts numbering at 1 on the first page. If you want a section to start at a different number — for example, if your introduction is numbered with Roman numerals and your main content starts at page 1 — you can change this using section options.
Right-click the page in the Pages panel where you want the new numbering to begin, then select Numbering & Section Options. Check the box next to Start Section, then choose whether to start with a specific number or style. Enter the number you want to start with, then click OK. All pages after that point will number sequentially from your chosen starting point.
This is useful for documents with front matter (like a table of contents numbered i, ii, iii) followed by the main document (numbered 1, 2, 3). You create one section for the front matter and another for the main content, each with its own starting number.
Troubleshooting common page number problems
If page numbers are not showing up, check that you inserted the marker inside a text frame, not just clicked on the page. The marker must be inside an active text frame to work. Also verify that the text frame is not positioned off the edge of the page or hidden behind another object.
If page numbers are showing the same number on every page, you likely typed a number manually instead of inserting the Current Page Number marker. Delete the text and use Type > Insert Special Character > Markers > Current Page Number instead. The marker is what makes the number change from page to page.
If you are working on a master page and page numbers still do not appear on your document pages, check that your document pages are actually assigned to that master. Select a page in the Pages panel, then look at the master page listed above it. If it shows a different master, drag the correct master onto the page to reassign it.
Using page numbers with different page sizes or orientations
If your document has pages of different sizes or orientations — for example, some portrait and some landscape — you may need separate master pages for each layout. Create a master page for each layout type, add the page number to each one in the appropriate position, then assign the correct master to each page in your document.
This ensures that page numbers stay in a sensible position regardless of the page orientation. A footer that works on a portrait page might end up in an awkward spot on a landscape page, so positioning the number separately on each master prevents this problem.
Frequently Asked Questions
Can I have different page number styles on different pages?
Yes. Use Numbering & Section Options to create separate sections with different numbering styles. For example, you can set the first section to use Roman numerals (i, ii, iii) and the second section to use Arabic numerals (1, 2, 3). Each section can have its own style and starting number.
What if I want page numbers only on certain pages, not all pages?
Add the page number to individual pages instead of the master page. Select the page in the Pages panel, create a text frame, and insert the Current Page Number marker. Then add it only to the pages where you want it to appear. This takes longer than using a master page but gives you complete control.
Can I add page numbers to a PDF after exporting from InDesign?
No, you should add page numbers in InDesign before exporting. Once a PDF is created, adding page numbers requires a separate PDF editor. It is much easier to set them up in InDesign and export the PDF with the numbers already in place.
How do I remove page numbers from the first page only?
Create a separate master page without a page number, then assign it only to the first page. All other pages use the master page that includes the page number. This is common for title pages or cover pages that should not show a number.
What does the special character symbol in the text frame mean?
The symbol you see in the text frame (often a triangle or dagger shape) is InDesign's visual representation of the page number marker. It is not the actual number — it is a placeholder that tells InDesign to insert the current page number when you view or export the document. The actual number appears when you preview or print.