Formatting Issues

How to Remove a Gray Border That Is Not a Page Border in Word

Elise WilliamsElise Williams Nov 3, 2026 868 views

Question details

A gray border appears on all pages, prints, and exports to PDF, even when the Page Borders setting is configured to 'None'.

How to Remove a Gray Border That Is Not a Page Border in Word
Product
Microsoft Word
Device & OS
not provided
Scenario
The user is trying to print or export a document to PDF without a persistent, unwanted gray border appearing on the pages.
Observed behavior
The gray border remains visible on prints and PDFs because it is a manually drawn shape or graphic anchored in the document header or footer, rather than a built-in page border.
Before you start

Ensure your document is in 'Print Layout' view so you can easily see, select, and modify objects anchored in headers or footers.

Solution 1Recommended

Remove the Anchored Shape from the Header or Footer

Access the header and footer area to select and delete the manual shape acting as a border.

When page borders are set to 'None' but a border still appears across all pages, it is typically a rectangle shape manually inserted into the header or footer background to mimic a border. Deleting this object will solve the issue.

1
Access Header/Footer

Double-click near the top or bottom margin of any page to open the Header & Footer tools.

2
Locate the Border Shape

Move your cursor over the gray border line and click on it to select the shape or text box that has been anchored to the page.

3
Delete the Shape

Press the 'Delete' or 'Backspace' key on your keyboard to completely remove the shape from all pages.

4
Close Header/Footer

Double-click anywhere in the main document body or click the 'Close Header and Footer' button on the ribbon to return to normal editing.

Remove the Anchored Shape from the Header or Footer
Check Print Preview: Press Ctrl+P to open Print Preview and verify that the gray border is completely gone from the printed page.
Seamless Word Processing

Edit Headers and Remove Borders Easily with WPS Office

WPS Office provides a highly compatible and intuitive word processor where you can easily manage headers, footers, and page borders without complex hidden settings.

  1. 1. Open the Document: Launch WPS Office Writer and open your problematic Word document.
  2. 2. Enter Header/Footer: Double-click the top margin of the page to instantly activate the header editing mode.
  3. 3. Delete the Border: Click on the gray border graphic to select it and press the Delete key.
  4. 4. Export to PDF: Go to Menu > Export to PDF to save a clean, border-free version of your document.
Fully compatible with Microsoft Word (.docx) formatsIntuitive header and footer editing tools to fix formatting issues easilyFree and lightweight office suite for daily productivityAdvanced PDF export ensuring documents save exactly as they appear
microsoft office alternative - wps office

Frequently Asked Questions

Why doesn't changing the Page Borders to 'None' remove my border?

The Page Borders setting only controls built-in document borders. If a user manually drew a rectangle or inserted an image to act as a border and anchored it to the header or footer, the standard settings will not detect or affect it.

How can I tell if a shape is anchored in the header?

If a shape or border repeats on every page of your document but cannot be clicked or selected during normal text editing, it is likely anchored in the header or footer area. You must enter the header mode by double-clicking the top margin to select these objects.

Can background watermarks cause a similar gray border issue?

Yes, custom watermarks are placed in the header and footer background. If an image watermark has a visible border or a text watermark is housed inside a bordered box, it will show up on every page. You can remove it by accessing the header or using the 'Remove Watermark' option in the Design tab.