If a heading lands at the bottom of a page while its explanation starts on the next one, Word’s Keep with next setting can prevent the split. This guide covers where to find it, how to apply it through heading styles, how it differs from other pagination controls, and what to check when page breaks still look wrong. It is for anyone formatting reports, essays, manuals, or other documents in Microsoft Word.
1. Turn on Keep with next for a heading
Select the heading paragraph, open the Paragraph dialog, and go to the Line and Page Breaks tab; under Pagination, select Keep with next. Word then keeps that paragraph on the same page as the paragraph immediately after it, moving the heading down if there is not enough room for both. This is usually the direct fix when a heading is stranded at the foot of a page, and it does not require inserting blank lines or manual page breaks.
2. Find the setting in Word for Windows
In desktop Word for Windows, place the cursor in the heading or select several heading paragraphs, then open the Home tab and click the small dialog box launcher in the Paragraph group. Choose Line and Page Breaks, tick Keep with next in the Pagination area, and select OK; the checkbox applies to the paragraph containing the cursor or to the selected paragraphs. If the dialog is hard to locate, right-click the paragraph and choose Paragraph, then open the same tab.
3. Find the setting in Word for Mac
In Word for Mac, select the target heading and open the Paragraph settings from the Format menu; depending on the version and ribbon layout, the Paragraph dialog may also be available from the Home tab. Open Line and Page Breaks, enable Keep with next, and confirm the change. The exact menu arrangement can vary between Word releases, but the setting is a paragraph-level pagination option, not a font or page-layout setting.
4. Add it to a built-in Heading style
If the document uses Word’s built-in Heading 1, Heading 2, or Heading 3 styles, change the style rather than fixing each heading separately. In the Styles gallery, right-click the relevant style, choose Modify, and use Format, then Paragraph, to reach Line and Page Breaks and enable Keep with next. Future paragraphs using that style inherit the setting, which is especially useful in long documents where headings are added or rearranged during editing.
5. Apply the rule to a custom heading style
A custom style is a good option when a document has a distinct heading format, such as numbered section titles or a special subheading used only in an appendix. Modify that style and set Keep with next in its paragraph pagination options, just as you would for a built-in style. This keeps the behavior attached to the formatting rule, so the next person editing the document can apply the styled heading without needing to remember a separate pagination step.
6. Use it on selected headings without changing the style
For a short document, or for a one-off heading that should behave differently from the rest, apply Keep with next directly to the paragraph instead of modifying a style. You can select multiple heading paragraphs before opening the Paragraph dialog to apply the setting to them together, provided the selection contains only paragraphs you intend to keep with what follows. This approach is quick, but a style-based rule is easier to maintain if headings will be added later or the file is reused as a template.
7. Know how Keep with next differs from Keep lines together
Keep with next links one paragraph to the paragraph after it; Keep lines together prevents the lines within a single paragraph from splitting across pages. A heading generally needs Keep with next, while a short paragraph, caption, or list item may need Keep lines together if splitting it would be awkward. These checkboxes appear near each other in the same pagination area, but they solve different problems, so enabling the wrong one may leave the heading stranded even though its own lines stay intact.
8. Avoid chaining too many paragraphs
Keep with next can affect more than a heading and one body paragraph when it is enabled on consecutive paragraphs. For example, if a heading, a subheading, and the first two paragraphs all have the option selected, Word may treat the sequence as a linked group and move a larger block to the next page. If an unexpectedly large gap appears, inspect the pagination settings on the paragraphs in that area and remove the option from body paragraphs that do not need to stay attached to what follows.
9. Check for competing page-break settings
If a heading still jumps to a new page, inspect its paragraph settings for Page break before, which explicitly starts that paragraph on a new page. Also look for manual page breaks inserted with Word’s page-break command; those are separate formatting marks and are not removed by turning off Keep with next. The Show/Hide button on the Home tab displays paragraph marks and break indicators, helping you distinguish an unwanted manual break from normal pagination caused by the page being full.
10. Verify the result in the final layout
After changing the setting, review the document in Print Layout and check the page where the heading previously appeared alone. Word repaginates as text, margins, fonts, and page size change, so a heading that fits beside one paragraph on screen may move after an edit or when opened with different layout settings. If you are sharing a PDF, export or save a fresh PDF after the adjustment and inspect the affected pages there; the PDF reflects the layout at export time rather than later edits to the Word file.
How to Choose
Choose the method that matches how often the heading format will be used. For a single heading or a short file, the Paragraph dialog is the fastest and clearest route. For recurring section titles, modify the relevant Heading style or custom style so the rule travels with the formatting and applies automatically to future headings.
Also decide what should stay together. If the problem is a heading separated from the opening paragraph below it, use Keep with next on the heading. If a paragraph itself is splitting across pages, consider Keep lines together instead; if an entire section must begin on a fresh page, use a deliberate page break or Page break before, understanding that those choices force a new page rather than merely keeping two paragraphs together. Avoid applying pagination rules to a long run of paragraphs unless you intend the whole run to move as a group.
Finally, consider who will edit the document and where it will be viewed. Styles are easier to maintain across shared documents, while direct paragraph formatting can be more convenient for one-off exceptions. Word’s menus and available controls can differ by platform or version, so if a control is missing in Word for the web, open the file in desktop Word to check the full paragraph pagination options and then review the finished layout.
Frequently Asked Questions
Does Keep with next apply to the heading or the paragraph after it?
It is applied to the paragraph you select and keeps that paragraph with the one immediately following it. To attach a heading to its opening paragraph, enable the setting on the heading.
Can I keep a heading with two paragraphs?
Yes. Apply Keep with next to the heading and to the first body paragraph; Word then links the heading, that paragraph, and the next paragraph in sequence. Use this sparingly because the linked block may move together.
Will Keep with next force the heading onto a new page?
Not by itself. Word moves the heading only when needed to keep it with the following paragraph; Page break before is the separate setting that makes a paragraph start on a new page.
Why is there a large blank space after I turned it on?
The linked heading and following paragraph may not fit in the remaining space, so Word moves them to the next page. Check whether additional consecutive paragraphs also have Keep with next enabled, as they can enlarge the group that must move.
Does it work in Word for the web?
Word for the web may not show every advanced paragraph pagination control available in desktop Word. If you cannot find Keep with next, open the document in the desktop app and set or verify the option there.
Final Thoughts
For the common problem of a heading sitting alone at the bottom of a page, enable Keep with next on that heading. Use a style to make the fix consistent across a longer document, and check for chained settings or manual breaks if the layout still behaves unexpectedly. A quick review in Print Layout or the exported PDF helps confirm that the heading and its opening text stay together in the version readers will see.