Skip to content
DocumentTaskLab

Word tasks · Layout

Insert a horizontal line in Word and Google Docs

Written November 23, 2026

A horizontal line separates a title from the body, a form section from the next one, or a signature block from the terms above it — in seconds, with no drawing tools. This guide covers the fast typed line in Word, the built-in line in Google Docs, the paragraph border to use when you need real control over weight and color, and how to remove a line Word created on its own.

The fast line in Word

The quickest divider in Word is typed, not inserted. Microsoft describes this route in its help on adding a horizontal line: put the cursor on its own line, type three characters, and press Enter. Word converts them into a line that stretches across the page width.

  1. Click on an empty paragraph. Place the cursor at the start of a blank line where the divider should sit, between the paragraphs it separates.
  2. Type three dashes and press Enter. Type --- and press Enter for a plain single line. Other triples give other styles: === for a double line, *** for a dotted line, ___ for a bold line, ### for a triple line, and ~~~ for a wavy line.
  3. Keep typing below it. Word starts a new paragraph under the line. The line itself is a border on the paragraph above it, which is why the removal steps below work the way they do.
Know what you just made

A typed line is not a picture or a drawing object — you cannot click it and drag it. It is a bottom border attached to a paragraph, so it moves when that paragraph moves and it is changed or removed through Borders, not through the line itself. If you need to click and position a line freely, use Insert > Shapes > Line instead, and accept that it will not reflow with the text.

Insert a line in Google Docs

Google Docs has a dedicated command, so there is no typing trick to remember.

  1. Place the cursor where the line goes. Click at the end of the paragraph above the break, or on a blank line of its own.
  2. Choose Insert > Horizontal line. A gray line appears across the full width of the text area at the cursor.
  3. Adjust the spacing around it. The line takes the paragraph spacing of its surroundings. To add air above or below, click in the neighboring paragraphs and adjust Format > Line & paragraph spacing, rather than adding strings of empty paragraphs.
  4. Delete it like a character. Click just after the line and press Backspace, or just before it and press Delete. A Docs horizontal line behaves like a large character in the text flow.

Use a paragraph border for a line you control

When the line needs a specific color, weight or style — a brand color under a heading, a heavier rule above a signature block — skip the typing trick and add a bottom border directly. This is the same family of settings as page borders, applied to one paragraph instead of the page.

  1. Select the paragraph the line sits under. Click anywhere in the paragraph above where the line should appear — for a heading divider, click in the heading itself.
  2. Open Home > Borders > Borders and Shading. The Borders button is in the Paragraph group on the Home tab. Choose Borders and Shading at the bottom of its menu.
  3. Set style, color and width, then click the bottom edge. On the Borders tab, pick a Style, Color and Width, then click the bottom edge of the Preview diagram so only that edge is bordered. Leave Apply to on Paragraph.
  4. Select OK and check the gap. The line hugs the paragraph. If it sits too close to the text, use the Options button in the dialog to add a few points of spacing between the text and the border.

In Google Docs, the equivalent control is a paragraph border: select the paragraph, open Format > Paragraph styles > Borders and shading, and enable only the bottom border with the width, color and padding you want.

Remove a line, including an automatic one

The line people cannot delete is almost always the automatic one: you typed three dashes for emphasis, pressed Enter, and Word replaced them with a border you never asked for. Because it is a border, selecting the line and pressing Delete does nothing.

  1. Undo it immediately, if you just typed it. Press Ctrl+Z right after the line appears and the three characters come back. An AutoCorrect Options button also appears near the line, offering Undo Border Line and Stop Automatically Creating Border Lines.
  2. Remove it later through Borders. Click in the paragraph directly above the line, then choose Home > Borders > No Border. The line disappears and the paragraph text stays.
  3. Turn the feature off for good. In Word for Windows, go to File > Options > Proofing > AutoCorrect Options, open the AutoFormat As You Type tab, and clear Border lines under Apply as you type. Typed triples then stay as plain characters.

End state

When it goes wrong

Related document tasks

Sources