How to Remove a Line in a Word Document
Lines in Microsoft Word can appear in several different ways — and that's exactly why removing them trips people up. What looks like a simple horizontal line might actually be a paragraph border, an AutoFormat artifact, a drawn shape, or even a table element. Knowing which type you're dealing with determines how you remove it.
Why Lines in Word Are Harder to Delete Than They Look
If you've ever clicked on a line in Word and hit Delete only to have nothing happen, you've already discovered the core problem: not all lines are the same object.
Word documents can contain at least four distinct types of lines:
- AutoFormat border lines — created automatically when you type three or more hyphens, underscores, asterisks, or equal signs and press Enter
- Paragraph border lines — applied through the Borders and Shading settings in paragraph formatting
- Drawn lines and shapes — inserted manually via Insert > Shapes
- Table borders — visible lines that form or divide table cells
Each type requires a different removal method. Trying the wrong one wastes time and can leave the line completely untouched.
Removing AutoFormat Lines (The Most Common Culprit)
When you type --- or === and press Enter, Word's AutoCorrect feature converts that into a full-width horizontal border. This is one of the most frequently encountered "mystery lines" because it doesn't behave like a normal object — you can't simply click and delete it.
To remove an AutoFormat line:
- Click on the paragraph directly above the line (the line is technically a bottom border on that paragraph)
- Go to Home → Paragraph section → click the dropdown arrow next to the Borders button (it looks like a square divided into four)
- Select No Border
The line disappears because you've removed the paragraph border formatting, not deleted a separate object.
Alternative method using Clear Formatting:
- Click the paragraph above the line
- Press Ctrl + Q to clear paragraph formatting, or use Home → Clear All Formatting
Note that Ctrl + Q removes all paragraph-level formatting from that paragraph, not just the border — so use it with awareness if you have intentional formatting in place.
Removing Paragraph Border Lines
Borders applied deliberately through Format settings work the same way as AutoFormat lines — they're paragraph properties, not independent objects.
To remove them:
- Select the paragraph that has the border
- Go to Home → Borders dropdown → No Border
Or use the full menu:
- Home → Borders dropdown → Borders and Shading
- In the dialog box, select None under the Setting column
- Click OK
This approach gives you more control, especially when a paragraph has borders on only some sides (top, bottom, left, or right) and you only want to remove one of them.
Removing Drawn Lines and Shape Objects
Lines inserted via Insert → Shapes are actual graphic objects floating in the document. These behave differently — you can click them directly.
To remove a drawn line:
- Click directly on the line — a selection handle should appear at each end
- Press Delete or Backspace
If you're having trouble clicking a thin line, try using Edit → Find & Replace or the Selection Pane (found under Home → Editing → Select → Selection Pane) to locate and select all shapes in the document.
🖱️ The Selection Pane is especially useful in documents with multiple overlapping objects where clicking precisely is difficult.
Removing Table Borders
If a line is part of a table — even an invisible or borderless table — you won't be able to delete it like a shape or clear it like a paragraph border.
To remove table borders:
- Click inside the table
- Go to the Table Design tab (appears when a table is selected)
- Use Borders → No Border to remove all visible borders
Alternatively, if you want to remove the table entirely:
- Click inside the table
- Go to Table Layout → Delete → Delete Table
A single-cell table with no visible borders is a common way Word documents end up with "mystery lines" that seem impossible to select or remove.
Preventing AutoFormat Lines From Appearing
If you want to stop Word from converting --- into a border line automatically:
- Go to File → Options → Proofing → AutoCorrect Options
- Click the AutoFormat As You Type tab
- Uncheck Border lines under "Apply as you type"
This stops the behavior at the source. ✅
How the Right Method Depends on Your Situation
| Line Type | How It Appears | Removal Method |
|---|---|---|
| AutoFormat border | After typing ---, ===, ___ + Enter | Remove paragraph bottom border |
| Paragraph border | Via Borders & Shading settings | Borders → No Border |
| Drawn shape | Inserted via Insert → Shapes | Click + Delete |
| Table border | Surrounding or dividing table cells | Table Design → No Border |
The version of Word you're using — desktop (Microsoft 365, Word 2019/2021), Word for Mac, or Word Online — can slightly change where these menu options live, though the underlying logic stays consistent across versions. Word Online has more limited border controls compared to the desktop application, which is worth keeping in mind if the expected menus aren't appearing where you'd expect them.
The method that works cleanly in one document may behave differently in another depending on how the document was originally created, whether it was converted from another format like PDF or Google Docs, and what styles or templates are active. That context shapes which approach will actually resolve the problem in your specific file.