How to Insert a Horizontal Line Without the Auto-Format Trick
🔍 WiseChecker

How to Insert a Horizontal Line Without the Auto-Format Trick

You need a horizontal line in your Word document, but the automatic line that appears when you type three dashes or underscores is not what you want. That auto-format shortcut creates a bottom border on the paragraph above, not a true horizontal line shape. This article explains how to insert a proper horizontal line using the Borders and Shading tool, the Shape tool, and the horizontal line character. You will learn to control the line’s thickness, color, and alignment without relying on Word’s automatic formatting.

Key Takeaways: Insert a Horizontal Line With Full Control

  • Home > Paragraph > Borders > Horizontal Line: Inserts a true line object that can be resized and recolored.
  • Insert > Shapes > Line: Draws a freeform horizontal line with exact control over length, angle, and style.
  • Auto-Format As You Type > Border Lines: Disable this setting in File > Options > Proofing > AutoCorrect Options to stop unwanted automatic lines.

How Word’s Auto-Format Horizontal Line Works and Why It Causes Problems

Word’s AutoFormat As You Type feature converts three consecutive dashes, underscores, equal signs, tildes, asterisks, or number signs into a bottom border on the paragraph directly above the typed characters. This border stretches the full width of the text area and cannot be resized with handles like a shape. The line inherits the paragraph’s style and spacing. If you later delete the paragraph above, the line disappears. Many users find this behavior confusing because the line looks like a separate object but behaves like formatting. The auto-format line also cannot be moved independently or given a specific color without changing the paragraph border settings.

Insert a Horizontal Line Using Borders and Shading

The Borders and Shading tool inserts a horizontal line that is a true paragraph border. You can adjust its width, color, and placement relative to the text. This method works best when you want the line to span the entire page width and remain attached to a paragraph.

  1. Place the cursor where you want the line
    Click on a blank line or at the end of a paragraph where the line should appear below the text.
  2. Open the Borders and Shading dialog
    Go to Home > Paragraph and click the small arrow in the bottom-right corner of the Paragraph group. In the dialog that opens, click the Borders tab. Alternatively, click the Borders button directly in the Paragraph group and select Borders and Shading at the bottom of the menu.
  3. Select a bottom border
    Under Setting, click Custom. In the Preview section, click the bottom border button to apply a line below the paragraph. Choose a Style, Color, and Width from the dropdowns. The default width is 1 pt. For a thicker line, select 3 pt or 6 pt.
  4. Apply to the correct scope
    In the Apply to dropdown, select Paragraph. Click OK. A horizontal line appears directly below the paragraph where your cursor was placed.

Insert a Horizontal Line Using the Horizontal Line Shape

Word includes a dedicated horizontal line shape in the Borders menu. This shape is a separate object that can be selected, moved, resized, and formatted independently from the surrounding text. It is the best choice when you need a line that is not tied to a paragraph.

  1. Click where you want the line
    Place the cursor on a blank line or between paragraphs.
  2. Open the Borders menu
    Go to Home > Paragraph and click the Borders button (the icon that looks like a four-sided square divided into four quadrants).
  3. Choose Horizontal Line
    From the dropdown menu, select Horizontal Line. Word inserts a thin gray line that spans the width of the text area.
  4. Format the line
    Click the line to select it. Right-click and choose Format Horizontal Line. In the dialog, change the width, height, color, and alignment. Height controls the thickness. For a 2-point thick red line centered on the page, set Height to 2 pt, Color to Red, and Alignment to Center. Click OK.

Insert a Horizontal Line Using the Shapes Tool

The Shapes tool gives you the most control over a horizontal line. You can draw a line at any angle, change its length precisely, and apply advanced formatting such as shadows or gradients. This method is ideal for lines that need to be positioned exactly, such as above a signature block or between two columns.

  1. Open the Shapes gallery
    Go to Insert > Illustrations > Shapes. Under Lines, click the first option: Line (a straight diagonal line icon).
  2. Draw the line
    Click and hold the left mouse button where you want the line to start. Drag horizontally to the right. Hold the Shift key while dragging to constrain the line to a perfect 0-degree horizontal angle. Release the mouse button and then release the Shift key.
  3. Adjust the line length and position
    Click the line to select it. Drag the circular handles at either end to change the length. Drag the whole line by clicking and dragging its middle section to reposition it.
  4. Format the line style
    With the line selected, go to Shape Format > Shape Styles. Click the Shape Outline dropdown to change the color, weight thickness, and dash style. To make the line dashed, select Dashes and choose a pattern. To add an arrowhead, select Arrows.

Common Mistakes When Inserting Horizontal Lines

The line disappears when I delete the paragraph above it

This happens when you used the auto-format trick three dashes method. The line is a bottom border of the paragraph above. Deleting that paragraph removes the line. To keep the line independent, use the Horizontal Line shape from the Borders menu or the Shapes tool instead.

The line does not appear when I print or export to PDF

A horizontal line created with the Borders and Shading bottom border may not print if the border is set to a color that is too light or if the printer settings suppress background colors and images. Check that the line color is dark enough and that Print background colors and images is enabled in File > Options > Display.

I cannot select or move the line

If you used the auto-format trick, the line is not a selectable object. You must delete the border and insert a proper line using one of the methods above. To remove an auto-format line, place your cursor in the paragraph above the line, go to Home > Paragraph > Borders, and select No Border.

Horizontal Line Methods Compared

Item Auto-Format Trick Borders and Shading Horizontal Line Shape Shapes Tool Line
Insertion method Type three dashes then Enter Home > Paragraph > Borders > Borders and Shading Home > Paragraph > Borders > Horizontal Line Insert > Shapes > Line, drag horizontally
Selectability Not selectable as an object Not selectable as an object Selectable as an object Selectable as an object
Move independently No No Yes, drag with mouse Yes, drag with mouse
Change thickness Via paragraph border settings Via border width dropdown Via Format Horizontal Line dialog Via Shape Outline > Weight
Change color Via border color settings Via border color dropdown Via Format Horizontal Line dialog Via Shape Outline > color picker
Remove without deleting text Remove paragraph border Remove paragraph border Select line and press Delete Select line and press Delete

You can now insert a horizontal line in Word using the Borders and Shading dialog, the Horizontal Line shape, or the Shapes tool. Each method gives you control over thickness, color, and alignment. To stop the auto-format line from appearing in the future, disable the Border Lines option in File > Options > Proofing > AutoCorrect Options > AutoFormat As You Type. For a vertical separator line between columns, use the same Shapes tool but drag vertically while holding Shift.