Skip to content

How to Insert a Horizontal Line in Word: 3 Easy Methods

How to quickly get perfectly horizontal line in Word

Quick answer: You can insert a horizontal line in Word using Insert → Shapes → Line, the Home → Borders → Horizontal Line command where available, or the AutoFormat shortcut: type three hyphens on a blank paragraph and press Enter. The shortcut creates a paragraph border, not an independent line shape.

Method 1: Draw a movable horizontal line with Shapes

Use this method when you need a line that you can move, resize, recolor, or position independently of the text.

1. Select Insert > Shapes.

2. Under Lines, select the straight-line shape.

Word Insert Shapes menu showing the straight-line option

3. Drag to draw the line, holding Shift to constrain its angle. Release the mouse, then use Shape Format > Shape Outline to change the color or thickness.

Drawing a horizontal line shape in Word
Ms Word trick to draw horizontal line

Method 2: Insert the Horizontal Line command where available

Some desktop versions of Word include a Horizontal Line command in the Borders menu. If you do not see it, use Shapes or the paragraph-border shortcut instead.

1. Place the cursor in the paragraph where you want the divider.

2. On Home, open the Borders dropdown in the Paragraph group and select Horizontal Line, if available.

3. In versions supporting this command, double-click the divider to open Format Horizontal Line and adjust its dimensions, color, or alignment. This dialog does not apply to Shape lines or paragraph borders.

Format Horizontal Line dialog with width, height, color and alignment controls
Various formatting options for Horizontal Line

Method 3: Create a paragraph border with three hyphens

This is the quickest way to get a full width horizontal line in Word. This method creates a paragraph border rather than a drawing shape. You can adjust its border formatting, but you cannot drag it like an independent shape.

The shortcut depends on Word’s AutoFormat As You Type setting. If it does not work, follow these steps to enable Border lines in desktop Word for Windows.

Demonstration of typing three hyphens and pressing Enter to create a border
Quickest way to draw horizontal lines

On an otherwise empty paragraph, type — (three hyphens) and press Enter. Word may convert them into a bottom paragraph border. Other repeated characters may produce different border styles depending on the version.

To insert line using this method follow these steps

1. Start a new, empty paragraph where the line should appear.

2. Type three hyphens (—) and press Enter. The illustration shows other possible AutoFormat border patterns.

Illustration of repeated characters used for Word AutoFormat border styles
Ms Word’s special character to draw horizontal line

Enable Word option to draw line using Auto Format

To enable the above shortcut method,

1. Open File > Options > Proofing > AutoCorrect Options.

2. Select AutoFormat As You Type > Border lines and confirm with OK.

Word AutoFormat As You Type settings with Border lines option
Enable Word magical shortcut to draw horizontal line

Which Horizontal-Line Method Should You Choose?

Use Shapes when you need precise length, placement or rotation. Use the Horizontal Line command for a decorative divider where available. Use three hyphens followed by Enter for a quick paragraph border spanning the text area.

Format or Remove an Automatic Line

A line created by typing three hyphens is usually the bottom border of the paragraph above the visible line. Click in that paragraph and choose Home > Borders > No Border. If it persists, show paragraph marks (¶) to locate the paragraph carrying the border. Use Borders and Shading to adjust its appearance; you cannot drag it like a shape.

AutoFormat Shortcut Not Working?

In desktop Word for Windows, check File → Options → Proofing → AutoCorrect Options → AutoFormat As You Type → Border lines. The feature may behave differently in Word for Mac and Word for the web. To draw a perfectly horizontal shape, hold Shift while dragging the line.

Frequently Asked Questions

Why can’t I select or delete the line?

If it appeared after typing three hyphens, the line is a paragraph border, not a shape. Click in the paragraph above it and select Home > Borders > No Border.

How do I create a shorter line?

Choose Insert > Shapes > Line, hold Shift as you drag, and adjust the endpoints. A paragraph border normally spans the paragraph width between its indents.

For more positioning options, see our guide to horizontal and vertical lines in Word and PowerPoint.

Leave a Reply

Your email address will not be published. Required fields are marked *