The fastest way to delete a horizontal line in Word
A horizontal line in Word is usually a paragraph border — a formatting rule applied to a single paragraph rather than an actual drawn object. To remove it, click anywhere on the line to place your cursor in that paragraph, then go to the Home tab, find the Borders button (it looks like a small square with lines), click the dropdown arrow next to it, and select No Border.
If that does not work, the line might be a shape or text box instead. Click directly on the line itself — if you see selection handles (small squares) around it, press Delete. If clicking the line does nothing, try clicking slightly above or below it to select the paragraph, then repeat the border-removal steps above.
Word sometimes creates a line automatically when you type three or more hyphens, underscores, or equal signs in a row and press Enter. If you see a line appear right after typing, press Ctrl+Z immediately to undo it, or delete the line using the border method.
Key Takeaways
- Most horizontal lines in Word are paragraph borders, not drawn objects, so you remove them through the Home tab Borders menu.
- Click anywhere in the paragraph containing the line, open Borders, and select No Border to remove it.
- If the line has selection handles around it, it is a shape or text box — click it and press Delete instead.
- Word auto-generates lines when you type three or more dashes or underscores in a row; press Ctrl+Z immediately to undo.
Removing a paragraph border line
The most common horizontal line in Word is a paragraph border — formatting attached to a paragraph rather than a separate object. This line sits directly above or below the text and spans the width of the paragraph.
To remove it: click anywhere inside the paragraph that has the line. You do not need to select the entire paragraph, just place your cursor in it. Then go to the Home tab at the top of the ribbon. 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 dropdown menu. Select No Border from the list. The line disappears immediately.
If you want to remove the border from multiple paragraphs at once, select all of them first (click at the start of the first paragraph, hold Shift, and click at the end of the last one), then follow the same Borders menu steps.
Deleting a line that is a shape or text box
Sometimes a horizontal line is not a border but a shape — a drawn object that Word treats like a picture or text box. These lines look similar to borders but behave differently.
To tell the difference, click directly on the line itself. If selection handles (small squares at the corners and edges) appear around it, it is a shape. Press Delete and it will disappear. If no handles appear and nothing happens when you click, the line is a border, not a shape — use the border-removal method instead.
If you have trouble clicking the line, try clicking just above it or just below it. Sometimes Word makes the clickable area slightly offset from where the line visually appears.
Stopping Word from creating automatic lines
Word has an AutoFormat feature that automatically converts certain typing patterns into formatted lines. If you type three or more hyphens (---), underscores (___), or equal signs (===) in a row and press Enter, Word converts that line into a paragraph border.
If this happens, press Ctrl+Z immediately to undo the automatic formatting. The line will disappear and your typed characters will reappear. If you did not catch it right away, you can still delete the line using the border-removal method described above.
To turn off this automatic behavior permanently, go to File > Options > Proofing > AutoCorrect Options. Click the AutoFormat As You Type tab and uncheck the box next to Borders. Click OK twice. Word will no longer create lines automatically, though you can still add them manually if you need them.
Removing lines from headers, footers, or tables
Horizontal lines sometimes appear in headers or footers — the areas at the top and bottom of each page. To remove a line from a header, double-click in the header area (near the top of the page) to enter header-editing mode. Then use the same border-removal steps: click in the paragraph with the line, go to Home > Borders, and select No Border. Double-click outside the header area when you are done.
If a line appears inside a table, click in the cell or row containing the line. Go to Table Design (or Design under Table Tools), find the Borders button, and select the option that removes the border you want gone. You can remove individual cell borders, entire rows, or all borders at once depending on what you select.
When a line will not delete
If a line persists after you try to delete it, it might be part of a page border rather than a paragraph border. Page borders apply to the entire page or section. To remove it, go to Design (or Page Layout in older Word versions) > Page Borders. In the dialog box that opens, select None under Settings and click OK.
Another possibility is that the line is a section break or part of a template. If you inherited the document from someone else or downloaded it from a template, the line might be locked or part of the document's underlying structure. Try selecting the entire paragraph and copying it to a new blank document — this often strips away hidden formatting. If the line still appears, it may be intentional to the document's design and you may need to contact whoever created the template.
Frequently Asked Questions
Why does a line appear every time I type three dashes?
Word's AutoFormat feature converts three or more hyphens, underscores, or equal signs into a paragraph border automatically. Press Ctrl+Z right away to undo it, or turn off AutoFormat in File > Options > Proofing > AutoCorrect Options > AutoFormat As You Type, then uncheck Borders.
I clicked the line but nothing happened. How do I select it?
Try clicking slightly above or below the line rather than directly on it — Word sometimes makes the clickable area offset. If it still does not select, the line is a paragraph border, not a shape. Use the Home > Borders menu to remove it instead.
The line is in my header. Do I delete it differently?
Double-click in the header area at the top of the page to enter header-editing mode, then use the same Home > Borders method. Double-click outside the header when done. If the line spans the entire page width, it might be a page border instead — check Design > Page Borders.
I removed the border but the line is still there. What else could it be?
The line might be a page border (go to Design > Page Borders and select None) or a shape with selection handles (click it and press Delete). If neither works, try copying the paragraph to a new blank document — this strips away hidden formatting that might be causing the line.
Can I remove just one line from a table without removing all the borders?
Yes. Click in the cell or row with the line you want to remove. Go to Table Design > Borders and select the specific border option that removes only that line — you can choose top, bottom, left, right, or combinations. This lets you keep other borders while removing just the one you need gone.