Please Note: This article is written for users of the following Microsoft Word versions: 2007, 2010, and 2013. If you are using an earlier version (Word 2003 or earlier), this tip may not work for you. For a version of this tip written specifically for earlier versions of Word, click here: Removing Automatic Lines.

Removing Automatic Lines

by Allen Wyatt
(last updated November 15, 2019)


Have you ever noticed how if you type a few equal signs on a line in your document, and then press Enter, Word replaces what you typed with a double line that extends the whole width of your document? Actually, this works if you enter as few as three equal signs, dashes, or underscores. In each case, Word replaces your characters with a different type of line.

In some instances, this Word feature can be a great timesaver. In other instances, you might have really wanted the characters in your document, not the line that Word thought you wanted. In these instances there are three ways you can handle the situation.

First, and probably the easiest method, is to hit Backspace after pressing Enter. The automatic line that Word created will disappear, but the original characters you typed will remain and the insertion point will stay on the text line below. You can also press Ctrl+Z right after you pressed Enter to undo the automatic line and achieve the same results.

Using the undo shortcut may not be practical if you don't use it right away, though. This leads to the second method of dealing with the line. If you later want to remove the line, it helps to understand how Word added it in the first place. When you pressed Enter at the end of your characters (the ones Word replaced with its line), Word removed the characters and added a border to the paragraph just before where you typed the characters. You can verify this in the following manner:

  1. Position the insertion point in the paragraph just before where the line appears.
  2. Make sure the Home tab of the ribbon is displayed, and then click the down-arrow next to Borders tool in the Paragraph group. Word displays a drop-down list of choices.
  3. In the list of choices, choose No Border. The line (border) previously applied by Word now disappears.

The third method of dealing with the line is to simply turn off the feature that causes Word to replace your equal signs, dashes, and underscores with its own line. Follow these steps:

  1. Display the Word Options dialog box. (In Word 2007 click the Office button and then click Word Options. In Word 2010 and Word 2013, display the File tab of the ribbon and then click Options.)
  2. Click Proofing at the left of the dialog box.
  3. Click the AutoCorrect Options button. Word displays the AutoCorrect dialog box.
  4. Make sure the AutoFormat As You Type tab is displayed. (See Figure 1.)
  5. Figure 1. The AutoFormat As You Type tab of the AutoCorrect dialog box.

  6. Clear the Border Lines check box.
  7. Click OK to dismiss the AutoCorrect dialog box.
  8. Click OK to dismiss the Word Options dialog box.

WordTips is your source for cost-effective Microsoft Word training. (Microsoft Word is the most popular word processing software in the world.) This tip (6022) applies to Microsoft Word 2007, 2010, and 2013. You can find a version of this tip for the older menu interface of Word here: Removing Automatic Lines.

Author Bio

Allen Wyatt

With more than 50 non-fiction books and numerous magazine articles to his credit, Allen Wyatt is an internationally recognized author. He is president of Sharon Parq Associates, a computer and publishing services company. ...


Determining Combinations to Make a Total

If you have a range of cells that contain values, you may wonder which combinations of those cells should be used to meet ...

Discover More

Increasing Font Size In Worksheet Tabs

While Excel does not have an intrinsic way to change the font in on a worksheet tab, Windows does.

Discover More

Highlighting Pattern Violations

A common part of working with text strings in a worksheet is normalizing those strings so that they follow whatever rules ...

Discover More

Comprehensive VBA Guide Visual Basic for Applications (VBA) is the language used for writing macros in all Office programs. This complete guide shows both professionals and novices how to master VBA in order to customize the entire Office suite for their needs. Check out Mastering VBA for Office 2010 today!

More WordTips (ribbon)

After Pressing Enter, Text Becomes a Heading

Word provides several built-in tools that can affect how what you type is formatted. One of those tools can even change ...

Discover More

Automatically Using Smart Quotes

As a way to make your documents look more professional, Word can utilize "smart quotes" for both quote marks and ...

Discover More

Changing AutoFormatting Rules

The AutoFormat feature of Word can be configured to make changes to a variety of conditions in your document. Here's how ...

Discover More

FREE SERVICE: Get tips like this every week in WordTips, a free productivity newsletter. Enter your address and click "Subscribe."

View most recent newsletter.


If you would like to add an image to your comment (not an avatar, but an image to help in making the point of your comment), include the characters [{fig}] (all 7 characters, in the sequence shown) in your comment text. You’ll be prompted to upload your image when you submit the comment. Maximum image size is 6Mpixels. Images larger than 600px wide or 1000px tall will be reduced. Up to three images may be included in a comment. All images are subject to review. Commenting privileges may be curtailed if inappropriate images are posted.

What is eight more than 6?

2021-10-07 18:07:05


Thank you! I was trying to figure this out for days!

2021-06-05 12:47:30



2020-11-30 01:30:34


Allen, thank you very much for this extremely helpful information. I was filling out a job application form in a hurry and the employment dates kept autocorrecting what I typed, and I tried other tips I found online but nothing worked except for your tips!! Again, thank you very very much for sharing this information!

2020-09-13 01:39:18


Like almost anything in Office that changes from what you typed to something else, Auto-Capitalizing for example, it is actually two separate steps, which I assume is so you can undo it if you like and keep your original matter.

So you type "===" and press Enter going to the next line and seeing the double line across the screen. Simply press Ctrl-Z (or however you wish, actuate the Undo function) and you will be returned to the end of the three "=" with no double line. This time when you press Enter, the change will NOT occur.

Just like with the auto-capitalizing. And a few other things as well. Even in Excel when, say, auto-formatting of something occurs. Press Ctrl-Z and you see it undo the auto-formatting, then continue onward from the cell and the un-auto-formatted material remains un-auto-formatted.

It's actually surprising how many things this affects. Not saying they're all useful, much, but when you get ANY auto-change that you don't want, try immediately using Undo to see if it was done with this two step Undo where two Undo's undoes the work altogether, but just one Undo undoes only the auto-format that you object to.

2019-12-20 05:00:48


Very helpful, thank you! I have worked with Word for years and never knew how to get rid of this occasionally useful - but often quite frustrating - border. Simple and painless.

2019-11-16 13:39:08


I'm surprised no one mentions this approach.
1. Position the insertion point in the paragraph just before where the line appears.
2. Ctl+Q. Line is gone.

2019-11-16 08:42:22


Just type ' before typing ====
like this '======
and just delete ' afterward to override AutoCorrect

2019-11-15 09:14:19

Max Underwood

I just remember to "add a space" after finishing the desired sequence of dashes / pluses, etc. and that seems to avoid the whole auto-format issue.

2019-02-17 13:14:40


Thank you. It worked!

2017-12-28 17:14:49


Thank you!

2015-09-22 13:24:05

Phil Reinie

Shane: According to most instructors - there are no stupid questions. The insertion point is the place in a document that if you started typing the text should appear (assuming you're not typing control sequences which might say, turn bold text on or off, etc).

The ribbon - introduced in MS Office 2007 contains tabs (also called group-tiles) are tool-sets like Layout, Document Elements, Tables, Charts, SmartArt, Review, Developer, Appearance and Audio Notes (according to Word 2011 for Mac). If you don't have Office 2007 or later those elements weren't called a ribbon but mostly somehow still available unless they were new in 2007 (it's been too long to recall).

As far as the Home tab, it is usually the left-most tab available in the ribbon. The Paragraph group contains tools that apply to an entire paragraph, such as in this case, the border of the paragraph.

2015-09-22 13:21:05

Phil Reinie

Mac Word 2011 the Borders setting is available through the menu: Word -> Preferences -> AutoCorrect (in the Authoring and Proofing Tools area) -> AutoFormat As You Type "tab" in the "Apply as you type" area.

2015-09-20 17:41:43


Thanks for this. I found it annoying at times, and didn't realise it was a border.

2015-09-19 17:40:05


I fully agree with Damear. The explanations in the Word tips are already very basic. Making them even more basic would defeat the purpose of the tips. I think they are meant for people with a basic knowledge of Word who want to get to know more about its special features.

2015-09-19 16:54:11

Dennis Gladden

Thanks for this tip. I have found getting rid of these lines troublesome, especially when they're near a table. This tip appears to solve my problem.

2015-09-19 13:11:53


If Microsoft would only have a "Reveal Codes" feature it would be easy to remedy bugs like this!

2015-09-19 09:51:15


Shane, if you don't know what Ribbon interface is and what tabs are, or what the heck is an insertion point, perhaps you should start with a general 'PC for dummies' training, because these are real basics.

Otherwise, before he knows it Allen would have to explain what a mouse is and why he didn't mention that 'click the mouse button' means actualy the left button, not right one; and 'click' means 'press and release', not just 'press', etc. etc. etc.

2015-09-19 01:11:47


You need to keep in mind that people looking for solutions don't know MS Word like you do, so when directions use points of reference like...position the insertion point, and make sure the home tab of the ribbon is displayed, you lose most of us. These directions look GREAT for people that REALLY know Word, but unfortunately those that really know Word probably don't need help. See what I mean? Thanks for listening.

This Site

Got a version of Word that uses the ribbon interface (Word 2007 or later)? This site is for you! If you use an earlier version of Word, visit our WordTips site focusing on the menu interface.

Newest Tips

FREE SERVICE: Get tips like this every week in WordTips, a free productivity newsletter. Enter your address and click "Subscribe."

(Your e-mail address is not shared with anyone, ever.)

View the most recent newsletter.