To delete a horizontal line across the page in Microsoft Word, you need to identify whether the line is a border, an AutoFormat drawing, or a shape—and then remove it using the appropriate method. Most lines inserted automatically (e.g., by typing three hyphens and pressing Enter) are borders applied to the paragraph; others may be inserted as shapes or borders from table cells. No special tools or add-ins are required—just Word itself and basic navigation skills.
What You'll Need
- Microsoft Word (any modern version: Word 2010, 2013, 2016, 2019, 2021, Microsoft 365)
- A document containing the horizontal line
- Mouse or keyboard for navigation
Step-by-Step
- Identify the line type first. Hover your mouse cursor just above the line. If a small arrow or paragraph symbol appears, it’s likely a paragraph border. If nothing appears, try double-clicking the line—if it selects a shape, it’s a drawing object. If the line appears only within a table cell, it’s likely a table border.
- For paragraph borders (most common case): Place your cursor on the line itself or on the blank paragraph directly above it. Go to the Home tab on the Ribbon. In the Paragraph group, click the small arrow in the bottom-right corner (the Paragraph Settings dialog launcher). In the dialog box, click the Borders button at the bottom. Choose No Border, then click OK. The line disappears.
- Alternative for paragraph borders (faster): With your cursor on or near the line, go to Home > Paragraph group > click the Borders dropdown (the icon with a square and dashed lines). Select No Border from the list. Again, the line should vanish.
- For a line inserted as a shape: Click directly on the line. If it’s selected with sizing handles (small squares around its edges), press the Delete or Backspace key on your keyboard. If it doesn’t select easily, try Ctrl + A to select all, then click the line again—sometimes hidden layers obscure selection.
- For lines inside tables: Click anywhere inside the table row or cell containing the line. Go to the Table Design tab (appears when a table is selected). In the Borders panel, click the Borders dropdown and choose No Border. Alternatively, select the specific row/cell and use the same dropdown to remove only top, bottom, or horizontal borders.
- If the line persists after deletion, check if it’s part of a header or footer. Double-click the top or bottom margin area to enter header/footer editing mode. Look for the line there—delete it the same way (using borders or Delete key for shapes), then click Close Header and Footer or press Esc to exit.
Common Mistakes
- Deleting the wrong paragraph: Typing three underscores, equals signs, or hyphens and pressing Enter creates a border *on the paragraph below*, not the line itself. Deleting the line text won’t remove the border—you must apply No Border to that paragraph.
- Missing header/footer lines: Lines in headers or footers behave like正文 lines but live in a separate editing zone. Forgetting to open header/footer editing leads to repeated failed attempts.
- Confusing lines with text characters: A row of underscores like
_________is text, but Word often auto-converts it to a border. If you delete the underscores but the line remains, it’s now a border, not text—use the border method. - Editing only part of a multi-page header/footer: Headers/footers may differ by section. If the line reappears on the next page, check Section Breaks (View > Navigation Pane > check for section markers) and edit each header/footer separately.
Tips
- Use Show/Hide (¶) to troubleshoot: Press Ctrl + Shift + 8 (or click the paragraph symbol in the Home tab). This reveals hidden formatting marks—paragraph borders often show as a thin line with a “¶” above it.
- Prevent accidental lines: If you frequently trigger this, disable AutoFormat: File > Options > Proofing > AutoCorrect Options > AutoFormat As You Type tab > uncheck Border lines.
- Use the Navigation Pane to locate hidden lines: Press Ctrl + F, type nothing, and click Navigation Pane. In the pane, click the Find tab, then click the downward arrow next to Find All and select Shapes or Frames to see all objects, including lines.
- For repeated use, create a quick-access button: Right-click the Ribbon > Customize the Ribbon > Main Tabs > Home > New Group. Then add the Borders command for faster access.
Troubleshooting
- “Delete key doesn’t work on the line”: It’s likely not a shape—it’s a border. Use the Home tab > Borders dropdown > No Border instead.
- “Line reappears after deletion”: Check for section breaks. Go to View > Navigation Pane, then click the Page Layout tab and check Section Breaks. Switch to Draft view (View > Draft) to see section markers clearly. Delete or edit each section’s header/footer individually.
- “No paragraph symbol appears when hovering”: Try selecting the entire paragraph above the line and apply No Border—sometimes the border is attached to the previous paragraph.
- “The line is part of a table border but borders menu is grayed out”: Ensure the table is selected (click the small square in the top-left corner of the table). If not, click inside a cell and wait for the Table Design tab to appear.
- “Line is visible but not selectable”: It may be locked in a text box or shape. Right-click the area and choose Bring to Front or Send to Back to reveal overlapping objects. If still stuck, use Ctrl + A (Select All), then press Alt + F10 to force focus on drawing objects, then press Delete.
Frequently Asked Questions
Why does typing three hyphens create a line in Word?
Word’s AutoFormat feature interprets three hyphens, underscores, equals signs, or asterisks followed by Enter as a request for a horizontal border. This is a legacy convenience feature from older Word versions and can be disabled in AutoCorrect settings.
Can I delete the line without affecting other formatting?
Yes. Using Home > Borders > No Border removes only the border line and leaves font, spacing, and indentation intact. Deleting a shape line also won’t affect surrounding text unless the shape is inline.
What if the line only shows in Print Layout view but not in Draft view?
That’s normal—Draft view simplifies visuals and hides many borders and shapes. If it disappears in Draft view but not Print Layout, it’s still there and must be removed using the same methods. Use Alt + Ctrl + P to toggle Print Layout view quickly.
How do I remove a line from only one page?
Insert a section break before and after the page (Layout > Breaks > Next Page). Then edit the header/footer or apply borders only to paragraphs on that page. Section breaks isolate formatting, so changes won’t affect adjacent pages.
Is there a keyboard shortcut to remove borders?
Not a single shortcut, but you can use: Alt + H + B + N (Home tab > Borders dropdown > No Border). Or Alt + H + P + S to open the Paragraph Settings dialog, then B for Borders, N for No Border, and Enter.
Can I replace the line with a custom one later?
Yes. Go to Home > Borders > Border Properties to choose line style, color, and weight, then apply it. For shapes, use Insert > Shapes > Line, then draw it manually. This gives full control over appearance.