Skip to content
Microsoft OfficeIntermediate

How to Insert Horizontal Lines in Microsoft Word – Keyboard Shortcuts, Formatting, Removal & Troubleshooting

Horizontal lines are a simple but very useful formatting feature in Microsoft Word. They can be used to separate sections, divide topics, create professional...

BI
Bison Technical Team Enterprise IT specialists
Updated 12 Feb 2026 12 min read 257 total views
Structured technical guidanceSafety notes included where requiredSources listed below

Horizontal lines are a simple but very useful formatting feature in Microsoft Word. They can be used to separate sections, divide topics, create professional document layouts, distinguish headings from body text, or improve the readability of reports, letters, manuals, proposals, and other documents.

Microsoft Word provides several methods for inserting horizontal lines. The fastest method is to type certain characters three times and press Enter. However, Word also provides Borders and Shapes tools when you need more control.

Advertisement

An important point many users do not realize is that a horizontal line automatically created by Word is normally not a drawing object. Word creates it as a border attached to a paragraph. This explains why such a line can sometimes be confusing to select, move, edit, or delete.


What Is a Horizontal Line in Microsoft Word?

A horizontal line is a visual divider extending across part or all of the available width of a document.

It can be useful for:

  • Separating different sections
  • Dividing headings from content
  • Creating professional reports
  • Formatting business letters
  • Separating notes or instructions
  • Designing forms
  • Creating signature areas
  • Improving document readability
  • Organizing long documents
  • Creating visual breaks between topics

Word provides different ways to create these lines depending on whether you need speed, precise formatting, positioning, or a fixed-length line.


Method 1: Insert a Horizontal Line Using Keyboard Shortcuts

This is generally the fastest method.

Place the cursor on a blank line where you want the horizontal rule.

Type three identical shortcut characters and press:

Enter

Word automatically converts the characters into a horizontal border.

Common Horizontal Line Shortcuts

Type Characters to Type General Appearance
Standard line --- Simple horizontal line
Double line === Double horizontal line
Heavier/decorative line *** Decorative/heavier border style
Thick line ___ Thick horizontal line
Wavy line ~~~ Wavy horizontal line
Decorative line ### Multiple/decorative border style

The exact appearance can vary slightly depending on the Word version, theme, document formatting, and environment.


Example: Creating a Standard Horizontal Line

Type:

---

Then press Enter.

Word converts the characters into a horizontal line extending across the available paragraph width.

This is one of the quickest ways to create a separator in a Word document.


Important: The Automatic Line Is Actually a Paragraph Border

This is one of the most important things to understand about this feature.

When you type something such as:

---

and press Enter, Word does not simply replace those characters with a graphical line.

Instead, Word applies a bottom border to the paragraph.

Therefore, you may not be able to select the line in the same way you select a picture, shape, or drawing object.

This is also why repeatedly pressing Delete or Backspace sometimes does not remove it.


How to Cancel an Automatic Horizontal Line Immediately

Suppose you type:

---

and press Enter accidentally.

Immediately press:

Backspace

Word can undo the automatic border conversion while retaining your typed characters.

You can also use:

Ctrl + Z

to undo the automatic formatting.


Method 2: Insert a Horizontal Line Using the Borders Menu

If you do not want to use keyboard shortcuts, you can use Word's Borders controls.

Steps

  1. Place the cursor where you want the line.
  2. Open the Home tab.
  3. Locate the Paragraph group.
  4. Find the Borders button.
  5. Click the drop-down arrow beside Borders.
  6. Choose the appropriate border or horizontal-line option available in your Word version.

Using paragraph borders is particularly useful when you want the line to remain associated with a paragraph.


Method 3: Customize a Horizontal Border

You can change the appearance of a paragraph border instead of accepting Word's default formatting.

Go to:

Home → Paragraph → Borders → Borders and Shading

Depending on your Word version, you can configure options such as:

  • Border style
  • Line width
  • Border color
  • Position
  • Single or multiple borders
  • Top border
  • Bottom border
  • Left border
  • Right border

This method is useful when preparing professional documents that require consistent formatting.


Method 4: Draw a Line Using Shapes

Sometimes you do not want a paragraph border. Instead, you need a line that behaves like a graphical object.

In that situation, use Word's Shapes feature.

Go to:

Insert → Shapes → Line

Then click and drag to draw the line.

Tip: Keep the Line Straight

Hold the Shift key while drawing the line.

This makes it easier to create a perfectly horizontal line.


Why Use a Shape Instead of an Automatic Border?

A Shape line gives you much more control.

You can normally:

  • Move the line anywhere
  • Resize it
  • Change its length
  • Change its thickness
  • Change its color
  • Change its line style
  • Position it independently
  • Apply different wrapping options
  • Place it relative to other objects

Therefore:

Use AutoFormat/paragraph borders for quick section separators.

Use Shapes when precise positioning and design control are required.


Automatic Border vs Shape Line

Feature Automatic Border Shape Line
Very fast to create Yes No
Created with keyboard shortcut Yes No
Attached to paragraph Yes No
Easy to reposition freely Limited Yes
Easy to resize manually Limited Yes
Custom length Limited Yes
Custom color Yes Yes
Custom thickness Yes Yes
Suitable for section separators Excellent Good
Suitable for diagrams/design Limited Excellent

How to Remove a Horizontal Line That Will Not Delete

This is one of the most common Microsoft Word problems.

You may place the cursor next to the line and press:

Delete

or:

Backspace

but the line remains.

This happens because an automatically generated line is usually a paragraph border.

Correct Method

  1. Place the cursor in the paragraph immediately associated with the line.
  2. Open the Home tab.
  3. Go to the Paragraph section.
  4. Click the arrow next to Borders.
  5. Select:

No Border

The horizontal line should disappear.


Why Can't I Select the Horizontal Line?

If clicking the line does not select it, it is probably not a Shape.

It is likely a paragraph border.

A Shape normally displays selection handles when clicked.

An automatic border normally does not behave this way.

Use:

Home → Borders → No Border

to remove an unwanted paragraph border.


How to Stop Word from Automatically Creating Horizontal Lines

Some users regularly type:

---

or similar characters and do not want Word to convert them into borders.

You can disable this feature.

In Word for Windows

Go to:

File → Options → Proofing → AutoCorrect Options

Select:

AutoFormat As You Type

Under the section related to formatting as you type, locate:

Border lines

Clear the checkbox.

Click:

OK

After disabling this setting, typing three shortcut characters followed by Enter should no longer automatically create the border.


How to Re-enable Automatic Horizontal Lines

If the keyboard shortcuts have stopped working, the Border lines AutoFormat option may have been disabled.

Go to:

File → Options → Proofing → AutoCorrect Options → AutoFormat As You Type

Enable:

Border lines

Click OK.

Try the shortcut again.


Problem: --- Does Not Create a Horizontal Line

If you type three hyphens and press Enter but nothing happens, check the following.

1. Check AutoFormat Settings

Make sure Border lines is enabled under:

File → Options → Proofing → AutoCorrect Options → AutoFormat As You Type

2. Make Sure You Press Enter

Typing the characters alone is not enough.

Type:

---

and then press:

Enter

3. Try a Blank Paragraph

Existing paragraph formatting, tables, lists, or other document structures may affect the result.

Test the shortcut in a new blank paragraph.

4. Check the Application

The behavior described here primarily applies to supported desktop versions of Microsoft Word. Features can differ between desktop Word, Word for the web, mobile versions, and other editors.


Problem: The Line Moves When I Add Text

This usually happens because the line is attached to a paragraph.

Adding or deleting paragraphs can therefore change its location.

If you need a line that remains positioned independently, consider using:

Insert → Shapes → Line

instead.


Problem: The Horizontal Line Is Too Long

An automatic paragraph border generally follows the width available to that paragraph.

If you need an exact line length, use:

Insert → Shapes → Line

This gives much greater control over width and positioning.


Problem: I Cannot Drag the Line

This is another sign that you are dealing with a paragraph border rather than a Shape.

Paragraph borders cannot normally be dragged around like graphical objects.

If free positioning is required, replace the border with a Shape line.


Problem: Pressing Backspace Does Not Remove the Line

Backspace is particularly useful immediately after Word creates the automatic line.

If you have already continued editing the document, use:

Home → Borders → No Border

instead.


Creating a Line for a Signature

A normal automatic horizontal border is not always the best method for signature fields.

For a printed form, a common technique is to use a tab and apply underline formatting.

For electronic forms where users will type into the field, a table cell with only its bottom border enabled can provide more stable formatting.

Example:

Authorized Signature: ____________________

Other options include Word's dedicated Signature Line feature where appropriate.


Creating Lines Inside Tables

If your document contains a table, use table borders rather than inserting random horizontal rules.

Select the required cells and use the border controls under the relevant Table Design/Design options.

You can create:

  • Bottom borders
  • Top borders
  • Inside horizontal borders
  • Outside borders
  • Custom border styles

This generally produces cleaner forms, invoices, quotations, and structured business documents.


Horizontal Lines in Multi-Column Documents

In documents containing multiple columns, an automatic horizontal border may follow the width available to the paragraph or column rather than spanning the entire physical page.

This is expected behavior.

If you need a line that crosses a specific area independent of the text column, a Shape may be more appropriate.


Which Method Should You Use?

For a quick separator

Use:

--- + Enter

For a customized paragraph divider

Use:

Borders and Shading

For an exact-length graphical line

Use:

Insert → Shapes → Line

For a signature or fill-in field

Consider:

  • Underlined tabs
  • Table bottom borders
  • Signature Line

For structured forms and tables

Use:

Table Borders

Choosing the correct method avoids many formatting problems later.


Professional Document Formatting Tips

For business documents, avoid using too many different decorative line styles.

A simple, consistent design normally looks more professional.

Consider these practices:

  • Use one consistent divider style throughout a document.
  • Avoid excessively thick or colorful borders.
  • Keep spacing above and below separators consistent.
  • Use paragraph borders for section separation.
  • Use Shapes only when precise positioning is necessary.
  • Use table borders for structured forms.
  • Avoid manually typing dozens of hyphens or underscores to imitate a line.
  • Test the document before converting it to PDF.
  • Check formatting after opening the document on another computer.
  • Use Word Styles when creating long standardized documents.

Why You Should Avoid Typing Dozens of Underscores

Some users create lines like this:

________________________________________

Although this may appear acceptable initially, it can create formatting problems.

The line can:

  • Wrap unexpectedly
  • Change length with font changes
  • Become misaligned
  • Behave differently on another computer
  • Shift when margins change
  • Look different after PDF conversion

For professional documents, paragraph borders, table borders, or Shapes are generally more reliable.


Keyboard Shortcut Quick Reference

Requirement Recommended Method
Quick standard separator --- + Enter
Alternative/double-style border === + Enter
Decorative/heavier border *** + Enter
Thick border ___ + Enter
Wavy border ~~~ + Enter
Decorative multiple-style border ### + Enter
Undo newly created line Backspace or Ctrl+Z
Remove existing automatic border Home → Borders → No Border
Customize border Borders → Borders and Shading
Draw independent line Insert → Shapes → Line
Keep Shape line straight Hold Shift while drawing
Disable automatic lines AutoCorrect → AutoFormat As You Type → Border lines

Frequently Asked Questions (FAQ)

1. How do I quickly insert a horizontal line in Microsoft Word?

Type three hyphens:

---

and press Enter.

If the Border lines AutoFormat feature is enabled, Word converts them into a horizontal border.


2. Why can't I delete a horizontal line in Word?

An automatically created horizontal line is usually a paragraph border rather than a drawing object.

Place the cursor in the associated paragraph and select:

Home → Borders → No Border


3. Why does typing three hyphens create a line?

Microsoft Word's AutoFormat As You Type feature recognizes certain repeated characters and converts them into paragraph borders.


4. How do I stop Word from creating lines automatically?

Go to:

File → Options → Proofing → AutoCorrect Options → AutoFormat As You Type

Disable:

Border lines


5. How do I enable the three-hyphen shortcut again?

Open the same AutoCorrect settings and enable:

Border lines


6. Is the automatically created line a Shape?

No. In normal Word AutoFormat behavior, it is a border associated with a paragraph.


7. Can I change the color of the horizontal border?

Yes.

Use:

Home → Borders → Borders and Shading

and select the required border color.


8. Can I change its thickness?

Yes. Use Borders and Shading to select an appropriate line width.


9. How do I create a short horizontal line?

For an exact-length line, Insert → Shapes → Line is generally easier than an automatic paragraph border.


10. How do I create a perfectly straight Shape line?

Hold Shift while drawing the line.


11. Why does my horizontal line move when I type?

An automatic line is attached to paragraph formatting, so changes to paragraphs can change its position.


12. Why does the line extend across the entire paragraph?

Because the border follows the available width of the paragraph rather than behaving like a manually sized graphical object.


13. Can horizontal lines be used inside tables?

Yes, but using the table's own border controls is usually preferable.


14. Can I use a horizontal line for a signature?

Yes, but underlined tabs, table bottom borders, or Word's Signature Line feature may provide better results depending on the document.


15. Why doesn't --- + Enter work on my computer?

The Border lines AutoFormat option may be disabled, or the Word environment/version you are using may behave differently.


16. Can I undo an automatic line immediately?

Yes. Press Backspace immediately after Word creates the border, or use Ctrl+Z.


17. Should I use underscores to create blank lines?

For quick informal documents this may work, but borders, tables, tabs with underlining, or Shapes are more reliable for professional documents.


18. What is better: a paragraph border or a Shape?

Use a paragraph border for section separators. Use a Shape when you require exact length, positioning, or graphical control.


19. Why can't I drag an automatic horizontal line?

Because it is generally a paragraph border, not an independently positioned graphical object.


20. Does this feature work in Outlook too?

Microsoft Word and classic Outlook editing environments support similar three-character horizontal-rule behavior, although appearance and behavior can vary by application and version.


Conclusion

Microsoft Word offers several ways to create horizontal lines, and choosing the correct method makes document formatting much easier.

For everyday section separation, typing three characters such as:

---

and pressing Enter is extremely convenient.

However, remember that Word normally converts these characters into a paragraph border, not a graphical line. This is the main reason users sometimes have difficulty selecting, moving, or deleting an automatically generated horizontal line.

For greater formatting control, use Borders and Shading. For exact length and independent positioning, use Insert → Shapes → Line. For forms and signature areas, consider underlined tabs or table borders.

Understanding the difference between paragraph borders and graphical lines can prevent many common Microsoft Word formatting problems.

 

YOUR FEEDBACK

Was this guide useful?

Your answer helps us keep BISONKB accurate and practical.

THE BISON BRIEF

Practical IT knowledge, once a week.

New troubleshooting guides, scripts and infrastructure notes. No noise.

By subscribing, you agree to our privacy policy. Unsubscribe at any time.