When the Mac Trash won't empty and shows "The operation can't be completed because the item is in use," a running app still has the file open. To fix it, fully quit that app (or restart the Mac to drop every file lock), then hold Option (⌥) while clicking Empty to override any Locked-flag warnings.

TL;DR

  • "Item is in use" means a running app still holds the file open; quit that app or restart.
  • A restart drops every file lock at once and clears the error almost every time.
  • Hold Option (⌥) while clicking Empty to ignore Locked flags on stubborn files.
  • For a single Locked file, use Get Info and uncheck Locked before emptying.
  • Emptying the Trash is permanent; there is no built-in undo once it completes.

Why won't my Mac Trash empty?

macOS refuses to delete a file in two situations. The first is when the file is still open: a running app has it memory-mapped, so closing the document window is not enough because the app process itself still holds the handle. You see "The operation can't be completed because the item is in use." The second is when the file carries the Locked flag, a per-file attribute that tells Finder to protect it from deletion. Each cause has its own fix, so the first step is identifying which message you are getting.

How do I release the lock on a stuck file?

If the error is "item is in use," the fix is to release the app holding the file. Quitting the window does not work; the whole app must quit.

  1. Open Trash and note which file is stuck.
  2. Identify the app that opens that file type (Preview for PDFs and images, QuickTime for video, Word or Pages for documents).
  3. Right-click that app's icon in the Dock and choose Quit.
  4. If the culprit is unclear, restart the Mac (Apple menu > Restart) to drop every file lock at once.
  5. Open Trash again and click Empty.

A restart works almost every time, because no background process or hidden app survives the reboot to keep holding the file.

How do I force past a "Locked" file?

If the file is not in use but still refuses to delete, macOS has flagged it as Locked. Holding Option while emptying tells Finder to ignore every Locked flag in the bin at once.

  1. Open Trash.
  2. Hold Option (⌥) on the keyboard.
  3. Click Empty in the top-right of the Trash window, or choose Finder > Empty Trash from the menu bar while still holding Option.

If only one file is the problem, you can instead right-click it in Trash, choose Get Info, and uncheck Locked, then empty the Trash normally.

Is force-emptying the Trash safe?

Force-emptying is safe for your Mac: holding Option only overrides the Locked attribute, it does not bypass system protections or touch files outside the Trash. The thing to know is that emptying the Trash is permanent — there is no built-in undo, and the files are not recoverable through Finder afterward. Before you force-empty, glance through the bin to confirm nothing important slipped in. If you are unsure about one specific item, drag it back out first and deal with the rest.

FAQ

Why does my Mac say "the item is in use" when I empty the Trash?

It means a running app still has that file open. macOS will not delete a file that is memory-mapped by an active process, so you have to quit the app holding it, or restart the Mac to release every lock at once.

How do I force empty the Trash on a Mac?

Hold the Option (⌥) key, then click Empty in the Trash window. This tells Finder to ignore Locked flags and delete the entire bin. If the file is in use rather than locked, restart the Mac first to drop the lock.

Is emptying the Trash on a Mac permanent?

Yes. Once the Trash is emptied, the files are removed and there is no built-in undo in Finder. Review the bin before emptying if you are unsure about anything in it.

How do I unlock a single locked file in the Trash?

Right-click the file in Trash, choose Get Info, and uncheck the Locked box. After that you can empty the Trash normally without the Option key.

Will restarting my Mac fix the Trash error?

Usually, yes. A restart drops every open file handle, so any "item is in use" lock is released and the Trash empties on the next try.

When the drive is still full after emptying

If the Trash empties but your storage barely moves, the space is sitting in large hidden folders and system files. Start with what System Data is on a Mac and how to safely clean the disk, then clear the Final Cut Pro media cache and the Adobe Premiere / After Effects media cache if you edit media. Developers can reclaim a lot with clearing Xcode caches and derived data. For a broader approach to freeing space across all your devices, see the storage cleanup hub. And for the same effortless cleanup on your phone, the Cleanor app finds and clears junk on iPhone and Android in a couple of taps.