Ad Space — Top Banner

-8003

Apple MacBook

Severity: Minor

What it means

MacBook error -8003 is the macOS Finder 'cannot empty Trash' error.
The Finder's exact dialog reads: 'The operation can't be completed because an unexpected error occurred. (Error code -8003)'
It appears when you try to empty the Trash and the Finder can't delete one of the files inside it.
Almost always this is because the file is locked, the file is in use by an open app, or the file lives on an external drive that disconnected after the file was sent to the Trash.

Affected Models

  • Every MacBook running macOS
  • Common when emptying the Trash with files from external drives that disconnected
  • Common with files that were locked via Get Info before being trashed
  • Common with files an app still has open (Office documents, browser downloads)
  • Affects every recent macOS — Sequoia, Sonoma, Ventura, Monterey, and earlier

Common Causes

  • File in the Trash is locked (set as locked via Get Info)
  • File in the Trash is still open in an app (Word, Excel, a browser download)
  • File was originally on an external drive that's no longer connected
  • File has permissions that prevent your user account from deleting it
  • Trash on an external drive (.Trashes folder) has stale entries that don't exist anymore

How to Fix It

  1. Hold Option and click Empty Trash.

    Click and hold the Trash icon in the Dock.
    Press Option on the keyboard.
    The menu's Empty Trash item runs with no confirmation dialog and skips files it can't unlock cleanly.
    This single step fixes most -8003 cases in seconds.

  2. Close every app and try again.

    Quit every open application (use Cmd+Tab through them all and Cmd+Q each one).
    An app holding a file open silently blocks the Trash from emptying it.
    After everything is quit, try Empty Trash again.

  3. Reconnect external drives whose files are in the Trash.

    If you trashed a file from an external drive and then unplugged the drive, the Trash still holds a reference but the actual file is unreachable.
    Plug the drive back in, empty the Trash, then unplug.

  4. Unlock files manually.

    Open the Trash, right-click the file, choose Get Info.
    Uncheck the Locked box at the top of the Get Info window.
    Close Get Info and Empty Trash again.
    If the Locked box is greyed out, the file has root-owned permissions and the next step is needed.

  5. Force-empty from Terminal.

    Open Terminal (Applications > Utilities).
    Run: sudo rm -rf ~/.Trash/*
    Type your account password when prompted (it won't show as you type — that's normal).
    Press Return.
    Everything in your Trash is force-removed including locked and permissioned files.
    Be sure you actually want to delete everything in the Trash first — there's no undo.

When to Call a Professional

Error -8003 doesn't need service.
It's purely a file-state issue.
The Option-click-Empty-Trash trick clears the vast majority of -8003 cases in one step; if it doesn't, a Terminal force-delete handles the rest.

Frequently Asked Questions

Will 'sudo rm -rf' delete other files I care about?

Only what's in your Trash.
The path ~/.Trash/* limits the command to the contents of your Trash folder — nothing outside it.
The danger of sudo rm -rf is when the path is wrong (typo, wildcards in the wrong place) — and the path here is specific.
Double-check the path before pressing Return.
If the path looks right, you'll force-delete only what was in your Trash anyway, which was already destined for deletion.