logo
search
Formatting Issues

How to Fix Word Keep with Next Not Working for a Heading

WPS Content ManagerWPS Content Manager Sep 30, 2026 871 views

Question details

The user is unable to get a Heading 4 to move to the next page with its subsequent text, even though "Keep with next" is enabled in both the paragraph settings and the heading style.

How to Fix Word "Keep with Next" Not Working for Headings
Product
Word
Device & OS
not provided
Scenario
Formatting document pagination and heading styles.
Observed behavior
The heading remains isolated at the bottom of the page instead of staying with the paragraph that follows it.
Before you start

Enable the "Show/Hide ¶" (paragraph marks) feature in your Word processor to easily identify hidden formatting symbols, manual page breaks, and extra paragraph returns.

Solution 1Recommended

Disable Pagination Settings for the Preceding Element

Conflicting pagination settings on the paragraph or image immediately preceding the heading can override the heading's "Keep with next" behavior.

When an image or standard paragraph above a heading also has "Keep with next" or "Keep lines together" enabled, Word attempts to group too many elements together, causing the heading to get stuck on the previous page.

1
Select the preceding element

Click to select the image or the text paragraph located immediately above the problematic heading.

2
Open Paragraph Settings

Right-click the selected element and choose "Paragraph..." from the context menu.

3
Adjust Line and Page Breaks

Navigate to the "Line and Page Breaks" tab in the Paragraph dialog box.

4
Disable conflicting settings

Ensure that both "Keep with next" and "Keep lines together" are unchecked, then click "OK" to apply the changes.

Disable Pagination Settings for the Preceding Element
Tip: Clearing these settings untethers the preceding text or image from the heading, allowing the heading to flow naturally to the next page.
Seamless Document Formatting

Format Headings and Pagination Easily with WPS Writer

WPS Writer provides an intuitive and highly compatible interface for managing document layouts, including reliable "Keep with next" controls for professional heading management.

  1. 1. Open your document: Launch WPS Writer and open the document containing the heading.
  2. 2. Select the heading: Highlight the heading text you want to keep with the next paragraph.
  3. 3. Access Paragraph settings: Right-click the text, select "Paragraph", and switch to the "Line and Page Breaks" tab.
  4. 4. Apply Keep with next: Check the box for "Keep with next" and click "OK".
Precise paragraph and pagination controls for professional layoutsFully compatible with Microsoft Word (.docx) formatsBuilt-in style management for effortless heading formattingLightweight, fast, and free to use
microsoft office alternative - wps office

Frequently Asked Questions

Why does my heading still split from the paragraph even with "Keep with next" checked?

This typically happens if the element immediately preceding the heading (like an image or another paragraph) also has "Keep with next" applied, or if the paragraph immediately following the heading contains a manual "Page break before" setting.

How do I apply "Keep with next" to all Heading styles automatically?

Right-click the specific Heading style in the Styles gallery and select "Modify". Click "Format" at the bottom left, choose "Paragraph", go to the "Line and Page Breaks" tab, check "Keep with next", and click "OK".

What is the difference between "Keep with next" and "Keep lines together"?

"Keep with next" prevents a page break from occurring between the selected paragraph and the following one, making it ideal for headings. "Keep lines together" prevents a single paragraph from being split across two different pages.