Remove Temporary Word and Excel Lock Files from a Mac Desktop
Question details
Remove unwanted temporary files beginning with ~$ from a Mac desktop while keeping the original documents.

- Product
- Microsoft Word and Microsoft Excel
- Device & OS
- macOS
- Scenario
- Word or Excel documents have been opened from the Mac desktop, and temporary lock files are visible there.
- Observed behavior
- Files whose names begin with ~$ appear alongside the original documents.
Save any open Word and Excel documents and identify the original files before removing anything. If a document is shared, make sure no one else is using it before deleting its lock file.
Close Office Apps and Remove Leftover Lock Files
Use this method when ~$ files remain on the desktop after you finish working on the original documents.
In Word and Excel, save and close your documents, then choose Word > Quit Word and Excel > Quit Excel. Quit any other open Microsoft Office apps as well.
Choose Apple menu > Restart. Check the desktop after the Mac restarts; the temporary files may have disappeared.
In Finder or on the desktop, confirm that the original documents are closed and identify only the unwanted files whose names begin with ~$.
Select only the unwanted ~$ files and choose File > Move to Trash, or drag them to the Trash. Do not delete the original Word or Excel documents.

Work with Word and Excel Files in WPS Office
WPS Office is a free, lightweight alternative with a familiar interface and compatibility with Microsoft Office formats, making it easy to move your document and spreadsheet work. It does not remove Microsoft Office lock files.

Frequently Asked Questions
What are the files that start with ~$?
They are temporary Office lock files that can appear while a Word or Excel document is open. They normally disappear when the associated document closes.
Can I delete a ~$ file while the document is open?
Leave the lock file in place while the document is in use. Save and close the document in Word or Excel, and make sure other users have closed it before removing a leftover lock file.
What if the temporary files remain after I close Word and Excel?
Quit all Microsoft Office apps, then choose Apple menu > Restart. If the files remain, verify that the originals are closed and move only the unwanted ~$ files to Trash.
Will deleting a ~$ file delete my original document?
The ~$ lock file is separate from the original document. Check the filename carefully and move only the unwanted ~$ file to Trash; do not select the original document.




