Stop Mac asking 'are you sure' when emptying Trash
"Are you sure you want to permanently erase the items in the Trash? You can't undo this action." That dialog sounds final, and it makes people hesitate — but you can turn it off, and doing so is safer than it feels. Files don't vanish the instant you delete them; they sit in the Trash until you empty it. The confirmation is only guarding that last step, and you can remove it in Finder Settings without losing any of the real safety nets underneath.
Why it's safe to switch off
The "are you sure" prompt is the very last gate, not the only one. Everything you delete lands in the Trash first and stays there — you can open the Trash, right-click any item, and choose Put Back to return it to where it came from. Nothing is actually erased until an empty happens. Turning off the confirmation doesn't skip the Trash; it only stops macOS asking twice at the moment you've already chosen to clear it.
Turn off the confirmation
- Click the desktop or open a Finder window so Finder is the active app.
- Choose Finder → Settings in the menu bar (Cmd+,).
- Open the Advanced tab.
- Untick Show warning before emptying the Trash.
That's it — the "are you sure" dialog is gone, and the Trash empties on command. The setting persists across restarts and behaves the same on macOS 13 Ventura, 14 Sonoma, and 15 Sequoia. Re-tick the box any time you want the prompt back.
If you'd rather set it from the command line, the same preference is one Terminal line:
# Turn the empty-Trash confirmation off
defaults write com.apple.finder WarnOnEmptyTrash -bool false
killall Finder
# Undo — turn it back on
defaults write com.apple.finder WarnOnEmptyTrash -bool true
killall Finder
Keep a softer safety net instead
If the prompt made you feel protected, replace it with a habit that protects you better than a dialog does:
- Let the Trash auto-empty. In Finder → Settings → Advanced, tick Remove items from the Trash after 30 days. Deleted files get a month-long grace period, then clear themselves — so you rarely need to empty manually at all.
- Use Put Back before you empty. A quick glance in the Trash and a Put Back on anything that shouldn't be there is a real review, unlike a reflexive click on a warning you've stopped reading.
Between those two, you get the reassurance the dialog was pretending to offer, without a confirmation click on every single empty.
One prompt this doesn't remove
It's worth knowing the limit of this setting so you're not surprised later. The WarnOnEmptyTrash preference controls only the confirmation for emptying the Trash. It does not touch the separate warning you get when you delete a file immediately — the File → Delete Immediately command (Option+Cmd+Delete), which skips the Trash entirely and erases the file on the spot.
That "Delete Immediately" dialog says the item "will be deleted immediately" and stays put no matter what you do here, because it's the only chance to reconsider a delete that has no Trash to fall back on. So after turning off the empty-Trash warning, a prompt that still appears when you erase something isn't a bug — it means you triggered the immediate-delete path, not a normal move-to-Trash. If you want to keep a safety net, prefer the ordinary Delete that sends files to the Trash, where they wait until you empty.
Mainspring makes the empty-Trash confirmation a labelled toggle you can turn off today and flip straight back on if you miss it — no setting is one-way. It's one of 90+ hidden macOS tweaks it keeps honest and reversible.
Try Mainspring free →Signed & notarized by Apple · 1-day free trial · $29 once
If a file really is gone
Emptied something you needed after all? It's not always lost. See how to recover deleted files on Mac for Time Machine and other routes back.