Word reliably underlines spaces that sit between underlined words, but spaces typed after the last word often show no line. To underline blank space, turn on underlining with Ctrl+U and press Tab instead of the spacebar, use nonbreaking spaces (Ctrl+Shift+Spacebar) inside a sentence, or, for forms people fill in on screen, use a one-cell table with only a bottom border.
The steps are for Word for Microsoft 365 on Windows, with Mac and web differences noted.
Which method fits your document
| Method | Best for | Does the line stay put when someone types on it? |
|---|---|---|
| Underlined tabs | A quick blank or two on a printed page | No, typing pushes the line along |
| Tab leader | Printed forms where every line must end at the same point | Mostly, until the text reaches the tab stop |
| Underlined nonbreaking spaces | A short blank in the middle of a sentence | No, it stretches |
| Table cell with a bottom border | Forms filled in on a computer | Yes |
| Underscores (Shift+Hyphen) | A rough line in a hurry | No, and the lines are hard to align |
Microsoft’s own advice on its underline text or spaces page matches this: tabs for printed documents, a table cell with a bottom border for online forms.
Underline words and the spaces between them
If you only want a phrase underlined, spaces included, there’s nothing special to do. Select the text and press Ctrl+U, or select Home > Underline (the U button). The line runs under the words and under the single spaces between them. On a Mac, press Command+U.
You can also press Ctrl+U first and then type; everything you type is underlined until you press Ctrl+U again. The catch is the end of the line: spaces you type after the last word, with nothing following them, usually don’t show a line. That’s why the methods below use tabs, nonbreaking spaces or a border instead.
Underline blank space with the Tab key
This is Microsoft’s recommended way to make a blank line on a printed document, such as “Name: ________”.
- Select Home > Show/Hide ¶. Word now shows a small arrow for each tab and a dot for each space, so you can see exactly what you’re underlining.
- Click where the blank should start, for example after “Name:” and a space.
- Press Ctrl+U to turn underlining on.
- Press Tab several times. Each press jumps to the next tab stop and the underline follows. With Word’s default tab stops, each press adds roughly half an inch.
- Press Ctrl+U again to turn underlining off before you type anything else.
- Turn Show/Hide ¶ off when you’re done. The line stays; only the marks disappear.
Already have tabs in place? Drag across the tab arrows to select them and press Ctrl+U. To change the look of the line, select the tabs, open the Font dialog box (select the small launcher arrow in the corner of the Font group on the Home tab, or press Ctrl+D) and pick an Underline style, such as a double or dotted line.
Example: Alex is making a club sign-up sheet. Typing “Name:” and pressing Tab four times with underline on gives an underlined blank, and “Phone:” on the next line gets the same treatment. Because tab stops are fixed positions, two lines that start at the same point will usually end at the same point too.
Make lines that end at the same point with a tab leader
A tab leader fills the gap before a tab stop with a character, such as dots or a solid line. It’s the neatest way to get a column of blanks that all finish at the right margin, even when the labels in front of them are different lengths.
- Type your label, such as “Signature:”, and leave the cursor at the end of it.
- Select the Layout tab (or Home), select the Paragraph dialog box launcher, then select Tabs at the bottom of the dialog.
- In Tab stop position, type where the line should end, for example 6.5″ to end at the right margin of a letter-size page with Word’s default one-inch margins.
- Under Alignment, choose Right.
- Under Leader, choose the solid line option.
- Select Set, then OK.
- Press Tab. A solid line runs from your label to the tab stop.
Press Enter and the next paragraph keeps the same tab stop, so “Date:” and Tab gives a second line ending in the same place. On a Mac, the dialog is at Format > Tabs. In Word for the web, Microsoft’s steps use Layout, the Paragraph dialog box launcher and Tab Stop Options. See Microsoft’s page on how to show dots or leaders between tabs for all three versions.
A leader isn’t underline formatting, so Ctrl+U won’t remove it. To get rid of it, open the same Tabs dialog, select the tab stop and choose None under Leader, or select Clear.
Underline a blank inside a sentence with nonbreaking spaces
For a sentence like “I, __________, agree to the terms”, a tab can jump too far. Nonbreaking spaces work better: they’re spaces that Word won’t split across two lines, and Word underlines them like ordinary characters.
- Type the first part of the sentence, ending with “I,” and a space.
- Press Ctrl+U to turn on underlining.
- Press Ctrl+Shift+Spacebar repeatedly until the blank is as long as you want. On a Mac, press Option+Spacebar.
- Press Ctrl+U again and finish typing the sentence.
Both shortcuts are on Microsoft’s list of keyboard shortcuts in Word.
Make a fill-in line that doesn’t move: a table cell with a bottom border
Underlined tabs and spaces get pushed along when someone types on them in Word. If the form will be filled in on a computer, use a table cell instead. Microsoft notes this method keeps the line in place as people type.
- Click where the line should go.
- Select Insert > Table and choose the top-left square for a 1×1 table. For a label and a line side by side, choose 2×1.
- To change the length, point at the table’s right edge until the pointer becomes a resize pointer, then drag left or right.
- Click in the cell that should hold the line (the second cell in a 2×1 table).
- Select the Table Design tab, then Borders > Borders and Shading.
- Under Setting, select None. Under Style, choose the line type, color and width.
- In the Preview diagram, click the bottom edge so only a bottom line shows, then select OK.
You may still see faint gray gridlines around the cell. They don’t print, and you can hide them with Table Layout > View Gridlines. The same dialog is covered in more detail in these steps to add borders in Word.
For yes or no answers, a clickable checkbox in Word is easier to fill in than an underlined blank.
Why underscores are the weakest option
Holding Shift and pressing the hyphen key types underscores, which look like a line. Microsoft points out two problems: it’s hard to line the underscores up, and if the AutoFormat option that turns underscores into border lines is on, typing three or more in a row and pressing Enter can turn them into a line across the whole paragraph. If that happens and you didn’t want it, press Ctrl+Z straight away to get your characters back.
When you do want a line across the page as a divider rather than a blank to write on, use that AutoFormat behavior on purpose, or follow the steps to insert a horizontal divider line in Word.
Change the underline style, or underline words but not spaces
- Words only: select the text, open the Font dialog (Ctrl+D), and under Underline style choose Words only. The shortcut is Ctrl+Shift+W (Command+Shift+W on a Mac). This is the opposite of what this article is about: the spaces between words lose their line.
- Double underline: Ctrl+Shift+D, or pick the double line under Underline style.
- Color: use the Underline color list in the same dialog. The color changes the line only, not the text.
- Quick menu: select the small arrow next to the Underline button on the Home tab for common line styles.
Remove an underline from spaces
- Single underline: select the underlined tabs, spaces or text and press Ctrl+U.
- Other styles (double, dotted, words only): Microsoft says to press Ctrl+U twice.
- Tab leader: set Leader to None in the Tabs dialog.
- Table line: click in the cell and choose Table Design > Borders > No Border, or delete the table. These steps to remove table borders in Word explain the faint gridlines that can remain on screen.
If a line still won’t go, it may be a hyperlink, a tracked change or a paragraph border rather than underlining; this walkthrough to remove underline in Word shows how to tell them apart.
When the underline doesn’t look right
- Nothing shows after the last word: those are trailing spaces. Replace them with underlined tabs or nonbreaking spaces.
- The line gets longer when someone types on it: typing on underlined tabs or spaces inserts characters in front of them. Use the table cell method for anything typed on screen.
- Lines on different rows end at different points: the labels in front of them are different lengths. Use a right-aligned tab stop with a line leader so every row ends at the same position.
- The blank is in the wrong place after you change the margins: tab stops are measured from the margin, so they move with it. Reopen the Tabs dialog and adjust the position.
- Word for the web: Ctrl+U and tab leaders both work in the browser. If an option you need isn’t there, select Editing > Open in Desktop App.
Common questions about underlining blank space
Will the line print?
Yes. Underlined tabs and spaces, tab leaders and table borders all print. The light gray table gridlines are the only lines in this article that appear on screen but never on paper.
Can I copy the underline to other blanks?
Select one underlined blank, select Home > Format Painter, then drag across the tabs or spaces you want to match. Double-click Format Painter to apply it to several blanks in a row, and press Esc to stop.
Does an underlined blank work in a PDF form?
Saving as PDF keeps the line, but it’s only a picture of a line: PDF readers won’t treat it as a field to type in. For a form people fill in electronically, send the Word file with table-cell blanks or content controls instead.
Start with the Tab method on a short test line; if the blanks need to line up, switch to a right tab stop with a line leader.
Matthew Burleigh has been a freelance writer since the early 2000s. You can find his writing all over the Web, where his content has collectively been read millions of times.
Matthew received his Master’s degree in Computer Science, then spent over a decade as an IT consultant for small businesses before focusing on writing and website creation.
The topics he covers for MasterYourTech.com include iPhones, Microsoft Office, and Google Apps.
You can read his full bio here.