Document Editing Problems

Fix the Grayed-Out Page Number Command in Microsoft Word

Bushra ParveenBushra Parveen Nov 13, 2026 869 views

Question details

The user needs to add page numbers when the Page Number command on Word's Insert tab is disabled.

Fix the Grayed-Out Page Number Command in Microsoft Word
Product
Microsoft Word
Device & OS
not provided
Scenario
Adding page numbers to a document through Insert > Page Number.
Observed behavior
The Page Number command is grayed out, preventing insertion through the ribbon.
Before you start

Check whether the document allows editing and whether you have permission to change its protection settings. The keyboard shortcuts and Quick Parts instructions below apply to desktop Word for Windows; other versions may differ.

Solution 1Recommended

Check document protection and editing restrictions

Use this first to determine whether document restrictions are preventing page-number insertion.

1
Inspect editing restrictions

In Word, open Review > Restrict Editing and check whether restrictions are enforced. Protection can prevent changes to the document or its headers and footers.

2
Restore editing with permission

If you are authorized to remove protection, click Stop Protection in the Restrict Editing pane and enter the password if prompted. If you do not have the password or permission, ask the document owner to allow the change.

3
Retry page-number insertion

Return to Insert > Page Number and choose the location and style you need. If the command remains unavailable but the document is editable, try one of the PAGE field methods below.

Check document protection and editing restrictions
Field insertion does not bypass protection: The alternative insertion methods require an editable location. They cannot override document protection or access restrictions.
Free Microsoft Office alternative

Add Document Page Numbers with WPS Writer

WPS Office is a free, lightweight alternative with a familiar interface and support for Word documents, making migration straightforward. Open an editable document in WPS Writer and use Insert > Page Number to add numbering. WPS does not fix Word's disabled command or bypass document protection.

Add page numbers through WPS Writer's Insert tab.Open, edit, and save Microsoft Word .doc and .docx files.Use familiar document-editing tools with a lightweight Office suite.Continue working with existing Word documents without recreating them.
microsoft office alternative - wps office

Frequently Asked Questions

Does a grayed-out Page Number command mean my document is protected?

Protection is one possible cause, but the disabled command alone does not prove it. Open Review > Restrict Editing to check whether restrictions are enforced.

Can I insert a page number without using the Page Number button?

Yes, if the insertion location is editable. In desktop Word for Windows, press Alt+Shift+P, or choose Insert > Quick Parts > Field and select PAGE.

Why does Word show { PAGE } instead of a page number?

Word is displaying field codes rather than results. In desktop Word for Windows, press Alt+F9 to toggle the display. If you created the field manually, press F9 to update it.

How do I make the page number appear on every page?

Double-click the top or bottom margin to open the header or footer, then insert the PAGE field there. Check the Different First Page and section header/footer settings if some pages do not show the number.

Can I type { PAGE } manually to create a working page number?

No. Ordinary typed braces do not create a Word field. Press Ctrl+F9 to insert field braces, type PAGE inside them, and press F9 to update the field.