Page numbers in InDesign go into a special text box called a text frame, placed on your master page so they appear on every page automatically

The fastest way is to insert a page number placeholder on your master page — the template that controls what appears on all pages at once. This takes about two minutes and means you never have to manually type page numbers. If you only need numbers on certain pages, you can override the master page for those specific pages instead.

The process works the same whether you're numbering a 10-page brochure or a 200-page book. You'll create a text frame, insert the page number character, and position it where you want it to appear. InDesign updates the number automatically as you move through the document.

Key Takeaways

  • Page numbers live on the master page, not on individual document pages, so they appear everywhere at once without manual work.
  • You insert a special page number character (not typed text) that InDesign replaces with the correct number on each page.
  • The text frame holding the page number can be positioned anywhere — footer, header, margin, or corner — and formatted like any other text.
  • You can add page numbers to some pages only by creating a new master page or by overriding the master page on individual pages.

Opening the master page and creating a text frame

Start by opening the Pages panel on the right side of your screen. If you don't see it, go to Window > Pages. You'll see your document pages listed, and above them you'll see the master pages — usually labeled "A-Master" or something similar. Double-click the master page to enter edit mode.

Now create a text frame where you want the page number to appear. Click the Type tool (the T icon in the toolbar on the left), then click and drag to draw a small rectangle at the bottom of the page, in a corner, or wherever you want numbers to show. Make it about an inch wide and a quarter-inch tall — you can resize it later if needed.

The text frame is now active and ready for text. You'll see a blinking cursor inside. Don't type anything yet — you're about to insert a special character instead.

Inserting the page number character

With your cursor blinking inside the text frame, go to Type > Insert Special Character > Markers > Current Page Number. InDesign inserts a special symbol (usually a triangle or the letter "A") that represents the page number. This is not text you typed — it's a placeholder that InDesign replaces with the actual page number on each page.

You can type text around this character if you want. For example, you could type "Page " before it, or " of 50" after it. Only the special character changes from page to page; the regular text stays the same.

If you don't see the Insert Special Character menu, you can also right-click inside the text frame and look for Insert Special Character or Markers in the context menu. The exact wording varies slightly by InDesign version, but the option is always there.

Formatting and positioning the page number

Select the text frame by clicking its border (not inside it), and you can now move it anywhere on the page. Drag it to your final position. You can also resize the frame by dragging its corners or edges.

To change how the number looks, select the text inside the frame and use the Character panel (Window > Character if you don't see it). You can change the font, size, color, or alignment. If you want the number centered in the frame, select the text and click the center alignment button in the Paragraph panel.

If you want the page number to appear in a different style — like Roman numerals (i, ii, iii) or letters (a, b, c) — you'll need to change the numbering style for the whole document. Go to Type > Numbering & Section Options, then choose your style from the Style dropdown. This affects all pages unless you've created separate sections.

Exiting the master page and checking your work

When you're done editing the master page, click back on any regular page in the Pages panel to return to your document. You should now see the page number appear on that page, and on every other page in your document. The number changes automatically — page 1 shows "1", page 2 shows "2", and so on.

Scroll through a few pages to confirm the numbers are appearing where you want them and that they're updating correctly. If the page number doesn't show up, go back to the master page and check that the text frame is actually on the master and not hidden behind another object.

Adding page numbers to only some pages

If you want page numbers on pages 5 through 20 but not on pages 1 through 4, you have two options. The first is to create a second master page without page numbers, then apply that master to pages 1-4. The second is to override the master page on those pages by right-clicking them in the Pages panel and choosing Override All Master Page Items, then deleting the page number frame.

To create a new master page, right-click in the master pages section at the top of the Pages panel and choose New Master. Give it a name like "No Numbers". Don't add a page number frame to this master. Then drag pages 1-4 onto this new master to apply it to them.

The override method is faster for just a few pages. Right-click the page, choose Override All Master Page Items, then click the page number frame to select it and press Delete. The frame disappears from that page only, while all other pages keep their numbers.

Troubleshooting common page number problems

If page numbers aren't showing up, the text frame might be outside the page boundary. Go back to the master page, click the text frame, and check that it's fully inside the page edge. You can also check that the text frame isn't set to white text on a white background — select the frame and look at the Character panel to confirm the text color is visible.

If the page number shows the same number on every page instead of changing, you may have typed the number as regular text instead of inserting the special character. Delete what you typed and use Type > Insert Special Character > Markers > Current Page Number instead.

If you see the placeholder symbol (like a triangle) instead of an actual number, the document may be in a view mode that shows special characters. Go to Type > Show Hidden Characters to toggle this off, or just export or print the document — the numbers will appear correctly in the final output.

Frequently Asked Questions

Can I start page numbering from a number other than 1?

Yes. Go to Type > Numbering & Section Options, click the New Section button, and enter the starting number you want. This is useful if your document is part of a larger book and you want numbering to continue from a previous file.

How do I add page numbers only to the footer, not the header?

The position is entirely up to you. When you create the text frame on the master page, just draw it in the footer area instead of the header. The page number character works the same way no matter where the frame is positioned.

What if I want different page numbers on left and right pages?

Create two separate master pages — one for left pages and one for right pages — and position the page number frame differently on each. Then apply the left master to left-facing pages and the right master to right-facing pages. You can also use the same master for both and position the frame in the outer margin, which will naturally be on the right of right pages and the left of left pages.

Can I include the total page count, like "Page 5 of 50"?

Yes. In your text frame, type "Page " then insert the current page number character, then type " of " then go to Type > Insert Special Character > Markers > Last Page Number. This inserts a second special character that shows the total page count.

Do page numbers print if I export to PDF?

Yes. Page numbers on the master page will appear in your PDF export and in printed output. They're part of the document layout, not a separate layer or view mode.