How to Automatically Generate Page Numbers in Word: Inserting Automatic Numbering

Explain the steps for automatic page numbering in Word: use the page number feature under "Insert" to write a PAGE field, set the starting page number, unlink sections, add "Page X of Y," and explain why the field updates automatically as pages change.

Key Points of This Article

  • Use "Insert" → "Page Number" to add page numbers. Word inserts a PAGE field, so the numbers are calculated automatically based on each page's position, and you don't need to renumber manually after deleting or editing pages.
  • To leave the cover without a page number and start the body at 1, first insert section breaks, then turn off "Link to Previous" between the sections, and finally set the starting page number.
  • To display "Page X of Y", you need to use both the PAGE field and the NUMPAGES field. Press Ctrl+F9 to insert field codes, then press F9 to update them.
  • If the page numbers are wrong, first press Alt+F9 to view the field codes and delete any leftover hand-typed numbers. Then select the whole document and press F9 to update all fields.

When writing theses, reports, or contracts, if page numbers are typed in manually, then inserting or deleting a page means every number after it has to be changed again. Word provides an automatic page numbering feature that uses fields: the page number is not a fixed string of text, but a result that Word calculates in real time based on each page's position.

This article is for people who need to set page numbers in Word. After reading it, you will be able to do three things: insert page numbers that update automatically, keep the page number off the cover while starting the body text at 1, and add formats such as "Page X of Y." The steps in this article are based on the common interface of the Word desktop version; menu locations may differ slightly across versions.

How to Make Word Page Numbers Generate Automatically? One-Sentence Answer

Simply use the page number feature in the Insert menu at the top of Word. Word will insert a PAGE field into the footer or header. It records "which page this is currently," so the numbers will update automatically when you add or remove content.

Your situationRecommended PracticesCause
Ordinary document, numbering continuously from the first pageInsert → Page Number → Bottom of Page, then select a centered style.Fewer steps: Word automatically inserts the PAGE field
Cover page should have no page number; the body text starts from 1.Insert a section break first, then unlink from the previous section, and set the starting page number to 1.Calculate the cover and the body text separately.
Page X of YInsert both the PAGE field and the NUMPAGES field in the footerTwo fields record the current page and the total number of pages respectively.
Number each chapter independently (restart numbering in each chapter)Set the starting page number in the page number format for each section.Each section is numbered independently, without affecting one another.
The document needs to be copied to other files.Before saving, press Alt+F9 to check the field codes, then press F9 to update them.Confirm the domain is complete and avoid turning it into plain text

Before You Begin: Confirm These Points First

1. Whether the document has already been divided into sections. Sectioning determines whether the cover page, table of contents, and body text can use different page numbering rules. If the entire document is a single section, all pages share the same page number settings, and the cover page cannot have its page number removed separately.

2. Check whether the header or footer already contains content. If you previously typed numbers or text manually, they will overlap with the automatic page numbers. Before you start, enter the header/footer area and clear any old content.

3. Which number format is needed. Body text usually uses Arabic numerals (1, 2, 3), while the preface or table of contents usually uses Roman numerals (i, ii, iii). The format should be selected under "Page number format," not simulated by manually changing characters.

4. Whether a different odd/even page or different first page layout is needed. Double-sided printed manuscripts often use opposite page-number positions for odd and even pages; documents with a cover page often use "Different First Page." These options are set in the header and footer tools, separately from ordinary page numbers.

5. Final usage of the file. If you plan to send it to others for editing, it is recommended to save it in .docx format and confirm in the recipient's Word that the page numbers remain continuous. Fields may display in different styles across different software, so the actual display should be taken as the reference.

Steps to Insert Automatic Page Numbers in Word

  1. Open the document and switch to the Insert tab at the top of Word.
  2. On the Insert tab, find the Page Number button, then choose Bottom of Page or Top of Page from the drop-down menu. This determines where the page number appears on the page.
  3. In the style list that appears, select one style, such as a plain number or a centered number style.
  4. The footer of all pages enters edit mode, and each page now displays an automatically calculated number.
  5. Double-click the body area, or select Close in the Header and Footer Tools, to exit edit mode.
  6. Check whether the page numbering starts from 1. If not, open the page number format settings window and enter the required number in the Start at field.
  7. If you need "Page X of Y", type "Page of " in the footer, place the cursor at the first space, press Ctrl+F9 to insert a pair of braces, type PAGE inside them, and press F9 to update. Then place the cursor at the second space, insert braces the same way, type NUMPAGES, and press F9 to update.

Verify each item after completion

After the page numbering is set up, check the following items one by one. Most problems can be located within a few minutes.

Inspection itemsHow do you see it?What should I do if I have a problem?
Starting page numberTurn to the first page of the main text and check whether the number is the expected value.Change the starting page number in "Page Number Format"
Are the page numbers consecutive?Delete or move a page, then check whether the subsequent numbers remain consecutiveSelect the entire document and press F9 to update fields; if it's still incorrect, check whether the document is divided into sections and whether the "Link to Previous" option has not been turned off.
Cover and Table of Contents PageCheck whether the footers on the previous few pages display page numbers.Check "Different First Page," or uncheck "Link to Previous" in the corresponding section, and then delete the page number separately.
Manual digit residuePress Alt+F9 to display the field codes, then check whether there are plain numbers in the footer.Delete the leftover numbers, then reinsert the page numbers using the page number feature.
Print effectUse Print Preview to check the page number position and format on each page.Go back to the header and footer, then adjust the alignment or font.

Alt+F9 toggles the display of field codes. If you see codes like { PAGE }, it means the page numbers are generated by fields, which is normal; press Alt+F9 again to switch back to showing the results.

📊 Core Comparison

There are several ways to add numbering to page numbers, and they differ greatly in whether they update automatically.

MethodDoes the page number change automatically after pages are added or deleted?Applicable Scenarios
Manual number inputNo, it needs to be revised page by page.Short document with a few pages, and it will not be changed.
Page Number Function (PAGE Field)Yes, Word calculates in real timeMost papers, reports, and contracts
Copy and paste existing page numbersNo, what was copied is fixed text.Not recommended for multi-page documents.
Typeset first, then unify the numbers.It usually needs to be redone, and it's prone to errors.Not recommended as a long-term solution.

If your document will be revised frequently, using the page number field feature is a safe approach. Its advantage is that after changing the content, you do not need to recalculate the page numbers manually; you only need to press F9 to update them when necessary.

❓ Frequently Asked Questions (FAQ)

1. Why aren't the page numbers updating automatically?

First select the entire document, then press F9 to update all fields. If the numbers still don't change, press Alt+F9 to check whether the footer contains plain typed numbers instead of fields; if so, delete them and reinsert the page number feature.

2. How do I hide page numbers on the cover page?

The simple way is to check "Different First Page," so the cover uses a blank first-page footer. If there is a section break between the cover and the body text, you can uncheck "Link to Previous" in the body section, and then delete the page number from the cover separately.

3. What to do if page numbers show as Error! or curly braces?

This is usually caused by an error in the field code, such as a misspelled PAGE or a deleted curly brace. Press Alt+F9 to check the code, correct it, and then press F9 to update.

4. How do I set Roman numeral page numbers?

Open the page number formatting window, select Roman numerals in the number format, and then set the starting page number to 1. Usually the preface uses Roman numerals, and the main text starts a new section where the numbering is changed back to Arabic numerals.

📝 Summary

The core of automatic page numbering in Word is the PAGE field: insert page numbers through the Insert menu's page number feature to write the field, then use section breaks and starting-page-number rules so that the page numbers update automatically as the content changes. After inserting, use Alt+F9 and F9 to do a check, making sure no hand-typed numbers remain.

Open OmniDoc, and edit and export documents online

Updated 2026-11-29