Stuck in the bin — why your Mac refuses to let go

Updated September 2026 · 5 min read

You right-click the Trash icon, click Empty Trash, and… nothing happens. Or you get an error saying a file "is in use" or "can't be deleted." A Trash that won't empty is one of the most frustrating small problems on a Mac — especially when you're trying to free up space and those files are the space you need back.

The good news: there's always a reason, and every reason has a fix. Here are the most common causes and what to do about each one.

Cause 1: A file is in use by another app

This is the most frequent culprit. You moved a file to Trash, but an app still has it open — a video player, a document editor, a browser downloading to that location. macOS won't delete a file that's actively being read or written to.

Fix: Close the app using the file. Not sure which one? Save your work, quit all open apps, and try again. Still stuck? Restart your Mac and empty the Trash right after logging in, before opening anything.

Cause 2: The file is locked

macOS lets you lock files to prevent accidental changes or deletion. A locked file in the Trash will block the entire emptying process.

Fix: Open the Trash in Finder, right-click the stubborn file, and choose Get Info (or press Command + I). Near the bottom, uncheck the Locked checkbox, then try emptying again. If multiple files are locked, select them all and use Get Info on the group.

Cause 3: You don't have permission to delete the file

Some files belong to a different user account or were created by system processes. Without write permission, macOS won't let you delete them.

Fix: Right-click the file in Trash, choose Get Info, and scroll to Sharing & Permissions. Click the lock icon, enter your password, and change your permission to Read & Write. Then try emptying again.

Cause 4: The file is on an external drive

When you delete a file from an external hard drive, USB stick, or SD card, it goes to a hidden .Trashes folder on that drive — not to your main Trash. If the drive is disconnected, the file stays in limbo: the Trash icon shows items inside, but macOS can't reach them.

Fix: Reconnect the external drive and empty the Trash. If you've already formatted or given away the drive, a restart usually clears the phantom count.

Cause 5: Time Machine is protecting the file

If Time Machine is running a backup, it may lock certain files temporarily. Local snapshots can also prevent deletion of files that are part of a recent snapshot.

Fix: Wait for the backup to finish (check the Time Machine icon in the menu bar), then try again. A restart usually releases Time Machine's hold.

Last resort: delete specific files via Terminal

If none of the above works, you can use Terminal to remove a specific file that refuses to leave the Trash.

  1. Open Terminal (from Applications → Utilities, or search with Spotlight).
  2. Type rm followed by a space — don't press Enter yet.
  3. Open the Trash in Finder, then drag the stubborn file directly into the Terminal window. This pastes the full file path.
  4. Press Enter. The file is deleted.

For a folder that won't delete, use rm -r instead of rm, followed by the same drag-and-drop step.

Important safety note: Only use rm on specific files you can see and identify. Terminal doesn't use the Trash — there's no undo. Always drag the file from Finder into Terminal instead of typing the path manually. And never run commands that include sudo rm -rf — that combination can permanently destroy your system.

Still stuck? Try a restart first

Before reaching for Terminal, try the simplest fix: restart your Mac and empty the Trash right after logging in. A surprising number of stuck-Trash issues clear up after a reboot.

If your disk is critically full and you need space right now, check our guide on what to do when your startup disk is full — it covers emergency steps for when you can barely boot.

Tired of fighting your Trash?

Gigatidy figures out what's blocking deletion and handles it safely — locked files, permissions, orphan references. Coming soon to the Mac App Store.

Meet Gigatidy →

FAQ

Why does my Mac say a file is "in use" when nothing is open?

Background processes and system services can hold files open even when you've closed the visible app. Spotlight indexing, cloud sync services, and antivirus scanners are common offenders. A restart releases these background locks and usually lets you empty the Trash normally.

Is it safe to use Terminal to delete Trash files?

Yes, as long as you're deleting specific files you've identified. Drag the file from Finder into Terminal to avoid typing the wrong path. Never use broad wildcard commands or sudo rm -rf — those can cause irreversible damage to your system.

Why does my Trash show items but look empty when I open it?

This usually means the files are on a disconnected external drive. Each drive has its own hidden Trash folder. Reconnect the drive and empty the Trash, or restart your Mac — the count should update once macOS confirms the drive is no longer available.