The quickest way to add a line in Word
Open Microsoft Word and go to the Insert tab at the top of the screen. Click Shapes, then select the straight line from the dropdown menu. Click and drag on your document where you want the line to appear — the line will stretch in whatever direction you pull.
This method works the same way whether you are using Word on Windows, Mac, or the web version. The line appears as an object you can move, resize, or delete like any other element in your document.
If you need the line to be perfectly horizontal or vertical, hold down the Shift key while you drag. This locks the line to a 45-degree angle, making it easier to draw straight without wobbling.
Key Takeaways
- The Insert tab contains the Shapes menu, where you will find the line tool in all versions of Word.
- Holding Shift while dragging forces the line to stay perfectly horizontal, vertical, or at a 45-degree angle.
- You can change a line's color, thickness, and style by right-clicking it and selecting format options.
- The horizontal line button in the Home tab creates a full-width divider line without using the Shapes menu.
- Lines you draw are separate objects that sit on top of or behind your text depending on how you position them.
Using the horizontal line button for a quick divider
Word has a faster option if you want a line that spans the full width of your page. Go to the Home tab, click the arrow next to the Borders button (it looks like a small box with lines around it), and select Horizontal Line. Word inserts a full-width line at your cursor position when ready.
This method is useful when you want to separate sections of a document without fussing with sizing or positioning. The line automatically adjusts if you change your page margins or column width later.
If you cannot find the Borders button, look for it in the Paragraph section of the Home tab. On some versions of Word, it may be labeled as a small icon with horizontal lines.
Changing the color, thickness, and style of your line
After you draw a line using Shapes, right-click it and select Format Shape (or Format Line depending on your Word version). A panel opens on the right side showing options for Line Color, Width, and Dash Type.
To change the color, click Line Color and choose from the palette. To make the line thicker, adjust the Width slider — the number represents points, and most lines fall between 1 and 6 points. The Dash Type menu lets you switch between solid, dotted, dashed, or other patterns.
If you drew a line using the Borders button instead, right-click the line and select Borders and Shading to adjust its appearance. The options are more limited than with Shapes, but you can still change color and thickness.
Positioning a line exactly where you need it
Lines drawn with Shapes can be moved by clicking and dragging them to a new spot. To position a line more precisely, right-click it and select Position and Size (or Layout Options on newer versions). A dialog box opens where you can enter exact measurements for where the line should sit on the page.
You can also control whether the line appears in front of or behind your text. Right-click the line, select Wrap Text or Arrange, and choose Bring to Front or Send to Back. This matters when your line overlaps with words — you decide which element sits on top.
If you want a line to stay in one place and not move when you edit text around it, anchor it to the page. Right-click the line, look for Anchor in the menu, and select the option that locks it in position.
Drawing diagonal or curved lines
The straight line tool is the simplest, but Word offers other shapes if you need something different. Go to Insert > Shapes and look for Connectors (which include angled lines) or Freeform (which lets you draw by hand). Click the shape you want, then click and drag on your document to create it.
Freeform is less precise than the straight line tool — your hand movements translate directly to the line's path. If you need a perfectly angled line at a specific degree, use the straight line tool and then rotate it. Right-click the line, select Rotate, and enter the angle you want.
Removing a line you no longer need
Click the line once to select it (you will see small squares at the ends), then press the Delete key. The line disappears when ready. If you accidentally delete a line, press Ctrl+Z (Windows) or Command+Z (Mac) to undo.
If you cannot click the line because it is behind text, use the Selection Pane to find it. Go to Home > Find & Select > Selection Pane, and a list of all objects in your document appears on the left. Click the line's name in the list to select it, then delete it.
Frequently Asked Questions
Can I make a line that is not straight?
Yes. Use the Freeform tool under Insert > Shapes to draw by hand, or use Connectors for angled lines. You can also draw a straight line and rotate it to any angle by right-clicking and selecting Rotate.
Why does my line disappear when I type near it?
The line is probably behind your text. Right-click the line, select Arrange or Wrap Text, and choose Bring to Front. This moves the line in front of the words so it stays visible.
How do I make a line the exact same length as another line?
Right-click the line and select Position and Size. Enter the exact length you want in the Height or Width field (depending on whether the line is vertical or horizontal). You can measure another line the same way to match its dimensions.
Can I add arrowheads to a line?
Yes. Right-click the line, select Format Shape, and look for Line Style or Arrow options. You can add an arrowhead to one or both ends of the line and choose from different arrow shapes.
What is the difference between a line from Shapes and a line from Borders?
Shapes lines are objects you can move, resize, and position anywhere. Border lines are tied to paragraphs and move with the text. Use Shapes for precise positioning and Borders for quick full-width dividers.