The fastest way to delete a horizontal line

Click directly on the line itself — not above or below it, but on the line — and press Delete or Backspace. That removes it. If the line is thin or hard to click, triple-click on the paragraph above it instead, which selects the whole paragraph, then press Delete.

If neither of those works, the line is probably an automatic border that Word added to a paragraph. In that case, select the paragraph, go to the Home tab, click the Borders button (it looks like a small square with lines around it), and choose "No Border".

Most horizontal lines in Word fall into one of three categories: drawn shapes, paragraph borders, or table lines. The method depends on which one you have. The steps below cover each type.

Key Takeaways

  • A line you can click on is usually a drawn shape or text box — select it and press Delete.
  • A line that appears under or above a paragraph is a border — select the paragraph and remove the border from the Home tab.
  • A line inside a table is part of the table structure — right-click it and choose to remove that specific border.
  • If you cannot select the line, it may be a page break or section break — check the paragraph marks by pressing Ctrl+* (Windows) or Cmd+8 (Mac).

Removing a line you can click and drag

If you can click on the line and see selection handles (small squares) around it, it is a drawn shape. Click once on the line to select it, then press Delete or Backspace.

Drawn lines appear when someone used the Insert menu to add a shape, or when they drew a line freehand using the drawing tools. They sit on top of your text rather than being part of the paragraph formatting. Once selected, they delete like any other object.

If the line is part of a text box (a rectangle with text inside), click the border of the text box itself, not the text, then delete it. Deleting the text inside will not remove the box.

Removing a paragraph border that looks like a line

If the line runs the full width of the page or sits directly above or below a paragraph, it is almost certainly a paragraph border. Select the paragraph by clicking anywhere inside it, then go to the Home tab at the top.

Look for the Borders button — it is in the Paragraph section and shows a small square with lines around it. Click the small arrow next to it to open the menu, then select "No Border". The line disappears.

If you want to remove the border from multiple paragraphs at once, select all of them first (click in the first paragraph, hold Shift, and click in the last one), then remove the border the same way.

Removing lines inside a table

If the line is inside a table, right-click directly on the line. A menu appears with options for borders. Choose the option that removes that specific border — usually something like "Remove Border" or "No Border".

If you want to remove all borders from the table, select the entire table by clicking in it and pressing Ctrl+A (Windows) or Cmd+A (Mac), then right-click and choose "Borders and Shading". Select "None" to remove all lines.

When the line will not select or delete

If you cannot click on the line or it does not disappear when you press Delete, it may be a page break or section break. Press Ctrl+* (Windows) or Cmd+8 (Mac) to show paragraph marks and hidden formatting. A page break appears as a dotted line labeled "Page Break", and a section break shows "Section Break".

To remove a page break, click on it and press Delete. To remove a section break, click on it and press Delete — but be aware that deleting a section break can change the formatting of the pages around it, so undo (Ctrl+Z) if that happens and check what formatting was attached to that section.

If the line is still there after trying all these steps, it may be a header or footer line. Click in the header or footer area at the top or bottom of the page, select the line, and delete it the same way.

Lines that reappear after you delete them

If a line keeps coming back, Word is probably set to add it automatically. This happens when a paragraph style has a border built into it. Select the paragraph, go to Home, and click the Styles button (usually on the right side of the ribbon). Right-click the style name and choose "Modify". Go to Format at the bottom of the dialog, select Borders, and change it to "None", then click OK.

Another reason a line reappears is if it is part of a template or theme. If you are using a template with built-in formatting, the line may be tied to the document design itself. In that case, you can remove it from this document only by selecting the paragraph and applying a different style that does not have a border.

Frequently Asked Questions

Why does a horizontal line appear when I type three hyphens and press Enter?

Word automatically converts three or more hyphens (---) into a line as a formatting shortcut. To undo this, press Ctrl+Z immediately after it happens. To turn off this feature, go to File, then Options, then Proofing, then AutoCorrect Options, and uncheck "Hyphens with Hyphens" under the AutoFormat tab.

Can I delete just part of a line, or does the whole thing have to go?

If it is a drawn line or shape, you can resize it by dragging the handles, but you cannot delete part of it. If it is a paragraph border, the border applies to the entire paragraph width. To have a shorter line, you would need to draw a new shape line instead.

I deleted the line but the space it took up is still there. How do I remove that too?

If a paragraph border is gone but there is still extra space, select the paragraph and go to Home, then Paragraph (the small arrow in the Paragraph section). Adjust the spacing before and after the paragraph to zero or your preferred amount.

What if the line is in a header or footer and I cannot click on it?

Double-click at the very top or bottom of the page to enter header or footer editing mode. Once you are in that area, you should be able to select and delete the line. Press Escape or double-click in the main document to exit header/footer mode.