The fastest way to add a line in Word

Open your document and click where you want the line to appear. Go to the Insert tab at the top, then click Shapes. Select the straight line tool (the simplest option at the top left of the shapes menu). Click and drag across your document to draw the line where you need it.

Once the line is drawn, you can adjust it by dragging the endpoints to make it longer or shorter, or by rotating it. Right-click the line to change its color, thickness, or style — you can make it solid, dashed, dotted, or any combination.

This method works for single decorative lines, dividers between sections, or lines you want to position precisely anywhere on the page. If you need multiple lines or a specific layout, the other methods below may be faster.

Key Takeaways

  • The Insert > Shapes > Line tool lets you draw a single line anywhere on your page and customize its color, thickness, and style.
  • The Borders feature adds lines to the edges of paragraphs or entire pages without drawing individual lines.
  • A table with invisible borders creates evenly spaced lines for forms or fill-in-the-blank documents.
  • Horizontal rules (Insert > Horizontal Line) add a quick divider line across the full page width.

Using borders to add lines to paragraphs or pages

If you want a line under a heading, around a paragraph, or along the edges of your entire page, use the Borders feature instead of drawing. Select the text or paragraph you want a line around, then go to the Home tab. Click the small arrow next to the Borders button (it looks like a square with lines on the edges).

A menu appears with preset options: you can add a line below the paragraph, around all four sides, on the left only, or on the right only. Choose what you need. To add a border to your entire page, click anywhere in your document (no text selected), go to Design (or Layout in older Word versions), then find Page Borders. This adds a frame around every page automatically.

Borders are faster than drawing lines if you want them aligned with text or if you need the same line style repeated throughout your document. You can also customize the line color and thickness by clicking Borders and Shading from the same menu.

Creating lines for forms using tables

If you are building a form where people need to write on lines (like a signature line or a fill-in-the-blank), a table with hidden borders is the cleanest approach. Insert a table with one row and one column, then type your label (like "Signature: ___________"). Make the cell tall enough for writing.

Right-click the table, select Borders and Shading, and choose None to hide all borders except the bottom one. This creates a single line where people can write. You can copy this row down to create multiple lines for a form. This method keeps lines perfectly aligned and makes the document look professional.

Tables also work well if you need evenly spaced lines across a page — insert a table with multiple rows, hide all borders except the bottom of each row, and adjust row height to control spacing.

Adding a quick horizontal line across the page

For a simple divider line that spans the full width of your page, go to Insert and look for Horizontal Line (in some Word versions this is under Insert > Shapes). Click it once and Word inserts a line across the page. This is faster than drawing if you just need a basic separator between sections.

You can customize this line by right-clicking it and choosing Format Shape. Change the color, thickness, or line style from there. If you need the line to be shorter than the full page width, use the Shapes > Line method instead, which gives you more control over placement.

Changing line color, thickness, and style

No matter which method you use to add a line, you can customize its appearance. Right-click any line you have drawn and select Format Shape (or Format Line). A panel opens on the right side of your screen.

Under Line, you can change the color by clicking the color box. Adjust thickness by moving the Width slider — thicker lines are useful for emphasis, thinner ones for subtle dividers. Under Dash type, choose solid, dashed, dotted, or a combination. Some Word versions also let you add arrow heads to the ends of lines if you need directional indicators.

For borders added through the Borders feature, right-click the bordered text or paragraph and select Borders and Shading. The dialog box lets you pick a color and width before you apply the border.

Positioning lines precisely on your page

If you need a line in an exact location, use the Shapes > Line tool and then right-click the line to access Layout Options. Choose how the line interacts with text — whether it sits behind text, in front of text, or moves with a paragraph. This prevents lines from shifting when you edit your document.

For even more precision, right-click the line and select Position and Size. You can enter exact measurements for where the line starts and how long it is. This is useful if you are creating a template or a form that needs to match a specific layout.

Frequently Asked Questions

Can I make a line that moves with my text?

Yes. Right-click your drawn line, click Layout Options, and choose Move and resize with text. This anchors the line to a paragraph so it stays in the same position relative to your words if you add or delete content above it.

How do I add a line under just one word?

Select the word, go to Home, click the arrow next to Borders, and choose Bottom Border. This adds a line directly under that word without affecting the rest of your paragraph.

What is the difference between a border and a drawn line?

Borders are attached to text or paragraphs and move with them. Drawn lines are separate objects you can place anywhere. Use borders for lines tied to content, and drawn lines for decorative dividers or precise positioning.

Can I delete a line I have drawn?

Click the line once to select it (you will see small handles at the ends), then press Delete. For borders, select the text, go to Borders, and choose No Border.

How do I make a vertical line in Word?

Use Insert > Shapes > Line, then click and drag vertically instead of horizontally. You can rotate any line by clicking and dragging the rotation handle (the small circle above the line when it is selected).