How to Remove a Faint Gray Underline from a Word in Microsoft Word
Question details
The user is trying to remove a persistent faint gray underline from a single word in a document that standard formatting tools cannot clear.

- Product
- Microsoft Word
- Device & OS
- not provided
- Scenario
- Editing a text document and encountering an unremovable line under a specific word.
- Observed behavior
- A light gray line remains beneath a single word even after using the 'Clear Formatting' feature and attempting to remove borders.
Ensure that your display monitor is clean and that you toggle 'Show/Hide ¶' (Ctrl+Shift+8) to reveal any hidden formatting marks before proceeding.
Check for and Remove Text-Level Borders
Use this solution to ensure the gray line isn't a text border, which is frequently bypassed by standard clear-formatting commands.
In Microsoft Word, borders can be applied to entire paragraphs or just individual text characters. A faint gray line is often a bottom border applied strictly at the text level.
Carefully highlight the single word with the gray underline, ensuring you do not select the spaces before or after it.
Navigate to the 'Home' tab on the ribbon. In the 'Paragraph' group, click the small dropdown arrow next to the 'Borders' icon.
Click on 'No Border' from the dropdown list to clear any text-level lines attached to the selection.

Strip Formatting via 'Keep Text Only'
Use this method if the line is caused by deeply embedded or corrupted XML tags associated with the text.
Try WPS Office for a Glitch-Free Writing Experience
If you frequently encounter stubborn formatting issues, unremovable lines, or display glitches in Microsoft Word, consider switching to WPS Office. It provides a lightweight, highly compatible, and user-friendly word processor that makes complex document formatting easy to manage.
- 1. Download and Install: Download WPS Office for free from the official website and install it on your device.
- 2. Open Your Document: Launch WPS Writer and directly open your existing .docx file. WPS maintains strict compatibility with Word files.
- 3. Fix Formatting Easily: Highlight the problematic text and use the 'Clear Formatting' eraser tool in the Home tab to instantly clean up stubborn styles.

Frequently Asked Questions
Why doesn't the 'Clear Formatting' button remove the gray line?
The 'Clear Formatting' command resets font styles and sizes but frequently misses text-level borders, shading, or advanced XML tags left over from tracked changes or copied web content.
Can hidden text cause a gray underline in Word?
Yes. If hidden text formatting is applied and you have formatting marks toggled on, Word may display a faint dotted underline to indicate that the text is marked as hidden.
What if the gray underline is actually a proofing mark?
Microsoft Word typically uses wavy red, blue, or green lines for spelling and grammar errors. A straight faint gray line is more likely a border artifact, a smart tag, or an accessibility indicator.




