Non-breaking space and hyphen in Word: keep words on one line
To type a non-breaking space in Word, put the cursor between the two words, delete the ordinary space and press Ctrl+Shift+Space on Windows or Option+Space on a Mac. The two words now stay on the same line, so "Table 4.2" or "p. 37" never splits at the end of a line. Word calls it a Nonbreaking Space, and it has a partner, the Nonbreaking Hyphen, for words like "COVID-19".
- WindowsNon-breaking space: Ctrl+Shift+Space. Nonbreaking hyphen: Ctrl+Shift+Hyphen.
- MacNon-breaking space: Option+Space. Nonbreaking hyphen: ⌘+Shift+Hyphen.
- No shortcut works? Open Insert › Symbol › More Symbols on Windows or Insert › Advanced Symbol on a Mac, then the Special Characters tab.
- Check it: with Show/Hide ¶ on, a non-breaking space shows as a small circle (°) instead of a dot (·).
01How to insert a non-breaking space in Word
A non-breaking space looks exactly like an ordinary space when printed. The difference is that Word will not start a new line there: if the second word doesn't fit, both words move down together. Microsoft gives two ways in, the keyboard and the Symbol dialog (Microsoft Support, Keep text together; Keyboard shortcuts in Word):
- Click between the two words and delete the ordinary space.
- Press Ctrl+Shift+Space.
- Or, with the menu: Insert › Symbol › More Symbols, open the Special Characters tab, select Nonbreaking Space, then Insert and Close.
- Click between the two words and delete the ordinary space.
- Press Option+Space.
- Or, with the menu: Insert › Advanced Symbol, open the Special Characters tab, select Nonbreaking Space and click Insert.
Typing a non-breaking space next to the ordinary one achieves nothing: Word can still break at the ordinary space. Replace it, don't add to it. Then turn on Show/Hide ¶ on the Home tab (Ctrl+Shift+8 on Windows) to check: ordinary spaces show as dots, a non-breaking space as a small raised circle (CMOS Shop Talk, Navigating spaces in manuscripts). The marks are only on screen; they never print.
A non-breaking space only keeps words on one line. To keep a heading with the next paragraph, or a caption with its table, on one page, you need a paragraph setting instead, covered in my guide to keeping text together in Word.
02Nonbreaking hyphens, and why Microsoft's shortcuts disagree
Word is allowed to end a line after an ordinary hyphen. For most hyphenated words that is fine, but not for a code or a name that reads as one unit: "COVID-19", a participant code such as "P-07", or the hyphenated parts of an ISBN in a reference list. A nonbreaking hyphen looks like a hyphen and never lets the line break there. Its use is the same as the space: delete the ordinary hyphen and type the nonbreaking one in its place.
- Press Ctrl+Shift+Hyphen (Microsoft Support, Control hyphenation; Keep text together).
- Or Insert › Symbol › More Symbols, Special Characters tab, Nonbreaking Hyphen, Insert.
- Press ⌘+Shift+Hyphen (Microsoft Support, Control hyphenation, macOS tab).
- Or Insert › Advanced Symbol, Special Characters tab, Nonbreaking Hyphen, Insert.
Microsoft's own pages give different keys for this character. Control hyphenation gives Ctrl+Shift+Hyphen on Windows and ⌘+Shift+Hyphen on a Mac, and Keep text together gives the same Windows keys (Ctrl+Shift+Minus Sign). The long Keyboard shortcuts in Word list gives Shift+Alt+Minus on Windows and Shift+Option+Minus on a Mac, and Control hyphenation itself says Shift+Option+Hyphen types an em dash (—) on a Mac. If a shortcut gives you a dash, undo and use the Special Characters tab, which is the same in every version.
Two neighbours in that list are easy to confuse. The Optional Hyphen does the opposite job: it doesn't print unless Word breaks the word at the end of a line there, so it suggests a break rather than preventing one (Microsoft Support, Word Options (Display)). The En Dash (–) belongs in page ranges such as "pp. 12–15"; don't swap it for a nonbreaking hyphen to stop a range splitting, because the character would then be wrong.
03Where a thesis needs them
This is typography rather than a citation rule. The editors of the Chicago Manual of Style recommend them in spaced ellipses and suggest them, as an optional nicety, between initials and between a number and an abbreviated unit (CMOS Shop Talk). In a thesis the reason is practical: an examiner reading "see Table" at the end of one line and "4.2" at the start of the next stops for a second, and on a page full of references to tables, figures and pages it happens often. These are the places I put them:
Leave everything else alone. A non-breaking space between every pair of words would stop Word wrapping lines at all, and a long run of them leaves big gaps in a justified paragraph. Adding a non-breaking space to every "et al." in one go is covered in my guide to et al. in citations.
Do this on the final version, once the text has stopped moving. Earlier, every edit moves the line ends and you would be fixing breaks that are no longer there; and adding the spaces everywhere at the end is a five-minute job with Replace (section 04). It belongs in the finishing pass of my guide to formatting a thesis in Word, after the captions and cross-references are in place.
04Worked example: every "Table 4.2" in one Replace
Typing the spaces one by one through 200 pages is not realistic. Find and Replace can do it for each label at once, because Word's Replace box accepts the nonbreaking space as a special character, written ^s. Here it is for "Table", on the fictional thesis from Figure 1:
- Open Home › Editing › Replace (or press Ctrl+H).
- In Find what, type
Tablefollowed by one ordinary space. - In Replace with, type
Table^s, or typeTable, click More and choose Special › Nonbreaking Space. - Tick Match case, then click Replace All.
- Choose View › Navigation Pane, click the magnifying glass, then the gear, and choose Advanced Find & Replace.
- Open the Replace tab and type
Tableand one ordinary space in Find what. - In Replace with, type
Table; show all options with the arrow at the bottom, then choose Nonbreaking Space from the Special menu. - Tick Match case, then click Replace All.
Repeat it for Figure, Chapter, Appendix and any other label you use. Three details decide whether it works:
- Change the captions, and the cross-references follow. A caption's label is ordinary text, so the change there is permanent. A cross-reference is a field that copies the label and number from its caption, and anything Replace changes inside a field is overwritten when fields update. So after the Replace, select all and update the fields (F9 on Windows), then check a few cross-references with Show/Hide on: the ° should be there. How the references are inserted in the first place is in my guide to cross-references in Word.
- Never Replace All on "p. ". Those three characters also end words such as "group" before a full stop, so "group. The" would get a non-breaking space too. For page numbers, search for
p.and step through with Find Next and Replace, which is what Microsoft suggests in general, so that you can review each change before it is made. - "Table of Contents" will match. It gets a non-breaking space between "Table" and "of", which changes nothing visible. Leave it.
Citations inserted by Zotero, Mendeley or EndNote are fields too, and the reference manager rewrites them whenever it refreshes; do the page numbers in citations last, after you have stopped editing.
Hundreds of labels, captions and citations to tidy?Send me the file and I'll do the finishing pass
05When it doesn't work
The words still split
There is still an ordinary space next to the non-breaking one, or the shortcut typed an ordinary space. Turn on Show/Hide ¶ and look between the words: you want a single °, with no · beside it. If a shortcut never produces the °, another program or a custom shortcut may have taken the keys; use the Special Characters tab instead.
The hyphen shortcut types a dash
See the warning in section 02: Microsoft's pages disagree on the key, and on a Mac one of the listed combinations is the em dash. Undo, then insert the hyphen from the Special Characters tab.
Text pasted from a PDF or a website won't wrap properly
Pasted text can arrive with non-breaking spaces between ordinary words, so Word can't break the lines where it should, and a justified paragraph shows wide gaps or a line that runs on. Show/Hide reveals it: ° everywhere instead of ·. Select the pasted passage, open Replace, put ^s in Find what and one ordinary space in Replace with, and click Replace All (CMOS Shop Talk describes the same clean-up). Select only the pasted part first, or you will also undo the non-breaking spaces you added on purpose.
The space looks wider or narrower than the others in a justified line
In a justified paragraph Word stretches the ordinary spaces to fill the line. A Microsoft Q&A volunteer moderator explains that non-breaking spaces have a fixed width in Word 2010 and earlier, and in newer versions too when the document was created in an older version or uses its compatibility settings; documents created in Word 2013 or later with the defaults stretch them like the others. If the title bar says Compatibility Mode, convert the file: on Windows, File › Info › Convert (Microsoft Support, Converting documents to a newer format); on a Mac, choose File › Save a Copy and pick Word Document (.docx) as the format (Microsoft Support, Turn off compatibility mode). On Windows, save a copy before you convert: Convert clears the compatibility options, so line and page breaks can move.
Small circles appear between words. Will they print?
No. The ° is a formatting mark, like ¶, and shows only while Show/Hide is on. If one appears where you didn't want a non-breaking space, delete it and type an ordinary space. What each mark means is in my guide to formatting marks in Word.
06Questions people ask
How do I find or remove every non-breaking space in a document?
Search for ^s in Find and Replace, or choose Special › Nonbreaking Space in the Find what box. To remove them, leave one ordinary space in Replace with and click Replace All, but only on a selection if you have added some on purpose. A nonbreaking hyphen is found the same way, with Special › Nonbreaking Hyphen.
Is there an Alt code or Unicode for a non-breaking space?
Yes, on Windows. The character is Unicode U+00A0 (decimal 160). In Word, type 00A0 and press Alt+X straight after it, or hold Alt and type 0160 on the numeric keypad (both methods are in Microsoft's Keyboard shortcuts in Word, Windows tab). On a Mac, Option+Space is the quickest way.
Is a non-breaking space the same as Keep with next?
No. A non-breaking space keeps two words on the same line. Keep with next and Keep lines together are paragraph settings that keep paragraphs, or the lines of one paragraph, on the same page. A heading stranded at the foot of a page needs Keep with next, not non-breaking spaces.
The Windows shortcut and Symbol dialog steps for both characters come from Microsoft Support's Keep text together (Word for Microsoft 365, 2024, 2021, 2019 and 2016, Windows only); the Mac Option+Space shortcut, the Alt+X and Alt+0160 methods and the conflicting hyphen keys from the Windows and macOS tabs of Keyboard shortcuts in Word, and the U+00A0 code from the Unicode Latin-1 Supplement chart; the Ctrl+Shift+Hyphen and ⌘+Shift+Hyphen keys and the Mac em dash from the Windows and macOS tabs of Control hyphenation; the Mac Insert › Advanced Symbol path from Insert a symbol (a Word 2016 for Mac page); the Replace steps, Match case under More and the advice to prefer Replace from both tabs of Find and replace text (the Special menu is described only on its macOS tab; the ^s code is from CMOS Shop Talk); the Optional Hyphen and the Show/Hide ¶ button from Word Options (Display); converting from Converting documents to a newer format and Turn off compatibility mode. The ° and · marks, the ^s clean-up and the Chicago editors' advice come from CMOS Shop Talk; the width of non-breaking spaces in justified text from a Microsoft Q&A thread, a volunteer answer rather than Microsoft documentation. The thesis in the examples is fictional. I had no Mac to test on; the Mac steps are Microsoft's own.
Sources
- Keep text together Microsoft Support
- Keyboard shortcuts in Word Microsoft Support
- Control hyphenation Microsoft Support
- Insert a symbol (Mac) Microsoft Support
- Find and replace text Microsoft Support
- Converting documents to a newer format Microsoft Support
- Turn off compatibility mode Microsoft Support
- Word Options (Display) Microsoft Support
- Navigating spaces in manuscripts and beyond CMOS Shop Talk (The Chicago Manual of Style)
- Latin-1 Supplement code chart Unicode Consortium
- Non-breakable space justification in Word 2016 Microsoft Q&A