The fastest way to add a line in Word
You can add a line in Word in three ways: draw one freehand, insert a shape, or use the border feature on a paragraph. The method you choose depends on what you need the line for. If you want a straight line that stays in place and doesn't move when you edit text, use the Shapes tool. If you want a line that sits under or above text and moves with it, use Borders. If you need a line you drew yourself, use the Draw tool.
Most people reach for Borders first because it's the quickest for everyday use — a line under a heading, a line separating sections. Shapes work better when you need the line to stay exactly where you placed it, regardless of text changes. The Draw tool is rarely the right choice unless you're annotating a document by hand.
Key Takeaways
- The Borders method adds a line that moves with your text, making it the best choice for lines under headings or between paragraphs.
- The Shapes tool inserts a line that stays in a fixed position on the page, even if you add or delete text above it.
- You can adjust line thickness, color, and style in all three methods, but the steps differ slightly for each.
- A line added via Borders is part of the paragraph formatting, while a line added via Shapes is a separate object you can move or resize.
Adding a line under text with Borders
This is the method to use when you want a line under a heading, between paragraphs, or anywhere else the line should move along with your text. Click at the end of the line of text you want the border under. Then go to the Home tab at the top of the window.
Look for the Borders button — it looks like a small square with lines around it. Click the small arrow next to it to open the menu. Select Borders and Shading at the bottom of that menu. A dialog box will open. Under the Settings section on the left, click Bottom Border (or whichever side you want the line on). You'll see a preview on the right. Click OK and the line appears.
To change the line's thickness or color before you click OK, look at the Style list (different line patterns) and the Color dropdown in the same dialog. Pick what you want, then click OK. If you want to remove the border later, select the text again, open Borders and Shading, and click None under Settings.
Inserting a straight line with Shapes
Use this method when you need a line that stays in one spot on the page, independent of your text. Go to the Insert tab at the top. Click Shapes (it looks like a circle, square, and triangle). A menu drops down. Look for the Lines section and click the straight line icon.
Your cursor changes to a crosshair. Click and drag on the page where you want the line to go. Hold down the Shift key while you drag to make sure the line stays perfectly horizontal or vertical. Release the mouse when the line is the length you want.
Once the line is drawn, it stays selected (you'll see small squares at each end). Right-click on it to change its color, thickness, or style. Click Format Shape to open a panel where you can adjust the line weight (thickness) and color. When you're done, click somewhere else on the page to deselect the line. You can move it later by clicking and dragging it, or delete it by clicking it and pressing Delete.
Drawing a freehand line with the Draw tool
The Draw tool lets you sketch a line by hand, which is useful if you're annotating a document or need an irregular line. Go to the Insert tab and click Shapes. Instead of picking a line from the menu, look for the Freeform or Scribble tool (it looks like a pen). Click it.
Your cursor becomes a pen. Click and drag across the page to draw the line however you want it. You don't have to be precise — the tool captures whatever path your mouse takes. When you're done, release the mouse. The line appears on the page and stays selected so you can adjust its color or thickness the same way you would with a Shapes line.
Changing line color, thickness, and style
For lines added with Borders, select the text again, go to Home, click the Borders arrow, and choose Borders and Shading. In the dialog, use the Color dropdown to pick a new color and the Style list to pick a different line pattern (solid, dotted, dashed, etc.). The Width dropdown controls thickness. Click OK to apply the changes.
For lines added with Shapes or the Draw tool, click the line to select it. Right-click and choose Format Shape. A panel opens on the right side of the screen. Under Line, you'll find options for color, width (thickness), and dash type (solid, dotted, dashed). Make your changes and close the panel. The line updates immediately.
Removing a line you no longer need
If you added a line with Borders, click anywhere in the paragraph that has the border. Go to Home, click the Borders arrow, and select Borders and Shading. Under Settings, click None and then OK. The border disappears.
If you added a line with Shapes or the Draw tool, click the line once to select it (you'll see the selection handles around it) and press Delete. The line is removed immediately. If you accidentally delete a line, press Ctrl+Z to undo.
Common mistakes and how to avoid them
The most common mistake is using Borders when you need a Shapes line, or vice versa. Remember: Borders move with text, Shapes stay in place. If you add a border to a paragraph and then add text above it, the border moves down with the paragraph. If you add a Shapes line and add text above it, the line stays where you put it.
Another mistake is trying to move a border line. Borders are part of paragraph formatting, not objects, so you can't drag them around. If you need to move a line, delete the border and use Shapes instead. Also, if your line doesn't appear where you expect it, make sure you're clicking in the right place before you add the border. Borders apply to the paragraph your cursor is in, not to the whole page.
Frequently Asked Questions
Can I add a line across the entire page?
Yes. Use Shapes to draw a line from the left margin to the right margin. If you want the line to move with a specific paragraph, use Borders instead — it will span the width of your text.
Why doesn't my line show up when I print?
Lines added with Shapes or Draw should print normally. If a Borders line doesn't print, check that your printer settings aren't set to skip graphics or backgrounds. You can also try changing the line color from automatic to a specific color like black.
Can I make a line thicker or thinner after I add it?
Yes. For Borders, select the text, go to Home, click Borders, choose Borders and Shading, and adjust the Width dropdown. For Shapes or Draw lines, click the line, right-click, choose Format Shape, and adjust the width under the Line section.
What's the difference between a solid line and a dashed line?
A solid line is unbroken. A dashed line has gaps in it. You pick the style when you add the line (in the Style list for Borders, or the dash type for Shapes). Dashed lines are useful when you want a lighter visual effect or need to distinguish between different types of dividers.
Can I add a line in a table cell?
Yes, but it's tricky. Click inside the cell and use Borders to add a line to that cell specifically. Shapes lines can also go inside cells, but they may move if you resize the table. Borders are usually the better choice for table cells.