Widow/Orphan control and Keep with next in Word
Widow/Orphan control in Word stops a paragraph from leaving a single line alone at the top or the foot of a page. It lives in the Paragraph dialog, on the Line and Page Breaks tab, and it is on by default. Its neighbour Keep with next keeps a heading on the same page as the text that follows it.
- Select the paragraphs, or the whole document with Ctrl+A (Cmd+A on a Mac).
- Open the Paragraph dialog. WindowsRight-click and choose Paragraph. MacChoose Format › Paragraph.
- Click the Line and Page Breaks tab.
- Under Pagination, tick Widow/Orphan control and click OK. Set Keep with next only on headings and captions, ideally in their styles (section 03), never on the whole document.
01Widows, orphans and the four Pagination options
In Word, an orphan is the first line of a paragraph left alone at the bottom of a page, and a widow is the last line of a paragraph left alone at the top of the next page (Microsoft Support, Keep text together in Word). Word's four Pagination options, on the Line and Page Breaks tab of the Paragraph dialog, decide where a page may break, and Widow/Orphan control prevents both faults.
Typographers don't all agree on which lonely line is the widow and which the orphan. This guide uses Microsoft's definitions, since they match the labels in Word.
Word has four settings that decide where a page may break. They sit together in the Paragraph dialog, on the Line and Page Breaks tab, under Pagination. A paragraph setting is formatting that belongs to a whole paragraph, so it applies to every line of it.
| Option | What it does | Use it for |
|---|---|---|
| Widow/Orphan control | Stops a single line of a paragraph being left alone at the top or bottom of a page. On by default. | All body text |
| Keep with next | Keeps the paragraph on the same page as the next paragraph. | Headings, captions above tables, table rows |
| Keep lines together | Stops a page break inside the paragraph. | Headings, hypotheses, short quotations |
| Page break before | Always starts the paragraph on a new page. | Chapter headings (Heading 1) |
Widow/Orphan control counts lines, not words: a short last line with one word on it, in the middle of a page, isn't a widow to Word.
All four options are best set in a style rather than paragraph by paragraph. A style is a named set of formatting that Word applies in one click. If styles are new to you, the overview of styles in Word explains why they matter in a long document.
02Turn on Widow/Orphan control
Widow/Orphan control is on by default in Word (Microsoft Support, Use Line and Page Breaks settings in Word), and in a new document in Word for Microsoft 365 on Windows the built-in Normal style has it ticked. To turn it on for a whole thesis, select all the text, open the Paragraph dialog, click Line and Page Breaks and tick Widow/Orphan control. Setting it in the Normal style as well covers text you add later.
In theses I format, the setting is usually off in paragraphs pasted from somewhere else: an earlier draft, a journal template or a PDF. A thesis assembled from several files often has it off in whole chapters. Turn it on for the whole text at once:
- Press Ctrl+A to select the whole document.
- On the Home tab, click the small arrow in the corner of the Paragraph group (the dialog box launcher). Right-clicking the selection and choosing Paragraph opens the same dialog.
- Click the Line and Page Breaks tab.
- Under Pagination, tick Widow/Orphan control and click OK.
- Press Cmd+A to select the whole document.
- Choose Format › Paragraph.
- Click the Line and Page Breaks tab.
- Tick Widow/Orphan control and click OK.
Microsoft documents this tab on the Mac for Keep with next and Keep lines together; check that Widow/Orphan control appears there in your version.
Make it stick: set it in the Normal style
Selecting everything fixes today's text. Setting it in the style also covers what you write tomorrow. Body text in most theses uses Normal or a style based on it:
- On the Home tab, right-click Normal in the Styles gallery and choose Modify (Microsoft Support, Customize or create new styles).
- In the Modify Style window, click the Format button (bottom left) and choose Paragraph.
- On Line and Page Breaks, tick Widow/Orphan control. Click OK twice.
Word for the web has three of the four options. Right-click the paragraph and choose Paragraph Options (or Home › Paragraph › Paragraph Options), then tick Widow/Orphan control, Keep with next or Keep lines together under Pagination (Microsoft 365 Insider blog, Paragraph options in Word for the web). Microsoft doesn't list Page break before there, so set up chapter breaks and heading styles in the desktop app.
03Keep with next: keep a heading with its text
Keep with next is a paragraph setting that keeps a paragraph on the same page as the paragraph after it. Set on a heading, Keep with next makes Word move the heading to the next page together with the first lines of its text, so the heading never sits alone at the foot of a page. Word's built-in heading styles already have it ticked.
A heading on the last line of a page, with its section starting overleaf, is the most common page-break fault I see in theses.
Built-in heading styles already have it
Word's built-in Heading 1, Heading 2 and Heading 3 styles come with Keep with next and Keep lines together ticked. I checked this in a new document in Word for Microsoft 365 on Windows, and in a test document a Heading 2 placed on the last line of a page moved to the next page by itself. So if a heading in your thesis is stranded, one of these is usually true:
- It isn't a heading style. A title typed in bold Normal text looks like a heading but has none of its settings. Apply the right heading style, which also puts it in your automatic table of contents.
- The option was switched off in the heading style, or on that one heading, often by a university or journal template.
- An empty paragraph follows the heading. Keep with next ties the heading to the next paragraph, and an empty one counts. In my test, the heading and the empty line stayed at the foot of the page and the text still started overleaf. Delete the empty paragraph and use Spacing After in the heading style for the gap.
Turn on Keep with next for a heading style
- Right-click the heading style (for example Heading 2) in the Styles gallery and choose Modify.
- Click the Format button, choose Paragraph, then click the Line and Page Breaks tab.
- Tick Keep with next and Keep lines together (so a two-line heading doesn't split either). Click OK twice.
- Repeat for each heading level you use, and for any custom heading styles, such as an unnumbered style for the abstract and acknowledgements.
For a single paragraph rather than a style, select it, open the Paragraph dialog as in section 02 and tick Keep with next. Microsoft's Mac instructions add a useful detail: to keep more than two paragraphs together, select all of them except the last one before you tick it.
Headings typed in bold all through a 200-page thesis?I can restyle them for you
04Keep lines together: one paragraph on one page
Keep lines together is a paragraph setting that stops Word from breaking a page in the middle of the paragraph. If the paragraph doesn't fit at the foot of the page, all of it moves to the next page. Widow/Orphan control only stops a single line being left alone; Keep lines together allows no break inside the paragraph at all.
Use it for short blocks that read badly when split:
- a hypothesis or research question set off from the text, such as H1: Brand trust is positively related to customer loyalty;
- a short block quotation;
- a displayed equation with its number;
- headings, which have it already.
Don't turn it on for body text. A long paragraph that can't break leaves a large gap at the foot of the previous page, and on a paragraph longer than a page it can't be obeyed anyway. For ordinary paragraphs, Widow/Orphan control is enough.
To keep two words on the same line, such as "Table 4.2" or "p. 37", use a nonbreaking space instead: on Windows press Ctrl+Shift+Space between them. The guide to the nonbreaking space in Word covers it on both platforms.
05Keep tables, figures and captions together
To keep a table, figure or caption together in Word, use Keep with next: on the caption above a table, on every table row except the last, and on a figure's paragraph when its caption sits below it. To stop one tall row splitting, clear the row-breaking option on the Row tab of Table Properties. A table longer than a page has to break, so repeat its header row instead.
A caption at the foot of one page with its table on the next, or a short table cut in two, is the second fault I fix most often.
Keep the caption with its table or figure
When I insert a caption above a table with References › Insert Caption, Word ticks Keep with next on the caption paragraph itself (tested in Word for Microsoft 365 on Windows). The built-in Caption style doesn't have it, though, so a caption typed by hand, or one whose formatting was cleared, can still be left behind. Check the caption paragraph and tick Keep with next if it is off.
For a figure with its caption below, the logic is reversed: tick Keep with next on the picture's paragraph, so it stays with the caption under it. In APA 7 the figure number and title go above the figure (see my APA figure format guide), so there the caption gets Keep with next, as with tables. My guides to APA figure format and APA table format show both layouts.
These options act on paragraphs. A picture set to In Line with Text sits inside a paragraph, so Keep with next can hold it with its caption. A floating picture is anchored to a paragraph but positioned on its own, and it can drift. In theses I set figures in line with text for that reason.
Keep a short table on one page
A table is a stack of paragraphs, one or more per cell, so Keep with next works on it too.
- Select every row of the table except the last one.
- Open the Paragraph dialog, click Line and Page Breaks, tick Keep with next and click OK.
In my test, a 10-row table that started near the foot of a page and split after its fourth row moved to the next page in one piece. Leave the last row unticked, or the table is tied to the paragraph after it as well.
Keep a single row from splitting
A tall row (a long comment in a coding table, for example) can break across two pages. Right-click in the row, choose Table Properties, click the Row tab and, under Options, clear the check box that lets the row break across pages (Microsoft Support, Set or change table properties). The Row tab is also where you set header rows.
Tables longer than a page
A table longer than one page has to break. Let it, and make the header row repeat at the top of each page: select the header row and choose Repeat Header Rows in the Data group of the Table Layout tab (called Layout in older versions), as explained in the guide to repeating a header row in Word. If your guide wants a "continued" label above the rest of the table, that is a separate step; check what it asks for.
Forty tables and figures to check before submission?I can set them all for you
06Start each chapter on a new page
Page break before is a paragraph setting that always starts the paragraph on a new page. Ticked in the Heading 1 style, Page break before starts every chapter on a fresh page without manual page breaks, and the break moves with the chapter when the text above it changes.
Thesis guides usually want each chapter to begin on a new page. Pressing Enter until the cursor reaches the next page goes wrong as soon as any text above changes, and a manual page break before every chapter is easy to forget or duplicate. To set it in the style:
- Right-click Heading 1 in the Styles gallery and choose Modify.
- Click the Format button, choose Paragraph, then click Line and Page Breaks.
- Tick Page break before, leave Keep with next ticked, and click OK twice.
- Delete the manual page breaks you had before each chapter, or you'll get a blank page. The guide to removing a page break in Word shows how to find them.
Page break before only starts a new page. Where the page numbering changes (roman numerals in the front matter, arabic from Chapter 1) or the orientation changes, you need a section break instead. The thesis formatting checklist shows where each goes.
07Text jumping to the next page? Fixes
When text jumps to the next page in Word for no visible reason, the cause is almost always a Pagination option that is on where it shouldn't be: Keep with next on body text, Keep lines together on a long paragraph, or Page break before. Click in the paragraph that starts the new page, open the Paragraph dialog and check the Pagination box. Then check the paragraph just before the gap.
A large gap at the bottom of a page
Usually a chain of paragraphs that all have Keep with next, so Word has to move the whole chain to the next page. Look for body paragraphs with Keep with next ticked, a long paragraph with Keep lines together, or a table where every row has Keep with next. A gap of a few lines above a heading is expected (Figure 3); a half-empty page isn't.
The whole document has Keep with next
This happens when someone selects everything to fix one heading. Word still breaks a chain that is longer than a page (in my test, 41 chained paragraphs ran over three pages), but pages end in odd places. Select the whole document and clear Keep with next in the Paragraph dialog. That direct formatting also overrides the heading styles, so on Windows follow it with Ctrl+Q (Remove paragraph formatting) on the selection, which puts every paragraph back to its style's settings. It also clears other paragraph formatting applied by hand, including the Keep with next that Word puts on captions it inserts, so set that again on captions and short tables afterwards.
A heading is still stranded
Check the three causes in section 03: no heading style, the option off, or an empty paragraph after the heading. Turning on formatting marks shows empty paragraphs as lone ¶ marks; see the guide to showing formatting marks in Word.
A table still splits
The table may be longer than the space on a page, in which case it must break: repeat the header row instead. Otherwise one row in the middle is missing Keep with next (a row added later doesn't inherit it), or a row is allowed to break across pages. Select all rows except the last and set Keep with next again.
Widows and orphans still appear
The paragraph has Widow/Orphan control switched off, typically because it was pasted from somewhere else. Select it and tick the option. Also check that what looks like one paragraph isn't several: lines ended with Enter are separate paragraphs, and Microsoft advises against extra line breaks between paragraphs, because Word treats each one as a new paragraph and page breaks might not fall properly. Use paragraph spacing for the gaps instead.
The settings don't match the university template
Some templates switch Keep with next off in their headings, or turn Widow/Orphan control off in body text. If you were given a template, fix the styles once rather than paragraph by paragraph. The full Word setup for a thesis walks through the styles a thesis needs.
Pages breaking in odd places the week before submission?Send it to me and I'll fix the styles behind it
08Questions people ask
What is widow/orphan control in Word?
Widow/Orphan control is a paragraph setting that stops Word leaving the first line of a paragraph alone at the bottom of a page (an orphan) or its last line alone at the top of the next page (a widow). It is on the Line and Page Breaks tab of the Paragraph dialog and is on by default.
Where is Keep with next in Word?
In the Paragraph dialog. WindowsRight-click the paragraph and choose Paragraph, or use the dialog box launcher in the Paragraph group on the Home tab. MacFormat › Paragraph. Then click the Line and Page Breaks tab; it is under Pagination.
What is the difference between Keep with next and Keep lines together?
Keep with next keeps a paragraph on the same page as the next paragraph. Keep lines together keeps all the lines of one paragraph on the same page. Headings use both.
Should I turn widow/orphan control off?
Not for a thesis. Turning it off fits slightly more text on some pages but leaves single lines at page breaks, which reads as careless formatting. Leave it on in your body text style.
Why does Word leave white space at the bottom of some pages?
Word leaves white space at the bottom of a page when a heading, caption or short table with Keep with next has moved to the next page with the text it belongs to. A few lines is the price of a correct page break. If whole half-pages are empty, look for Keep with next or Keep lines together on body text (section 07).
Steps and labels come from Microsoft Support's pages for Word for Microsoft 365, listed under Sources. I tested the built-in style defaults, the caption behaviour, the table and the empty-paragraph case in Word for Microsoft 365 on Windows 11 (version 16.0, build 16.0.20430). I also confirmed that the Normal style has Widow/Orphan control on. I had no Mac to test on: Microsoft's Mac instructions document Format › Paragraph › Line and Page Breaks for Keep with next and Keep lines together, and I could not check Widow/Orphan control or Page break before on a Mac. The Word for the web steps come from Microsoft's announcement, not my own testing. Rules on page breaks in theses vary by university, and your university's guide always wins.
Sources
- Keep text together in Word Microsoft Support
- Use Line and Page Breaks settings in Word Microsoft Support
- Change the line and paragraph spacing in Word (Mac: keep lines and paragraphs together) Microsoft Support
- Customize or create new styles Microsoft Support
- Set or change table properties Microsoft Support
- Repeat table header on subsequent pages Microsoft Support
- Keyboard shortcuts in Word Microsoft Support
- Paragraph options in Word for the web Microsoft 365 Insider blog
- Row.AllowBreakAcrossPages property (Word) Microsoft Learn