The quickest way to add a line in Word

Open your document and place your cursor where you want the line to appear. Go to the Insert tab at the top of the window, then click Shapes. Select the straight line tool (it looks like a diagonal line). Click and drag on your page to draw the line where you need it. Release the mouse when the line is the length you want.

This method gives you a line you can move, resize, and format. You can change its color, thickness, and style by right-clicking it and selecting Format Shape. If you need the line to stay in a specific spot relative to your text, this approach works well because the line is a separate object.

Key Takeaways

  • The Insert > Shapes menu gives you a straight line tool that you can draw, move, and format independently of your text.
  • The Insert > Horizontal Line option creates a line that spans the width of your page and stays anchored to a paragraph.
  • Underscores and dashes typed on their own line create a visual line effect but are harder to control and don't resize with your document.
  • Lines drawn as shapes can be colored, thickened, and styled, while paragraph borders offer less formatting flexibility but integrate better with text layout.

Using the horizontal line tool for full-width lines

If you want a line that stretches across the entire width of your page, use the horizontal line feature instead. Place your cursor at the beginning of a blank line. Go to Insert, then look for Horizontal Line (in some versions of Word, this is under Borders in the Home tab). Click it, and Word inserts a line that runs from the left margin to the right margin.

This line is tied to a paragraph, so it moves with your text if you add or delete content above it. You can delete it by selecting the paragraph it belongs to and pressing Delete. To change its appearance, right-click the line and choose Borders and Shading to adjust the color, width, and style.

Drawing lines with the Shapes menu for more control

The Shapes menu offers more flexibility than the horizontal line tool. Go to Insert > Shapes and you will see options for straight lines, arrows, and connectors. The basic straight line is what most people use. Click it, then click and drag on your page to create the line at any angle and any length you want.

Once the line is drawn, you can click it to select it and then drag the endpoints to adjust its length or angle. Right-click the line and select Format Shape to open a panel where you can change the color, thickness (called Width), dash style (solid, dotted, dashed), and transparency. This is the most customizable approach if you need lines that look a specific way.

Adding lines using paragraph borders

If you want a line above or below a paragraph of text, use the border feature. Select the paragraph you want to add a line to. Go to the Home tab, find the Borders button (it looks like a small square with lines around it), and click the dropdown arrow next to it. You will see options to add a border above, below, left, right, or all around the paragraph.

Choose Borders and Shading from that menu to open a dialog where you can pick which sides get a line, what style the line is (solid, dotted, dashed), what color it is, and how thick it is. This approach keeps the line attached to your text, so if you move the paragraph, the line moves with it. It is useful for separating sections or highlighting specific text blocks.

Using underscores or dashes as a workaround

Some people type a row of underscores or dashes to create a line effect. Type a series of underscores (Shift + hyphen) on a blank line, or type multiple hyphens and press Enter to trigger Word's auto-format feature, which converts them into a line. This creates a visual line but it is not a true line object.

This method has drawbacks. The line does not resize if you change your page margins or font size. If you copy the document to another computer or open it in a different version of Word, the line may look different or break across pages unexpectedly. It also takes up space in your document as text, which can cause formatting problems. Use this only if you need a quick visual effect and do not plan to share or edit the document later.

Positioning lines so they stay where you want them

Lines created with Shapes or Borders stay in place by default, but lines can shift if you edit text around them. To lock a line in position, right-click it and look for Wrap Text or Position options. Set the line to In Front of Text or Behind Text depending on whether you want it to appear on top of or behind your words. Then go to Position and choose Fix Position on Page so the line does not move when you edit nearby text.

For lines created with paragraph borders, the line is already anchored to that paragraph, so it moves with the text. If you want it to stay in a fixed spot on the page regardless of text changes, use a Shape line instead and lock its position as described above.

Frequently Asked Questions

Can I make a line a specific length in inches or centimeters?

Yes. Draw the line using Shapes, then right-click it and select Format Shape. In the panel that opens, look for Size and enter the exact width you want. You can also select the line and look at the ruler at the top of the page to see its length in inches or centimeters as you drag to resize it.

Why does my line disappear when I print the document?

Lines created with Shapes sometimes do not print if they are set to a very light color or thin width. Right-click the line, select Format Shape, and increase the width to at least 1 point. Make sure the color is dark enough to show up on paper. Test by printing a single page first.

How do I delete a line I no longer need?

Click the line once to select it (you will see small squares at the corners or ends), then press Delete. If it is a paragraph border, select the paragraph and go to Home > Borders > No Border. If you typed underscores or dashes, select them and delete them as you would any text.

Can I add a line between columns in Word?

Yes, but it works differently. Go to Layout (or Page Layout in older versions), click Columns, then select the number of columns you want. Click More Columns at the bottom and check the box for Line Between. Word will automatically add a vertical line between your columns.