The fastest way to add a line
The quickest method is to use the horizontal line tool built into Word. Go to the Insert tab at the top of your document, then click Shapes in the ribbon. Select the straight line tool (it looks like a simple diagonal line), then click and drag across your document where you want the line to appear. Release the mouse when the line reaches the length you want.
If you need the line to be perfectly horizontal, hold down the Shift key while dragging. This locks the line to a 0-degree angle and prevents it from slanting. You can adjust the line's thickness, color, and style after you draw it by right-clicking on the line and selecting Format Shape.
Key Takeaways
- The Insert tab contains a Shapes menu with a straight line tool that you can drag directly onto your document.
- Holding Shift while dragging ensures your line stays perfectly horizontal instead of angling.
- Right-clicking a line opens Format Shape, where you can change its color, thickness, and style.
- The Borders option under the Home tab lets you add lines above or below specific paragraphs without drawing.
- A paragraph border is faster than a drawn line if you want a line that moves with your text.
Using borders for lines that stay with your text
If you want a line that moves along with your paragraphs instead of staying in a fixed position on the page, use the borders feature. Click anywhere in the paragraph where you want a line, then go to the Home tab. In the ribbon, find the Borders button (it looks like a small square with lines around it) and click the dropdown arrow next to it.
A menu appears with preset options. Choose Borders and Shading at the bottom to open the full dialog. From here you can add a line above the paragraph, below it, or on all sides. You can also set the line's color and thickness before applying it. This method is useful when your document might be edited later, because the line will stay attached to the paragraph rather than floating independently.
Adjusting line appearance after you draw it
Once you have drawn a line using the Shapes tool, you can change how it looks. Right-click directly on the line itself. A menu appears with several options. Click Format Shape to open a panel on the right side of your screen.
In this panel, you can adjust the line's Weight (thickness), Color, and Dash Type (solid, dotted, dashed, or other patterns). You can also add arrow heads to either end of the line if you need directional indicators. These changes apply instantly, so you can experiment until the line matches what you need.
Positioning and moving lines precisely
After drawing a line, you may need to move it or resize it. Click on the line once to select it. Small squares appear at each end and in the middle. Drag the middle of the line to move it to a new location. Drag either end square to make the line longer or shorter.
If you need exact positioning, right-click the line and select More Layout Options. This opens a dialog where you can enter precise measurements for the line's position and length. This is especially useful if you are creating a form or document where lines need to align with other elements on the page.
Using tables or paragraph marks as alternatives
Sometimes a line serves a specific purpose in your document layout. If you need a line to separate sections, you might use a paragraph border instead of drawing a shape. If you need multiple lines in a grid pattern, a table with visible borders may work better than drawing individual lines.
For a simple divider between sections, you can also type three or more hyphens (---) on a blank line and press Enter. Word automatically converts this into a thin horizontal line. This method is fast for casual documents but gives you less control over appearance than the other methods.
Removing or hiding lines you no longer need
If you drew a line and want to remove it, click on the line to select it and press the Delete key. The line disappears immediately. If the line was created using a border instead, click in the paragraph, go to the Home tab, click the Borders dropdown, and select No Border.
If you want to hide a line temporarily without deleting it, right-click the line, select Format Shape, and change the line color to white or the same color as your background. You can restore it later by changing the color back.
Frequently Asked Questions
Can I make a line that spans the entire width of the page?
Yes. When you drag your line, extend it all the way from the left margin to the right margin. If you need it perfectly aligned to the margins, use the positioning dialog (right-click the line, select More Layout Options) and set the width to match your page width minus the margin settings.
Why does my line look crooked when I thought I drew it straight?
You likely did not hold Shift while dragging. The Shift key locks the line to a horizontal or vertical angle. Try again: click and drag while holding Shift the entire time, then release the mouse before releasing Shift.
Can I add a line between columns in a multi-column document?
Yes, but use the Borders method instead of drawing. Select all the text in your columns, go to Home, click Borders, then select Borders and Shading. Choose the option to add a vertical line between columns. This keeps the line aligned with your column layout automatically.
What is the difference between a shape line and a border line?
A shape line is a separate object that floats on top of your text and stays in one position on the page. A border line is attached to a paragraph and moves with it if you add or delete text. Use shapes for decorative lines and borders for lines that should stay with specific content.