Microsoft Word’s AutoFormat engine is designed to instantly convert simple keyboard characters into complex formatting elements. One of the most common—and most infuriating—examples of this is the “Border Line” trigger. If you type three consecutive hyphens/dashes (—) and press Enter, Word will violently intercept your keystrokes, delete the dashes, and replace them with a massive, solid black horizontal line that spans the entire width of the page.
Worse, this is not a line of text that you can easily backspace; it is a paragraph border. If you try to delete it, you often end up pushing the border further down the page or accidentally applying it to other paragraphs, resulting in a chaotic mess of formatting. This is incredibly frustrating if you simply wanted to use three dashes as a visual separator in a plain-text draft or a coding snippet.
You can dive into the AutoCorrect options to completely disable this specific trigger, forcing Word to treat hyphens as standard text characters rather than secret formatting codes.
How to Stop Word from Converting Dashes to Borders
You must turn off the “Border lines” rule within the AutoFormat settings.
- Open your document in Microsoft Word.
- Click on File in the top-left corner of the ribbon.
- Click on Options at the bottom of the left sidebar.
- In the Word Options window, select Proofing from the left-hand navigation pane.
- Click the AutoCorrect Options… button in the main pane.
- A new dialog box will open. Click on the tab labeled AutoFormat As You Type.
- Look under the second section labeled “Apply as you type.”
- Locate the checkbox labeled Border lines.
- Uncheck this box.
- 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, they will remain exactly as you typed them—three innocent hyphens resting quietly on the page.