The quickest way to add a line in Word
The fastest method is to use the horizontal line shortcut: type three hyphens (---) and press Enter. Word automatically converts this into a solid line that spans the width of your page. This works in most versions of Word on Windows and Mac.
If you need more control over the line's appearance — its thickness, color, or length — use the Insert menu instead. Click Insert at the top, then Shapes, then select the line tool. Click and drag on your document to draw the line exactly where you want it.
Key Takeaways
- Type three hyphens (---) and press Enter to create a quick horizontal line that spans your page width.
- Use Insert > Shapes > Line to draw lines of any length, angle, or thickness anywhere in your document.
- The Borders feature lets you add lines around paragraphs or tables without inserting separate line objects.
- Colored or styled lines work best when you draw them as shapes rather than using the hyphen shortcut.
Using the Insert menu for custom lines
When you need a line that is not a full-width horizontal rule, the Insert menu gives you precise control. Open Word and click Insert in the ribbon at the top. Look for Shapes — it is usually near the right side of the Insert ribbon. A dropdown menu appears with shape options.
Select Line from the shapes menu (it is typically in the first row). Your cursor changes to a crosshair. Click where you want the line to start, then drag to where you want it to end. Release the mouse button. The line appears on your page and stays selected, showing small handles at each end that you can drag to adjust its position or angle.
Once the line is drawn, right-click it to open a menu with formatting options. You can change the color, thickness, and style (solid, dashed, dotted). These options appear under Format Shape or Line Properties, depending on your Word version.
Adding borders to paragraphs instead of separate lines
If you want a line above or below text — like a divider between sections — borders are often cleaner than drawing separate lines. Select the paragraph or text block you want a border around. Click Home in the ribbon, then find the Borders button (it looks like a small square with lines around it).
A dropdown menu shows options: Top Border, Bottom Border, Left Border, Right Border, or All Borders. Choose the sides you want. The border attaches to the paragraph itself, so if you move the text, the border moves with it. This is more reliable than a separate line object if you plan to edit your document later.
For more detailed border control, click Borders and Shading at the bottom of the Borders menu. This opens a dialog where you can set the line style, color, and width, then choose exactly which sides get the border.
Lines in tables and between columns
Tables already have borders by default, but you can remove or customize them. Click inside the table, then go to Table Design (or Design under Table Tools). You will see preset border styles. Click the one that matches what you need. If none of the presets work, click Borders and choose specific sides to show or hide.
If you are using columns in your document, Word adds vertical lines between them automatically when you set up the columns. Go to Layout (or Page Layout in older versions), click Columns, then select your column layout. Check the box labeled Line between to add a vertical divider between columns.
Troubleshooting lines that do not appear as expected
If you drew a line but cannot see it, check the line color. A white line on a white background is invisible. Right-click the line and choose Format Shape or Line Properties. Under Line Color, select a color that contrasts with your page background.
If the hyphen shortcut (---) did not create a line, make sure you pressed Enter after typing the hyphens. Also check that the three hyphens are the only thing on that line — extra spaces or text before or after them can prevent the conversion. If it still does not work, you may have a setting that disables automatic formatting. Go to File > Options > Proofing > AutoCorrect Options, click the AutoFormat As You Type tab, and make sure the box for "Borders" is checked.
Lines drawn as shapes sometimes hide behind text. If this happens, right-click the line and select Wrap Text or Send to Back to control whether text flows around it or over it.
When to use each method
Use the hyphen shortcut (---) when you need a quick full-width divider and do not care about customizing its appearance. It is the fastest option and requires no menu navigation.
Use Insert > Shapes > Line when you need a line at a specific angle, length, or position, or when you want to color or style it. This method gives you the most control but takes a few extra clicks.
Use Borders when you want a line attached to text or a table, especially if you plan to move or edit that content later. Borders stay with the text they are attached to, while separate line objects can shift if you add or remove content above them.
Frequently Asked Questions
Can I make a line thicker or thinner?
Yes. If you drew the line using Insert > Shapes, right-click it and select Format Shape or Line Properties. Look for Width or Thickness and adjust the measurement. For borders on paragraphs, use Borders and Shading and set the line width before applying it.
How do I delete a line I drew?
Click the line once to select it (you will see the handles at the ends), then press Delete. If you used the hyphen shortcut, select the line and press Delete, or undo with Ctrl+Z (Windows) or Command+Z (Mac).
Can I make a diagonal line?
Yes, using Insert > Shapes > Line. Draw the line at any angle you want by clicking and dragging diagonally. You can also rotate a line after drawing it by right-clicking and selecting Rotate, or by dragging the rotation handle that appears when the line is selected.
Why does my line disappear when I print?
Check that the line has a color assigned. White lines do not print on white paper. Right-click the line, go to Format Shape, and set Line Color to something visible like black or dark gray. Also check your printer settings to make sure graphics are set to print.
Can I add a line to just one page?
Yes. Draw the line or add the border only on that page. Lines and borders stay where you place them. If you want a line on every page in the same position, use the header or footer instead: go to Insert > Header or Footer, draw or insert your line there, and it will appear on every page automatically.