What is ~/.Trash on a Mac, and is it safe to empty?

~/.Trash is the hidden folder behind the Trash in the Dock, where deleted files wait and keep using disk space until you empty it.

Shiva ChandraMaker of Clean House · · 2 min read
Short answer

Files you delete do not free space until the Trash is emptied. Emptying is permanent, so look through it first. Items inside are things you already decided to delete, but mistakes happen. If you spot something you need, drag it out before you empty. Verdict: Look first, then empty.

Path
~/.Trash (also one per external drive)
What it is
Files and folders you moved to the Trash, waiting to be permanently deleted
Typical size
Anything from nothing to hundreds of gigabytes, depending on what you deleted
Made by
You, and apps that move files there
Safe to delete?
Look first Check it, then empty it. Emptying is permanent.
Comes back?
No. Once emptied, files cannot be restored except from a backup.

What is in the Trash?

It holds everything you dragged to the Trash or deleted with Command and Delete. Apple notes that when you move a file to the Trash, the storage space does not become available until you empty it. Apps and installers sometimes leave items there too.

Is it safe to empty the Trash?

Yes, if you are sure. Emptying deletes the files for good. There is no undo, apart from backups such as Time Machine. Scan the list for anything you do not recognize or want back.

How do I empty it?

  1. Click the Trash in the Dock.
  2. Review the items and drag any you want back out.
  3. Click Empty in the top right of the window, or choose Finder, then Empty Trash.
  4. Confirm when macOS asks.
To restore a single item, right-click it and choose Put Back.

Why will not the Trash empty?

A file may be in use, or locked. Quit the app that might be using it and try again. A restart often clears the problem. Do not use sudo rm to force it, because a wrong path can delete the wrong files.

How Clean House handles it

Clean House shows the Trash size as part of the house. When it cleans something, it only moves the item to the Trash after a final re-check, and Recently Cleared puts anything back where it was until you empty the Trash. Emptying the Trash asks first.

Questions

Does emptying the Trash free up space?

Yes. Files in the Trash still use disk space until you empty it.

Can I recover files after emptying the Trash?

Not from the Trash. You would need a backup such as Time Machine.

Why is my Trash not empty after I empty it?

A file may be locked or in use. Quit apps and restart, then try again.

Sources

  1. Apple Support: Free up storage space on Mac