The fastest way to add a horizontal line
The quickest method is to type three hyphens (---) on a blank line, then press Enter. Word automatically converts this into a solid horizontal line that spans the width of your page. This works in Word 2016 and later on both Windows and Mac.
If you want more control over the line's appearance — thickness, color, or style — use the Borders feature instead. Place your cursor where you want the line, go to the Home tab, click the Borders dropdown arrow (next to the paint bucket icon), and select Horizontal Line. You can then right-click the line to adjust its color, weight, and style.
Key Takeaways
- Type three hyphens on a blank line and press Enter to create an instant horizontal line without any menu navigation.
- The Borders feature gives you control over line thickness, color, and style if the automatic method does not match your needs.
- Horizontal lines created with hyphens are actual paragraph borders, not text or images, so they move with your document content.
- You can delete a line by selecting it and pressing Delete, or by removing the border through the Borders menu.
Using the automatic hyphen method
Word's automatic line feature recognizes three consecutive hyphens as a command to insert a border. Type the hyphens on their own line with nothing before or after them, then press Enter. The line appears instantly and spans the full width of your page margins.
This method works because Word treats the line as a paragraph border, not as text. If you later delete the line, the paragraph it was attached to remains. You can also use this same technique with other characters: three underscores (___) or three asterisks (***) create lines with slightly different appearances depending on your Word version.
Controlling line appearance with Borders
For a line that matches specific formatting needs, use the Borders tool. Click where you want the line to appear, then go to Home > Borders > Borders and Shading. In the dialog box, select Horizontal Line from the preset options, or choose Custom to set your own width, color, and style.
The Borders menu also lets you apply lines to specific parts of a table, around text boxes, or between sections of your document. Right-click any line you have created this way to open the Borders and Shading dialog again and make changes without deleting and recreating it.
Inserting a line using the Insert menu
Another approach is to use Insert > Shapes and select a line from the drawing tools. Click and drag to draw the line across your page. This method gives you the most flexibility — you can angle the line, make it shorter than the page width, or position it precisely.
Lines created this way are drawing objects, not paragraph borders, so they behave differently when you edit your document. They stay in a fixed position relative to the page rather than moving with text. Use this method when you need a decorative line or one that does not span the full width.
Removing or editing a line
To delete a line created with hyphens, click on it and press Delete. If that does not work, select the entire paragraph containing the line and go to Home > Borders > No Border. This removes the border formatting from that paragraph.
For lines created with the Borders tool, right-click the line and select Borders and Shading, then choose None. For lines drawn with Insert > Shapes, click the line once to select it and press Delete. Each method requires a slightly different removal step because each creates a different type of object in your document.
When to use each method
Use the three-hyphen method for speed and simplicity when you just need a standard line to separate sections. It requires no menu navigation and works consistently across different Word versions. Use the Borders feature when you need to match your document's color scheme or adjust line thickness. Use Insert > Shapes when you need a decorative line, want precise positioning, or need the line to be shorter than your page width.
The hyphen method is best for formal documents and reports where the line needs to look professional and standard. The Borders method works well for newsletters and styled documents where the line color matters. The Shapes method suits creative documents, flyers, or any design where the line is part of the visual layout rather than a functional separator.
Frequently Asked Questions
Why did my three hyphens not turn into a line?
Word's automatic line feature may be turned off in your settings. Go to File > Options > Proofing > AutoCorrect Options, then click the AutoFormat As You Type tab. Check that "Border lines" is enabled. If it is already checked, try typing the hyphens again on a completely blank line with no spaces before or after them.
Can I make a horizontal line a different color?
Yes, but only if you use the Borders feature or Insert > Shapes. Lines created with hyphens use your document's default border color. To change the color of a hyphen-created line, select it, go to Home > Borders > Borders and Shading, and choose a new color from the Color dropdown.
How do I make a line that does not span the full page width?
Use Insert > Shapes and select a line, then click and drag to draw it to the exact length you need. You can also place the line inside a table cell or text box to constrain its width. Lines created with hyphens or Borders always span the full width of the paragraph.
What is the difference between a line and a page break?
A horizontal line is a visual separator that stays on the same page as your content. A page break moves everything after it to a new page. Use a line to divide sections within a page; use a page break to start a new page.