How to remove all horizontal lines from a Word document?
Horizontal lines can divide paragraphs clearly. Many users add them by typing three hyphens, underscores, or asterisks and pressing Enter, as shown below.
However, removing these lines can sometimes be tricky. This guide will show you different methods to quickly remove all horizontal lines from your document.
Manually remove all horizontal lines one by one
If you only need to remove a few horizontal lines, follow these steps:
- Place the cursor above the horizontal line.
- Click Page Borders in the Page Background group under the Design tab.
- In the Borders and Shading dialog box, go to the Borders tab, select None, and click OK. The horizontal line will be removed.
Remove all horizontal lines with Kutools for Word
The easiest way to remove all horizontal lines from a document or a selected section is by using Kutools for Word.
- To remove all horizontal lines from the entire document, click Kutools > Remove > Horizontal Line.
- To remove horizontal lines from a specific section, select the section first, then apply the same feature.
All horizontal lines in the document will be removed instantly.

Remove all horizontal lines with VBA code
Manually removing multiple horizontal lines can be time-consuming. You can use VBA to remove all horizontal lines in one step:
- Press Alt + F11 to open the VBA editor.
- Click Module under the Insert tab and paste the following code into the module window:
Sub removehline() Dim ils As Paragraph For Each ils In ActiveDocument.Paragraphs ils.Borders(wdBorderBottom).LineStyle =wdLineStyleNone Next ils End Sub
- Click Run or press F5 to execute the code. All horizontal lines will be removed.
Demo: Remove all horizontal lines in Word
Discover the Kutools / Kutools Plus tab in this video from Kutools for Word. Enjoy 100+ features and permanently free AI utilities. Download now!
Best Office Productivity Tools
Kutools for Word - Elevate Your Word Experience with Over 100 Remarkable Features!
π€ Kutools AI Features: AI Assistant / Real-Time Assistant / Super Polish (Preserve Format) / Super Translate (Preserve Format) / AI Redaction / AI Proofread...
π Document Mastery: Split Pages / Merge Documents / Export Selection in Various Formats (PDF/TXT/DOC/HTML...) / Batch Convert to PDF...
β Contents Editing: Batch Find and Replace across Multiple Files / Resize All Pictures / Transpose Table Rows and Columns / Convert Table to Text...
π§Ή Effortless Clean: Sweap away Extra Spaces / Section Breaks / Text Boxes / Hyperlinks / For more removing tools, head to the Remove group...
β Creative Inserts: Insert Thousand Separators / Check Boxes / Radio Buttons / QR Code / Barcode / Multiple Pictures / Discover more in the Insert group...
π Precision Selections: Pinpoint Specific Pages / Tables / Shapes / Heading Paragraphs / Enhance navigation with more Select features...
β Star Enhancements: Navigate to Any Location / Auto-Insert Repetitive Text / Toggle Between Document Windows / 11 Conversion Tools...
π Supports 40+ Languages: Use Kutools in your preferred language β supports English, Spanish, German, French, Chinese, and 40+ others!

Best Office Productivity Tools
Kutools for Word - 100+ Tools for Word
- π€ Kutools AI Features: AI Assistant / Real-Time Assistant / Super Polish / Super Translate / AI Redaction / AI Proofread
- π Document Mastery: Split Pages / Merge Documents / Batch Convert to PDF
- β Contents Editing: Batch Find and Replace / Resize All Pictures
- π§Ή Effortless Clean: Remove Extra Spaces / Remove Section Breaks
- β Creative Inserts: Insert Thousand Separators / Insert Check Boxes / Create QR Codes
- π Supports 40+ Languages: Kutools speaks your language β 40+ languages supported!