The fastest way to add a line in Word

The quickest method is to use the Shapes tool on the Insert tab. Click Insert at the top of the window, then find the Shapes button (it looks like a rectangle). A dropdown menu appears — select the straight line option. Your cursor becomes a crosshair; click and drag to draw the line where you want it.

This method gives you full control over length, angle, and placement. You can move the line afterward by clicking it and dragging, or resize it by pulling the handles at either end. Right-click the line to change its color, thickness, or style (solid, dashed, dotted).

Key Takeaways

  • The Shapes tool on the Insert tab is the fastest way to draw a single line anywhere in your document.
  • The Borders feature adds lines above, below, or around paragraphs and tables without drawing individual lines.
  • Horizontal lines can be created by typing three hyphens or underscores and pressing Enter, which Word converts automatically.
  • Lines drawn with Shapes can be formatted with different colors, thicknesses, and styles by right-clicking and selecting format options.

Using borders for lines around text and tables

If you want a line above or below a paragraph, or around a table, use the Borders feature instead of drawing. Select the paragraph or table, then click Home at the top. Find the Borders button (it shows a small square with lines around it) and click the dropdown arrow next to it.

A menu appears with preset options: you can add a line to the top only, bottom only, all sides, or no border at all. This method is faster than drawing individual lines and keeps your formatting consistent across multiple paragraphs. You can also customize the line color and thickness by clicking Borders and Shading at the bottom of the menu.

Creating automatic lines with keyboard shortcuts

Word has a hidden feature that converts keyboard characters into lines. Type three hyphens in a row (---) or three underscores (___) on a blank line, then press Enter. Word automatically replaces them with a solid horizontal line that spans the width of the page.

This works only on a blank line — if you type the hyphens at the end of text, nothing happens. The line created this way is actually a paragraph border, so you can right-click it and select Borders and Shading to change its color or thickness. This method is useful for quick dividers between sections without opening any menus.

Formatting lines after you create them

Any line you draw with Shapes can be customized. Right-click the line and select Format Shape (or Format Line depending on your Word version). A panel opens on the right side showing options for color, width, and dash style.

Change the Width slider to make the line thicker or thinner. Under Dash type, choose solid, dashed, dotted, or other patterns. The Color option lets you pick any color from Word's palette or create a custom one. These changes apply instantly, so you can experiment without saving.

Placing lines in specific locations

Lines drawn with Shapes float over your text, which means you can position them anywhere — even in the middle of a paragraph. If you want a line that stays with a specific paragraph as you edit, use borders instead. Borders are anchored to the paragraph, so they move when the paragraph moves.

For a line that spans only part of the page width, draw it with Shapes and resize it by dragging the handles. For a line that must align with the left or right margin, draw it and then right-click to access alignment options. If you need a line in a header or footer that appears on every page, draw it in the header or footer area (double-click the top or bottom of the page to access these areas).

Removing lines you no longer need

Click any line you drew with Shapes to select it, then press Delete. The line disappears immediately. If you created a line using the three-hyphen method, click in that paragraph and go to Home > Borders > No Border.

To remove borders from a table or paragraph, select the table or paragraph, then click Home > Borders > No Border. This removes all borders at once. If you want to keep some borders and remove only one side, use the Borders and Shading menu to deselect individual sides.

Frequently Asked Questions

Can I make a line that goes diagonally across the page?

Yes. Use the Shapes tool and select the straight line option, then drag at any angle. You can also rotate a line after drawing it by right-clicking, selecting Format Shape, and adjusting the rotation angle in the panel that opens.

What's the difference between a line I draw and a border?

A drawn line floats over your text and stays in one spot even if you add or remove text above it. A border is attached to a paragraph or table, so it moves when the paragraph moves. Use borders for lines that should stay with specific content.

Can I make a line that's only one inch long?

Yes. Draw the line with Shapes, then right-click it and select Format Shape. In the panel on the right, look for the Size section and enter the exact width you want. You can also manually resize by dragging the handles at each end.

How do I add a line to every page of my document?

Double-click the top or bottom of any page to open the header or footer area, then draw your line there. Any line in the header or footer appears on every page automatically. Close the header by double-clicking the main document area.