Fix Word Heading Spacing Changes at the Top of a Page
Question details
Users experience inconsistent paragraph spacing when a Word heading is placed at the top of a new page, causing the layout to look incorrect.

- Product
- Microsoft Word
- Device & OS
- not provided
- Scenario
- Formatting a multi-page document where headings naturally fall at the top of new pages.
- Observed behavior
- The "Space Before" paragraph setting is ignored or suppressed at the top of a page, even though the heading style settings dictate a specific space amount.
Check your document to see if the heading starts after a standard page break or a section break, as Word treats top-of-page spacing differently depending on the break type.
Adjust Advanced Layout Options
Modify Word's compatibility and layout settings to stop the application from automatically suppressing HTML paragraph spacing.
By default, Word suppresses the 'Space Before' setting when a paragraph appears at the very top of a page to keep text aligned with the top margin. Changing the layout options overrides this behavior globally.
Click on 'File' in the top left corner of the application, then select 'Options' at the bottom of the menu.
In the Word Options dialog box, click on the 'Advanced' tab on the left-hand panel.
Scroll down to the bottom until you find the 'Layout Options' section. Locate and clear the checkbox for 'Don’t use HTML paragraph auto spacing', then click 'OK'.

Use Section Breaks Instead of Page Breaks
Insert a section break to force Word to respect the 'Space Before' setting at the start of a new page.
Apply Frame Formatting to the Heading Style
Incorporate frame properties into your heading style to trick Word into maintaining the preceding space.
Keep Consistent Heading Spacing with WPS Writer
WPS Office offers intuitive paragraph and style formatting tools, allowing you to easily manage spacing before and after headings without complex layout workarounds.
- 1. Open Your Document: Launch WPS Writer and open the document you need to format.
- 2. Access Paragraph Settings: Select your heading, right-click the text, and choose 'Paragraph' from the context menu.
- 3. Adjust Spacing Values: Under the 'Indents and Spacing' tab, adjust the 'Spacing Before' value to your preference.
- 4. Apply Changes: Click 'OK' to apply consistent spacing to your heading across the document layout.

Frequently Asked Questions
Why does the space before my heading disappear at the top of a page?
By design, Word automatically suppresses 'Space Before' formatting at the top of a page so that the text aligns neatly with the top margin. It only preserves this spacing if it is the first page of the document or immediately follows a section break.
What is the difference between a page break and a section break for heading spacing?
A standard page break continues the exact same layout section, causing Word to suppress top-of-page spacing to maintain margin alignment. A section break starts a completely new layout segment, which forces Word to render 'Space Before' settings properly at the top of the new page.
Can I fix heading spacing without changing global Word options?
Yes. If you don't want to alter advanced layout options, you can simply replace standard page breaks with 'Next Page' section breaks, or apply a frame format to your heading style to retain the exact spacing.




