How to Stop Microsoft Word from Automatically Drawing Border Lines

Microsoft Word’s AutoFormat engine is designed to instantly convert common keyboard characters into complex formatting elements. One of the most notorious triggers occurs when you attempt to create a visual separator in your document. If you type three hyphens (—), three underscores (___), or three equal signs (===) on a new line and press Enter, Word will instantly intercept the characters, delete them, and replace them with a solid, edge-to-edge paragraph border line.

While this is a fast way to draw a line, it is incredibly difficult to undo. Because Word converts the characters into a paragraph border (rather than an editable drawn shape), you cannot simply highlight the line and press Backspace. If you use hyphens to denote code snippets or create simple ASCII art, this automatic conversion will completely ruin your document’s structure.

You can dive into the AutoCorrect options to disable this specific formatting trigger, allowing you to type hyphens in peace.

How to Stop Word from Drawing Automatic Lines

You must disable the border line rule within the AutoFormat As You Type settings.

  1. Open your document in Microsoft Word.
  2. Click on File in the top-left corner of the ribbon.
  3. Click on Options at the bottom of the left sidebar.
  4. In the Word Options window, select Proofing from the left-hand navigation pane.
  5. Click the AutoCorrect Options… button in the main pane.
  6. A new dialog box will open. Click on the tab labeled AutoFormat As You Type.
  7. Look in the middle of the menu under the “Apply as you type” section.
  8. Uncheck the box labeled Border lines.
  9. Click OK twice to close both windows and save your changes.

Microsoft Word will immediately stop hijacking your hyphens. The next time you type three dashes and press Enter, the text will simply remain as three dashes, exactly as you typed it, allowing you to use hyphens for structural formatting without triggering massive border lines.

Get the best tech tips delivered straight to your inbox.

Join thousands of readers mastering Apple, Google, Microsoft, and Linux.