How to Close the Thesaurus or Dictionary in Microsoft Word
Question details
The user wants to close the Thesaurus or Dictionary opened from Microsoft Word, preferably using a keyboard shortcut.

- Product
- Microsoft Word
- Device & OS
- not provided
- Scenario
- The user presses Shift+F7 while working in Word and opens the Thesaurus or Dictionary in a pane or separate window.
- Observed behavior
- The Thesaurus or Dictionary remains open, and Word does not provide a dedicated standard shortcut to close it.
Identify whether the Thesaurus or Dictionary is a pane inside Word or a separate window, and locate its Close button. If you want to try a macro, check that macro recording is available in your version of Word.
Close the Thesaurus or Dictionary with its Close button
Use the window or pane's Close button for the most straightforward way to return to your document.
In the Thesaurus or Dictionary pane or separate window, look for the X or Close button, usually near the upper-right corner.
Click its Close button, then click in your Word document to resume editing. Make sure you select the pane or Dictionary window's Close button rather than the main Word window's.

Try assigning a keyboard shortcut to a recorded macro
Try this approach if a keyboard-based workflow is important, but test whether Word records the pane-closing action.
Edit Word Documents with WPS Writer
WPS Office is a free, lightweight Office alternative with a familiar interface. Open and edit compatible Word documents in WPS Writer for an easy transition, although it does not change how Microsoft Word closes its panes.

Frequently Asked Questions
Is there a dedicated shortcut to close Word's Thesaurus?
Word does not provide a standard dedicated shortcut for closing the Thesaurus. Use the pane's Close button, or try assigning a shortcut to a recorded macro and test whether it works.
Why doesn't my recorded macro close the Thesaurus?
Word's macro recorder may not capture the action of closing a task pane. Reopen the Thesaurus with Shift+F7 and test your shortcut; if the pane remains open, click its Close button.
Can I use Shift+F8 for a close macro?
You can try assigning Shift+F8 through View > Macros > Record Macro > Keyboard. Check its current assignment first, because assigning it to your macro can replace an existing shortcut.
Will a Thesaurus macro also close the Dictionary?
Not necessarily. A macro that closes the Thesaurus may not work for a different Dictionary window or task pane. Test it with that window, or use the window's own Close button.




