Fix Gray Text or File Name Appearing Over Cursor in Word for Mac
Question details
The user is experiencing a visual glitch where a gray line, gray text, or a file name unexpectedly appears over the cursor while typing.

- Product
- Microsoft Word
- Device & OS
- Mac
- Scenario
- Typing, pasting, or editing content within a Word document.
- Observed behavior
- A distracting gray line, text artifact, or file name visually overlaps or follows the cursor during typing.
Before proceeding, determine if this issue affects every Word document on your Mac or if it is isolated to a single file, as this will help narrow down the cause.
Clear the Clipboard and Paste as Unformatted Text
Hidden formatting or corrupted clipboard content copied from external sources often causes cursor glitches. Pasting without formatting can strip away these problematic elements.
When you copy text from the internet or another application, Word sometimes struggles to render the hidden HTML or formatting tags. This can result in phantom text or gray boxes appearing near the cursor.
Highlight a single blank space in your document and press Cmd + C. This overwrites whatever problematic data was previously stored in your clipboard.
If you need to paste content you previously copied, copy it again, then go to the top menu bar in Word and select Edit > Paste Special.
In the dialog box, choose 'Unformatted Text' and click OK. This ensures that only the raw text is pasted, leaving behind any hidden formatting artifacts.

Disable Third-Party Word Add-ins
Certain third-party add-ins (like citation managers or grammar checkers) can interfere with Word's rendering engine on Mac. Disabling them helps isolate the problem.
Adjust Field Shading and Transfer to a New Document
If the glitch is isolated to one specific document, the file itself might have corrupted field codes or structural issues.
Try WPS Office for a Glitch-Free Mac Experience
If Microsoft Word for Mac continues to suffer from frustrating display glitches and cursor rendering issues, consider switching to WPS Office. It provides a lightweight, highly compatible, and smooth alternative for editing your documents.
- 1. Download WPS Office: Visit the official WPS website and download the Mac version of WPS Office.
- 2. Install the Software: Open the downloaded package and drag the WPS Office icon to your Applications folder.
- 3. Open Your Document: Launch WPS Office and open your existing .docx files to continue typing without the gray text cursor glitches.

Frequently Asked Questions
Why does my cursor show a file name when I type in Word for Mac?
This visual glitch is usually caused by hidden field codes, corrupted clipboard data containing rich formatting, or interference from third-party add-ins interacting poorly with Word's display engine.
How do I turn off hidden formatting marks in Word for Mac?
Click the 'Show/Hide ¶' button on the Home ribbon, or press Command + 8 on your keyboard. This toggles the display of hidden formatting marks that might occasionally render as gray shading.
Will reinstalling Word for Mac fix the gray text cursor issue?
Reinstalling might not fix the issue if it is tied to a specific corrupted document or an active global add-in. It is highly recommended to try disabling add-ins and copying your text without formatting to a new document before attempting a full reinstall.




