Others

Remove Temporary Word and Excel Lock Files from a Mac Desktop

Steven ParkerSteven Parker Nov 22, 2026 868 views

Question details

Remove unwanted temporary files beginning with ~$ from a Mac desktop while keeping the original documents.

Remove Temporary Word and Excel Lock Files from a Mac Desktop
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.
Before you start

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.

Solution 1Recommended

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.

1
Save and quit Office

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.

2
Restart the Mac

Choose Apple menu > Restart. Check the desktop after the Mac restarts; the temporary files may have disappeared.

3
Check any remaining files

In Finder or on the desktop, confirm that the original documents are closed and identify only the unwanted files whose names begin with ~$.

4
Move leftover lock files to Trash

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.

Close Office Apps and Remove Leftover Lock Files
Keep files that are still in use: A ~$ file can indicate that its associated document is open. Leave it in place if you or another user is still working on the document.
Free Microsoft Office alternative

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.

Open and edit Word documents and Excel spreadsheetsCompatible with Microsoft Word DOCX and Excel XLSX formatsFamiliar interface for a smoother transitionFree and lightweight office suite
microsoft office alternative - wps office

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.