The quickest way to add a line
Open the Insert tab at the top of Word, then click Shapes. Select the straight line tool (the simplest option in the dropdown). Click once where you want the line to start, then click again where you want it to end. Word will draw a line between those two points.
If you need the line to be perfectly horizontal or vertical, hold down the Shift key while you click the second point. This locks the line to a 45-degree angle, making it easier to create straight edges without wobbling.
Once the line is drawn, you can move it by clicking and dragging, or resize it by dragging the small squares at either end. Right-click the line to change its color, thickness, or style (solid, dashed, dotted).
Key Takeaways
- The Insert tab contains Shapes, where you'll find the line tool to draw straight lines anywhere in your document.
- Hold Shift while drawing to create perfectly horizontal or vertical lines without manual adjustment.
- Right-click a finished line to change its color, thickness, or dash pattern without redrawing it.
- Lines can be moved by dragging them and resized by pulling the endpoints, giving you full control over placement.
- A horizontal line across the page can also be created using the Borders feature under the Home tab, which is faster for simple dividers.
Using borders for a full-width line
If you want a line that spans the entire width of the page (a divider between sections), the Borders tool is faster than drawing. Click the Home tab, then find the Borders button in the Paragraph section (it looks like a small box with lines around it).
Click the dropdown arrow next to Borders and select Borders and Shading. In the window that opens, choose which edges you want lined: top, bottom, left, right, or all four. You can also pick the line style and color here. Click OK, and Word will apply the border to the paragraph you're in.
This method is useful when you want a line to stay attached to text — if you move the paragraph, the line moves with it. The Shapes method is better when you want a line that floats independently on the page.
Controlling line appearance
After you draw a line with Shapes, right-click it to open the formatting menu. Select Format Shape to see all your options. Under Line, you can change the color by clicking the color picker, adjust the width (thickness) with a slider, and choose the dash style (solid, dashed, dotted, or combinations).
You can also add arrow heads to either end of the line if you need to show direction. In the Format Shape menu, look for Line options and find the dropdown for line endings. Select an arrow style from the list.
If you want the line to have a shadow or glow effect, those options are also in the Format Shape menu under Effects. These are mostly decorative, but they can help a line stand out if it's part of a diagram or visual layout.
Positioning lines precisely
When you draw a line freehand, it's rarely in exactly the right spot. Click the line once to select it, then use the arrow keys on your keyboard to nudge it one pixel at a time. Hold Shift while pressing an arrow key to move it in larger steps.
For more precise control, right-click the line and select Position and Size. This opens a dialog where you can enter exact measurements for where the line should sit on the page, how long it should be, and what angle it should be at. This is especially useful if you're creating a document with a specific layout or alignment requirements.
You can also align multiple lines at once. Select the first line, then hold Ctrl and click each additional line you want to select. Right-click and choose Align to line them up horizontally, vertically, or distribute them evenly across the page.
Layering lines with text
By default, lines sit on top of text, which can make words hard to read. To change this, right-click the line and select Wrap Text. Choose Behind Text if you want the line to sit underneath your words, or In Front of Text to keep it on top.
You can also choose Through if you want text to flow around the line, or Tight if you want the text to hug the line's shape. Most of the time, Behind Text is the clearest choice for a simple dividing line.
Deleting or copying a line
To remove a line, click it once to select it and press Delete. The line will disappear immediately, and the rest of your document will stay in place.
To copy a line, click it and press Ctrl+C, then click where you want the copy to appear and press Ctrl+V. This is faster than redrawing the same line multiple times. You can also copy the formatting of one line to another by selecting the original line, clicking the Format Painter tool in the Home tab, and then clicking the line you want to match.
Frequently Asked Questions
Can I make a line curved instead of straight?
Yes. In the Shapes menu, look for Curves instead of the straight line option. You'll click multiple points to create a curved path, and you can adjust the curve by dragging the control points that appear after you finish drawing.
Why does my line disappear when I type near it?
The line is probably set to wrap text in a way that hides it. Right-click the line, select Wrap Text, and choose Behind Text or In Front of Text depending on what you need. This will make it visible again.
How do I make a line the same length as another line?
Right-click the line and select Position and Size. You'll see the exact length listed under Height or Width (depending on the line's direction). Use that number for any other line you want to match.
Can I use a line as a page divider between sections?
Yes, but a page break is usually clearer. Go to the Insert tab and click Page Break to start a new page. If you want a decorative line at the bottom of a page, draw it near the page edge and set it to Behind Text so it doesn't interfere with your content.