Uninstall apps + leftovers (general)

App Won't Delete on Mac? 9 Fixes for "Item Can't Be Moved to Trash"

You drag an app to the Trash and macOS fires back: "The item 'AppName' can't be moved to the Trash because it's open." Or worse, it just refuses without explanation. If an app won't delete on Mac, the cause is almost always one of a handful of predictable problems — a running process, a permissions quirk, SIP, or a helper that macOS doesn't consider part of the app bundle. Work through the ladder below, easiest fix first.

Why Mac Apps Refuse to Delete

macOS protects running processes, system-signed software, and files owned by another user. The most common error messages you'll see are:

  • "The item can't be moved to the Trash because it's open."
  • "The item can't be moved to the Trash because you don't have permission to access it."
  • "[App] can't be modified or deleted because it's required by macOS."
  • "The operation can't be completed because the item is in use."

Each error points to a different root cause. Match yours to the section below.

Fix 1: Quit the App Completely

This resolves the majority of "item is open" errors.

  1. Right-click the app's Dock icon and choose Quit.
  2. If no Dock icon is visible, open Activity Monitor (Spotlight → ⌘ Space, type "Activity Monitor").
  3. Search for the app name, select it, and click the X button in the toolbar, then Force Quit.
  4. Try moving the app to the Trash again.

Some apps run menu-bar agents that survive a normal Quit. Check the right side of your menu bar for the app's icon and quit from there too.

Fix 2: Kill Hidden Background Processes

Launch agents and daemons can keep an app "in use" even after you've quit the main window. Use Terminal to find them:

lsof | grep -i "AppName"

This lists every open file handle for that app. Identify the PID (second column) and kill it:

kill -9 <PID>

Then retry the delete. Background helpers often live in ~/Library/LaunchAgents/ or /Library/LaunchAgents/ — you may need to unload them first:

launchctl unload ~/Library/LaunchAgents/com.example.app.plist

Fix 3: Use "Force Empty Trash"

If the app is already in the Trash but refuses to empty:

  1. Open Finder.
  2. Hold Option and click the Empty Trash button in the Trash window — this becomes Empty Trash without the warning dialog and bypasses some lock checks.
  3. Alternatively, hold Option while right-clicking the Trash icon in the Dock and select Empty Trash.

Fix 4: Fix Permissions with Terminal

If you see "you don't have permission to access it," the app's bundle may be owned by root or another user. In Terminal:

sudo chown -R $(whoami) /Applications/AppName.app

Enter your administrator password when prompted. Then try dragging the app to the Trash. If that still fails, you can delete it directly:

sudo rm -rf /Applications/AppName.app

Important: sudo rm -rf is permanent and bypasses the Trash. Double-check the path before pressing Return — there is no undo.

Fix 5: Delete from Safe Mode

Safe Mode prevents third-party launch agents and kernel extensions from loading, which removes the most common "item in use" locks.

  1. Apple silicon: Shut down, then hold the power button until you see startup options. Select your drive, hold Shift, and click Continue in Safe Mode.
  2. Intel Mac: Restart and immediately hold Shift until the login screen appears.
  3. Log in, delete the app normally, then restart to leave Safe Mode.

Fix 6: Check System Integrity Protection (SIP)

If you're trying to remove an app that came pre-installed with macOS — such as Chess, Maps, or Stocks — you'll see "[App] can't be modified or deleted because it's required by macOS." SIP actively blocks deletion of system-protected paths like /System/Applications/.

Disabling SIP is possible but not recommended for most users: it permanently lowers your Mac's security posture and is reversed by every major OS update. For pre-installed apps you simply don't want, hiding them from Launchpad is the safer approach — right-click and select Remove from Launchpad (where available) or use Parental Controls/Screen Time to restrict access.

Fix 7: Remove Leftover Files After Deleting the App

Even when the main .app bundle deletes cleanly, many apps scatter files across:

  • ~/Library/Application Support/AppName/
  • ~/Library/Caches/com.developer.AppName/
  • ~/Library/Preferences/com.developer.AppName.plist
  • ~/Library/Containers/com.developer.AppName/
  • /Library/Application Support/AppName/ (system-wide)

These leftovers don't prevent deletion, but they waste space and can cause problems if you reinstall later. You can find them manually or use a tool designed for this — Crumb's Uninstall tab shows the main app alongside every leftover file it finds, so you can review and remove everything in one pass without hunting through Library folders by hand.

Fix 8: Unlock the File

Some apps or installers set the macOS "Locked" flag on their bundle, which prevents Trash from accepting it.

  1. In Finder, click the app once to select it.
  2. Press ⌘ I to open Get Info.
  3. At the bottom, uncheck Locked if it is checked.
  4. Try deleting again.

You can also unlock via Terminal:

chflags nouchg /Applications/AppName.app

Fix 9: Restart and Try Again

If none of the above work, a full restart clears all process locks, flushes the kernel's open-file table, and re-mounts disk volumes cleanly. After restarting, attempt the delete before launching any other apps. This resolves stubborn "item in use" errors that persist even after Force Quit.

Quick Reference: Error → Likely Fix

Error message Most likely cause Start with
"It's open" App or helper is running Fix 1 or Fix 2
"You don't have permission" Wrong file ownership Fix 4
"Required by macOS" SIP-protected system app Fix 6
Won't empty from Trash File locked or in use Fix 3 or Fix 8
Any of the above persist Kernel-level lock Fix 5 (Safe Mode)

One-Step Alternative: Let a Tool Handle It

If you'd rather not open Terminal or chase down Library folders, download Crumb and use its Uninstall tab. It finds the app bundle, identifies every associated leftover file (preferences, caches, containers, agents), and removes them together after you confirm. It also flags items that are still running so you can quit them before the removal goes through — no manual process-killing required.

Summary

Most "item can't be moved to the Trash" errors on Mac come down to a running process, a permissions mismatch, or a locked file. Work from the top of this list down: quit the app, kill background agents, fix ownership, then fall back to Safe Mode for the rare cases that nothing else resolves. Once the app is gone, don't forget to clean up the leftover files in ~/Library — those are the files that actually accumulate over time.

Reclaim your disk in one click

Crumb audits your whole Mac, tells you what's safe to delete, and frees the space in seconds — private, local, and Apple-notarized.

Download Crumb for macOS

Frequently asked questions

Why does macOS say an app is open when I've already quit it?
Many apps install background helpers — launch agents or daemons — that keep running after you close the main window. Open Activity Monitor, search for the app name, and force-quit any matching processes. You may also need to unload the agent from ~/Library/LaunchAgents/ via Terminal before the lock clears.
Is it safe to use 'sudo rm -rf' to delete a Mac app?
It works, but it's permanent — the app bypasses the Trash and cannot be recovered. Always double-check the full path before pressing Return. For most users, fixing permissions with 'sudo chown' and then deleting normally is safer.
How do I delete a pre-installed macOS app like Chess or Maps?
System apps in /System/Applications/ are protected by System Integrity Protection (SIP) and cannot be deleted without disabling SIP, which lowers your Mac's security. The practical alternative is to hide them from Launchpad or restrict them via Screen Time rather than deleting them outright.
Will deleting an app also remove all its data and caches?
No. Dragging an app to the Trash only removes the .app bundle. Support files, caches, preferences, and containers remain in ~/Library. You need to remove those separately — either manually or with a tool like Crumb that finds and removes them alongside the app.
What does the 'Locked' flag on a Mac app do?
The Locked flag (visible in Get Info, or set via 'chflags uchg' in Terminal) prevents a file or folder from being moved or deleted without unlocking it first. Some installers set this flag deliberately. Uncheck Locked in Get Info, or run 'chflags nouchg /path/to/app' in Terminal, then try deleting again.