The fastest way: use the horizontal line button in the toolbar

Open your Word document and click where you want the line to appear. Look at the top toolbar for the Insert tab, then find the Shapes button (it looks like a rectangle or circle). Click the small arrow next to it to open the dropdown menu. Select the straight line from the list — it's usually near the top. Your cursor will change to a crosshair. Click and drag across the page to draw the line to the width you want.

This method gives you the most control over where the line sits and how long it is. You can adjust it afterward by clicking the line and dragging its endpoints. You can also right-click the line to change its color, thickness, or style (solid, dashed, dotted).

Key Takeaways

  • The Insert tab's Shapes menu holds a straight line tool that you draw directly onto the page at any length you choose.
  • A horizontal line made from the Shapes menu can be resized, moved, and styled after you draw it.
  • The Borders option under the Home tab adds a line to the bottom of a paragraph or table cell without inserting a separate object.
  • Word's built-in horizontal line style (Paragraph > Borders > Horizontal Line) creates a line that moves with the text if you edit above it.

Using paragraph borders for a line that stays with your text

If you want a line that moves along with your document as you edit, use a paragraph border instead of drawing a shape. Click at the end of the paragraph where you want the line to appear. Go to the Home tab, then find Borders in the toolbar (it looks like a small square with lines around it). Click the arrow next to it and select Borders and Shading.

In the window that opens, choose Borders at the top. Under Settings, click the icon that shows a line at the bottom only. You can pick the line style (solid, dashed, dotted) and the thickness from the dropdown menus. Click OK when you're done. The line will appear below that paragraph and will stay there even if you add or delete text above it.

This approach works better for documents you plan to edit, because the line is tied to the paragraph rather than floating on the page. If you delete the paragraph, the line goes with it.

The quick method: type three hyphens and press Enter

Word has a hidden shortcut: type three hyphens in a row (---) on a blank line, then press Enter. Word will automatically convert those hyphens into a thin horizontal line that spans the page width. This line is actually a paragraph border created automatically, so it behaves the same way as the border method above — it stays with the paragraph.

This works in most versions of Word, but not all. If it doesn't work for you, go back to the paragraph border method instead. The three-hyphen trick is fastest if you're in a hurry, but it gives you less control over the line's thickness or style than the other two methods.

Adjusting line thickness, color, and style

If you drew the line using Shapes, right-click it and select Format Shape (or Format Line depending on your Word version). A panel will open on the right side. Look for Line options. You can change the color by clicking the color square, adjust thickness by moving the width slider, and pick a style (solid, dashed, dotted) from the dropdown.

If you used a paragraph border, go back to Home > Borders > Borders and Shading. The same window will open. Change the style, color, or width, then click OK. Your line will update to match the new settings.

Moving or deleting a line you've drawn

A line created with Shapes is an object that sits on top of your text. Click it once to select it (you'll see small squares at the corners and edges). You can drag it to a new position, or press Delete to remove it. If you want to move it slightly, use the arrow keys on your keyboard for precise positioning.

A line created with a paragraph border is part of the paragraph itself. To remove it, click in that paragraph, go to Home > Borders, and select No Border. To move it, you'll need to delete the border from the current paragraph and add it to a different one.

When a line won't appear where you expect it

If you drew a line with Shapes and it's hidden behind your text, right-click it and look for Wrap Text or Position options. Change the wrap setting to In Front of Text so the line sits on top. If the line is in front but you want text to flow around it, choose Square or Through instead.

If you added a paragraph border and it's not showing, check that the paragraph itself isn't empty. An empty paragraph with a border may not display the line. Add a space or a word to the paragraph, or try adding the border to the paragraph above or below instead. If your document uses a template or style, the template's settings might be overriding your border — in that case, modify the style itself rather than the individual paragraph.

Frequently Asked Questions

Can I make a vertical line instead of a horizontal one?

Yes, using the Shapes method. Go to Insert > Shapes, select the line tool, and drag it vertically instead of horizontally. You can rotate a line you've already drawn by right-clicking it and selecting Rotate, or by dragging the rotation handle (the small circle above the line).

Why does my line disappear when I print the document?

Lines created with Shapes sometimes don't print if the wrap setting is wrong. Right-click the line and check that Wrap Text is set to something other than "Behind Text". If it's a paragraph border, make sure the paragraph contains at least one character — some printers skip borders on completely empty paragraphs.

How do I make a line that spans only part of the page width?

Use the Shapes method and drag to the width you want. Paragraph borders always span the full width of the page, so they won't work for partial lines. If you need a short line, drawing it with Shapes is your only option.

Can I add a line between columns in a table?

Yes. Click inside the table cell where you want the line. Go to Home > Borders > Borders and Shading, then choose which cell edges should have a border. You can add a line to the right side of a cell, the bottom, or any combination. This works the same way as paragraph borders but applies to individual cells instead.