The quickest ways to add lines in Word

You can add lines to a Word document in three main ways: by using the Insert menu to draw a line shape, by typing characters that create a line, or by using the Borders feature to add lines around text or paragraphs. The method you choose depends on what you're trying to do — whether you need a decorative line, a line for someone to write on, or a line that frames content.

Each approach takes less than a minute once you know where to look. The Insert menu method gives you the most control over line placement and appearance, while the Borders method is fastest if you want a line attached to specific text.

Key Takeaways

  • The Insert menu's Shapes option lets you draw straight lines anywhere on the page and adjust their thickness and color.
  • Typing three hyphens or underscores in a row and pressing Enter creates an automatic line that spans the page width.
  • The Borders feature adds lines above, below, or around paragraphs and is useful for framing text or creating signature lines.
  • Lines inserted as shapes sit on top of text by default, so you may need to adjust text wrapping to position them correctly.

Drawing a line using Insert and Shapes

Open your Word document and click the Insert tab at the top. In the ribbon, find the Shapes button — it usually shows a small circle, square, and triangle. Click the dropdown arrow next to it.

Scroll down to the Lines section and select Line (the first option, a simple diagonal line). Your cursor will change to a crosshair. Click and drag on your document where you want the line to appear. Hold Shift while dragging to create a perfectly horizontal or vertical line.

Once the line is drawn, you can adjust it. Right-click the line and select Format Shape to change the color, thickness, or style (solid, dashed, dotted). If the line is covering text, right-click it again, choose Wrap Text, and select Behind Text or In Front of Text depending on what you need.

Creating an automatic line with keyboard shortcuts

Word has a built-in feature that converts keyboard characters into a full-width line. Type three hyphens in a row (---) or three underscores (___) and press Enter. Word automatically converts this into a horizontal line that stretches across the page.

This method is useful for quick dividers between sections. The line created this way is actually a paragraph border, so you can't move it freely like a shape — it stays attached to that paragraph. If you need to delete it, click on the line and press Backspace or Delete.

You can also type three equal signs (===) to create a thicker line, or three asterisks (***) for a dotted line. Experiment to see which style matches what you need.

Adding lines with the Borders feature

The Borders tool is the fastest way to add a line under text, such as a signature line or a space for someone to write in. Click in the paragraph where you want the line, then go to the Home tab and find the Borders button (it looks like a small square with lines around it).

Click the dropdown arrow next to Borders. You'll see options like Bottom Border, Top Border, All Borders, and Borders and Shading. Select Bottom Border to add a line underneath that paragraph. To customize the line's thickness or color, click Borders and Shading instead, which opens a dialog where you can choose line style, width, and color.

This method is ideal for creating fill-in-the-blank lines in forms or documents. The line stays attached to the text above it, so if you move the paragraph, the line moves with it.

Positioning lines so they don't cover text

When you insert a line as a shape, it may overlap with your text. To fix 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 if you want it on top.

If you need 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. You can also drag the line by clicking and holding it, then moving it to a new location.

Removing lines you no longer need

To delete a line you've drawn as a shape, click on it once to select it (you'll see small squares at the ends), then press Delete or Backspace.

To remove a line created by the automatic keyboard method (three hyphens or underscores), click on the line and press Backspace. To remove a border line, click in the paragraph, go to the Home tab, click Borders, and select No Border.

Frequently Asked Questions

Can I make a line a specific length instead of full-width?

Yes, if you draw the line as a shape using Insert and Shapes. You control exactly where it starts and stops by clicking and dragging. The automatic keyboard method (three hyphens) always creates a full-width line, so use the shape method if you need a shorter line.

How do I change the color of a line?

Right-click the line and select Format Shape. In the panel that opens, click Line and choose your color from the dropdown. For border lines, right-click in the paragraph, select Borders and Shading, and pick a color from the Color dropdown.

What's the difference between a shape line and a border line?

A shape line is a separate object you can move anywhere on the page. A border line is attached to a paragraph and moves with it. Use shapes for decorative lines and borders for framing text or creating signature lines in forms.

Why is my line not showing up?

The line may be white or the same color as your background. Right-click it and check the color in Format Shape. If it's a shape line, it might also be hidden behind text — try changing the text wrapping to Behind Text.