There are six ways to draw a line in Microsoft Word, and the one you want depends on whether the line needs to move with text, span the page, or act as a form field. The fastest is typing three hyphens and pressing Enter, which converts instantly into a paragraph border. The most controllable is Insert > Shapes. The other four β€” Tab leaders, underscore characters, Borders and Shading, and table cell borders β€” each solve a problem the first two can't. All six work the same way in Word for Microsoft 365 and Word 2019 through 2024 on Windows; Mac menus sit in different places, noted below.

The Three-Character AutoFormat Trick and Its Exact Triggers

Word's AutoFormat feature watches for a short run of identical characters followed by Enter and converts them into a full-width paragraph border. The trigger list hasn't changed in two decades and is documented in Microsoft's support pages for AutoFormat. Three hyphens make a plain thin line, three underscores make a bold line, three equals signs make a double line, three asterisks make a dotted line, three tildes make a wavy line, and three hash marks make a thick decorative line.

The conversion is a border on the paragraph above, not an inserted object. That distinction matters more than most guides admit. Click anywhere inside the resulting line and Word selects nothing, because there's nothing there to select β€” the line lives in the paragraph's formatting. To remove it, place the cursor in the paragraph directly above the line, open the Home tab, click the arrow beside the Borders button, and choose No Border.

If the trick does nothing, AutoFormat is switched off. Go to File > Options > Proofing > AutoCorrect Options > AutoFormat As You Type and tick "Border lines." The same dialog holds "Apply as you type" settings that Microsoft leaves enabled by default, which is why the trick works out of the box on a fresh install.

One failure case catches people constantly: the shortcut only fires when the hyphens sit alone on their own paragraph. Type three hyphens after a sentence and press Enter, and Word treats them as text. Press Enter twice in a row after the line appears and the border attaches to the empty paragraph instead, which is how documents end up with a line that jumps position when text is added above.

Inserting a Shape Line for Position, Color, and Rotation

A shape line is the right tool when the line must sit at a specific spot on the page, run vertically, carry a color, or survive being dragged. Go to Insert > Shapes, and the Lines group at the top holds Line, Arrow, Double Arrow, Elbow Connector, Curve, and Freeform. Pick the plain Line, then hold Shift while dragging to snap it to exact horizontal or vertical β€” a constraint Word's own help pages mention but the on-screen tooltip never does.

Shape lines are floating objects by default, meaning they sit above the text layer and don't move when paragraphs reflow. That's the feature and the bug. If you want the line anchored to a paragraph so it travels with the text, select the line, open the Layout Options icon that appears beside it, and choose "Move with text." For a signature line above a printed name, keep it floating and position it by eye; for a horizontal rule inside a contract clause, anchor it.

Formatting lives on the Shape Format tab that appears when a line is selected. Shape Outline sets color, weight in points, and dash style. A weight of 0.5 pt reads as a hairline at print size; 2.25 pt is roughly the thickness of a standard ruled notebook line. If a line refuses to drag where you want, hold Alt while dragging to bypass Word's snap-to-grid, which is on by default for shapes.

Tab Leaders: The Only Method That Produces a Clean Fill-In Line

A tab leader is a line of dots, dashes, or underscores that fills the empty space between a tab stop and the text after it. It's the correct tool for a table of contents, a form field where someone writes their name, or a price list where the item and the amount sit at opposite margins. Word's Tabs dialog offers four leader styles: dots, dashes, a solid underscore, and a heavier solid underscore.

To set one, select the paragraphs, open Paragraph settings, click Tabs at the bottom left, type a position (in inches or centimeters, matching your ruler unit), choose the alignment, pick a leader, and click Set. On Windows the fast path is the Paragraph dialog launcher on the Home tab, then the Tabs button. Then type your label, press Tab, and the leader fills the gap automatically, wrapping correctly if the text changes length.

This beats typing a row of underscores for one concrete reason: underscores are characters, so they break across lines unpredictably, refuse to align between rows of different label lengths, and shift when the font changes. A leader is a paragraph property, so ten lines of a form stay perfectly aligned even if one label is three words longer than the rest. Mac users find the same dialog under Format > Tabs; the leader options are identical.

Borders and Shading for Page-Wide Rules and Paragraph Dividers

The Borders and Shading dialog gives you the same paragraph border the hyphen trick creates, but with control over which edges, what style, and how far the line sits from the text. Select a paragraph, open Home > Borders dropdown > Borders and Shading, and the Borders tab shows a preview box where you click the specific edges you want. A bottom border on a heading paragraph is the cleanest way to build a section divider.

The Options button inside that dialog sets the distance between the line and the text in points, plus whether the border extends past the paragraph into the margins. Microsoft's default offset is 1 pt, which is tight enough that a thick border can look like it's touching the letters. Push it to 4 pt for a heading underline and the gap reads as deliberate.

For a line that spans the full page width regardless of margins, insert a one-cell table, select it, and apply only a bottom border to that cell through Table Design > Borders. The line then runs edge to edge of the text column and can be dragged wider than the margins if you set negative cell indents. This is the method professional templates use for the horizontal rule under a letterhead, because it resizes correctly when the document is opened on a different paper size.

If a border line appears in Print Layout but vanishes in Print Preview, the paragraph is likely set to "Border: None" for that edge while a shading fill creates the visual illusion of a line. Check Borders and Shading directly rather than trusting the on-screen look.

Underscore Characters and Non-Breaking Spaces for Forms

Typing a run of underscore characters is the crude way to make a fill-in line, and it's still the right answer in one narrow case: when the line must be selectable as text, such as a web form pasted into a Word document. Hold Shift and press the hyphen key to type underscores; the character is U+005F LOW LINE, and it renders at the baseline, not below it, so it looks like a line.

The problem with underscores is wrapping. A 40-character run will break mid-line at the page margin, leaving a ragged stub on the next line. The workaround is to insert the underscores as a single unit surrounded by non-breaking spaces (Ctrl+Shift+Space on Windows), which keeps Word from splitting the run. Even then, changing the font from Calibri to Times New Roman alters the width of each underscore, so lines built this way never align across a form.

For a blank line where someone actually types, use a tab leader or a table cell bottom border instead. The underscore method survives mainly because it's the only one that works when a document is converted to plain text or pasted into an email body that strips formatting. That's a genuine constraint, not a preference.

Vertical Lines, Table Cell Borders, and the Sign-Off Line

A vertical line between two columns of text has no shortcut. Use Insert > Shapes > Line, hold Shift, drag downward, then set the weight to match your body text's rule width. For a line that must track the column height as text grows, insert a two-column table with no borders, then apply a left border to the second column through Table Design > Borders, choosing the interior vertical edge. The line then grows with the cell.

Signature lines deserve their own note. A signature line is usually a shape line or a paragraph bottom border above a printed name, but Word also has a dedicated object: Insert > Signature Line, which adds a line plus a digital signature field that can be signed with a certificate. That object only appears if the document is saved in .docx format; saving to .doc strips it. For a plain printed form, skip it and use an anchored bottom border.

Table cell borders solve the multi-line form problem better than anything else. Build a table with one column per field, remove all borders, then apply a bottom border only to the cells where a line should appear. Each line stays exactly the width of its cell, aligns across rows no matter how long the labels are, and prints identically on any printer. This is the construction behind most professional intake forms you've filled out in Word.

Method Best for Moves with text Keyboard path
Three characters + Enter Quick divider under a heading Yes (paragraph border) Type --- then Enter
Insert > Shapes > Line Positioned, vertical, or colored lines Only if anchored Alt+F10 opens selection pane
Tab leader Fill-in forms and contents lists Yes Paragraph > Tabs dialog
Borders and Shading Page-wide rules with offset control Yes Home > Borders > Borders and Shading
Underscore characters Plain-text conversion, pasted forms Yes, as text Shift+hyphen
Table cell bottom border Multi-row forms and letterheads Yes Table Design > Borders

Fixing Lines That Won't Delete, Move, or Print

The line that won't delete is almost always a paragraph border, and the fix is Home > Borders > No Border with the cursor in the paragraph above it. If that doesn't clear it, the border may belong to a style: open the Styles pane, find the paragraph style in use, and modify its border settings, otherwise the line returns every time you apply the style.

A line that jumps to the next page when you add text is a floating shape anchored to a paragraph that moved. Select the line, open Layout Options, and switch the anchor to a paragraph that stays put, or convert it to a paragraph border. A line that prints as a gray band rather than a crisp rule usually has a shading fill applied to the same paragraph β€” clear the Shading color in Borders and Shading.

Lines that don't print at all often sit in the header or footer layer with "Different first page" enabled, so page one suppresses them. Check Header & Footer settings before rebuilding the line. And a line that appears in Word but vanishes in a PDF export is typically a shape set to "Behind Text" with a white fill covering it; set Shape Fill to No Fill.

Which Method to Use, by Document Type

Pick by what has to stay true when the document changes. For a memo divider, the three-hyphen border wins because it costs one second and reflows with the paragraph. For a contract signature block, an anchored shape line or a table cell border wins because alignment across a printed page matters more than speed. For a fill-in form, tab leaders win because they resize when someone types into the field.

Here's the decision rule I'd give a colleague: if the line is decoration, use the AutoFormat shortcut; if the line is structural, use a table cell border; if the line is a field, use a tab leader. Sketch a rough count of how many lines your document needs β€” a form with 14 fill-in fields built from underscores will misalign on at least one row after any font change, while the same form built from table cells stays locked.

Mac users should note the keyboard and menu differences: the AutoFormat trick works identically, but Options lives under Word > Preferences > AutoCorrect, and the Tabs dialog sits under Format > Paragraph > Tabs. Shape insertion is under Insert > Shape, and the Shift-drag constraint behaves the same. None of the six methods is Windows-only.

For documents that will be edited by others, prefer the methods tied to paragraph or table formatting over floating shapes. Shapes are the most fragile under collaborative editing in Word for the web, where they render but can shift position when the surrounding text reflows. Borders and table borders survive that round trip intact.

FAQ

Why does typing three hyphens sometimes create nothing?

AutoFormat is disabled, or the hyphens weren't alone on their paragraph. Check File > Options > Proofing > AutoCorrect Options > AutoFormat As You Type and enable "Border lines." Then place the cursor on a blank line, type the three hyphens, and press Enter once. If a line still doesn't appear, the paragraph may be inside a table cell, where border shortcuts behave differently.

How do I delete a line that won't select?

That line is a paragraph border, not an object. Put the cursor in the paragraph immediately above it, go to Home > Borders, and choose No Border. If it returns after you retype, the paragraph style carries the border; modify the style itself. Selecting the line and pressing Delete does nothing because there's no selectable object there.

Can I make a line that stays fixed while text moves around it?

Yes β€” insert a shape line and leave it floating rather than anchored to text. In Layout Options, choose "Fix position on page" instead of "Move with text." Floating lines stay where you put them when paragraphs reflow, which suits cover pages and certificates. Anchored lines travel with their paragraph, which suits rules inside body text.

What's the difference between a tab leader and typing underscores?

A tab leader is formatting applied to a tab stop, so it auto-fills the gap to a fixed right margin and stays aligned across every row. Underscores are literal characters that break at line ends and shift width when the font changes. For any form with more than two fill-in lines, the leader method saves realignment work later.

Do these methods work in Word for the web and on Mac?

All six exist in Word for the web and Word for Mac, with menu locations that differ. The three-character shortcut works everywhere. The Tabs dialog on Mac is under Format > Paragraph. Floating shapes render in the web version but can shift during collaborative edits, so prefer paragraph or table borders for shared documents.

How do I draw a line down the middle of two columns?

Insert a two-column table with borders removed, then apply a left border to the second column via Table Design > Borders and choose the interior vertical edge. The line grows with the taller cell, so it stays centered as text is added. A shape line works too, but it won't resize automatically when the columns change height.

Which line type prints most reliably across printers?

Paragraph and table cell borders print most consistently, because they're rendered by Word's layout engine at the exact position of the text frame. Floating shape lines at hairline weights below 0.25 pt can drop out on laser printers with coarse resolution settings. For documents headed to print, set shape line weight to at least 0.5 pt.