The fastest way to add a line in Word
The simplest method is to use the Shapes tool on the Insert tab. Click Insert, then Shapes, then choose Line from the dropdown menu. Your cursor becomes a crosshair — click and drag to draw the line where you want it. Release the mouse when the line reaches the length you need. This takes about five seconds and works for any kind of line you want to place anywhere on the page.
If you need a horizontal line that spans the full width of your document — like a divider between sections — Word has a faster shortcut. Type three hyphens (---) on a blank line and press Enter. Word automatically converts this into a solid line that stretches across the page. This works for underscores (___) and asterisks (***) too, each producing a slightly different line style.
For a line under text you're typing, the underline button is the quickest option. Select the text, then press Ctrl+U (Windows) or Command+U (Mac), or click the underline button in the toolbar. This underlines the text itself rather than creating a separate line below it.
Key Takeaways
- The Insert > Shapes > Line tool lets you draw a line anywhere on the page at any angle or length.
- Typing three hyphens (---) on a blank line and pressing Enter creates a full-width horizontal line automatically.
- The underline button (Ctrl+U) underlines text itself, not the space below it.
- Borders and shading options let you add lines to the edges of paragraphs or table cells for more structured layouts.
- Horizontal lines created with hyphens or the Shapes tool stay in place even when you add or delete text above them.
Drawing lines with the Shapes tool for custom placement
When you need a line in a specific location — not spanning the full page, or at an angle — the Shapes tool gives you complete control. Go to Insert > Shapes and select Line. Your cursor changes to a crosshair. Click where you want the line to start, then drag to where you want it to end. The line appears as you drag, so you can see its length and angle before you release.
Once you've drawn the line, you can adjust it. Click the line to select it — small squares appear at both ends and in the middle. Drag any of these handles to change the line's length, angle, or position. Right-click the line to access formatting options: you can change its color, thickness, style (solid, dashed, dotted), and add arrow heads or other endpoints if needed.
Lines drawn this way are independent objects that sit on top of your text. If you add or delete paragraphs, the line stays exactly where you placed it. This is useful for creating custom layouts, but it also means you need to manually move the line if the content around it shifts.
Using the automatic line feature for full-width dividers
Word has a hidden feature that converts certain typed characters into automatic lines. On a blank line by itself, type any of these and press Enter:
- Three or more hyphens (---) creates a thin solid line
- Three or more underscores (___) creates a thicker solid line
- Three or more asterisks (***) creates a dotted line
- Three or more equal signs (===) creates a double line
The line stretches from the left margin to the right margin of your document. Word treats it as a paragraph, so it takes up a line of space. If you want the line closer to the text above or below it, adjust the spacing before or after the paragraph. Right-click the line and select Paragraph, then change the spacing values.
These automatic lines are actual paragraph formatting, not drawn objects. If you delete the line, you delete the entire paragraph. If you want to edit or remove just the line itself, click on it and press Delete, or select it and press Backspace.
Adding lines to paragraphs and table cells with borders
If you want a line as part of a paragraph's structure — like a line above a heading or below a signature block — use the Borders tool instead of drawing a line. Select the paragraph you want to add a border to, then go to Home > Borders. Choose which sides of the paragraph should have a line: top, bottom, left, right, or all four sides.
You can customize the border's appearance by clicking Home > Borders > Borders and Shading. This opens a dialog where you can choose the line style (solid, dashed, dotted, double), the thickness, and the color. You can explore different styles to different sides of the same paragraph if you need a decorative effect.
Borders work the same way in table cells. Click inside a cell, go to Home > Borders, and choose which cell edges should have lines. This is how most forms and structured documents add lines for people to write on — the lines are borders around empty cells, not drawn objects.
Creating signature lines and fill-in-the-blank lines
For a signature line or a blank line where someone will write information, the most common approach is to use underscores or a border. Type the underscores on a blank line (________________) and the person signs or writes above it. Alternatively, create a table with one row and one column, remove the top and left and right borders, and leave only the bottom border. This creates a clean line for writing.
Word also has a Signature Line feature designed specifically for digital signatures. Go to Insert > Signature Line, fill in the signer's name and title, and Word creates a formatted signature block. This is different from a written signature line — it's for people who will sign the document digitally using a certificate, not by hand.
If you're creating a form that people will fill out by hand and print, use borders on table cells. This gives you precise control over line length and placement, and the lines print clearly. If you're creating a digital form where people type their information, you can use form fields instead of lines, which is more professional and easier to process.
Troubleshooting lines that don't appear or won't move
If you draw a line and it doesn't appear, check that your document isn't in Outline view. Switch to Print Layout view by going to View > Print Layout. Lines don't display in Outline or Draft view, even though they're in the document.
If a line won't move when you try to drag it, it may be anchored to a specific location. Click the line to select it, then right-click and look for an Anchor option. If the anchor is locked, unlock it so you can move the line freely. Some lines created with the automatic hyphen method can't be moved because they're paragraph formatting, not objects — in that case, delete the line and redraw it using the Shapes tool if you need it in a different location.
If a line disappears when you print the document but appears on screen, check the line's color. If it's set to white or a very light color, it won't print. Select the line, right-click, and choose a darker color. You can also check your printer settings to make sure you're printing in color or that light colors are being rendered.
When to use lines versus other formatting options
A line is useful when you need a visual separator or a space for writing. For most other purposes, Word offers better alternatives. If you want to separate sections of text, a page break or a paragraph break with extra spacing is cleaner than a line. If you want to highlight text, use highlighting or a colored background instead of drawing a box around it. If you want to organize information, a table is more flexible than trying to align text with drawn lines.
Lines work best for dividing pages visually, creating signature blocks, or adding structure to forms. For everything else — organizing data, creating layouts, or emphasizing text — explore Word's other formatting tools first. Lines are straightforward and visible, but they're also rigid and don't adjust automatically when your content changes.
Frequently Asked Questions
Can I make a line that moves with my text?
Lines created with the Shapes tool stay in a fixed position. To create a line that moves with text, use a border on a paragraph instead. Select the paragraph, go to Home > Borders, and choose a bottom border. The border moves with the paragraph when you add or delete text above it.
How do I make a line thicker or change its color?
Click the line to select it, then right-click and choose Shape Outline. You can change the color, thickness (weight), and style (solid, dashed, dotted). For automatic lines created with hyphens, you can't customize them — delete the line and use the Shapes tool instead if you need a different appearance.
Why does my line disappear when I add text above it?
Lines created with the Shapes tool don't move when you edit text. If you want a line that stays in a logical position relative to your content, use a paragraph border instead. Borders are tied to paragraphs and move with them when you edit.
Can I draw a diagonal line or a curved line?
The Line tool in Shapes draws straight lines only. For curves or diagonal lines, use the Shapes tool and select Curve or Freeform instead of Line. These let you click multiple points to create more complex shapes, though they're harder to control precisely than a straight line.
What's the difference between a line and an underline?
An underline is formatting applied to text itself — it appears directly under the letters. A line is a separate object or border that appears below text but isn't attached to it. Use underline for emphasizing words. Use a line or border when you want a visual separator or a space for someone to write on.