Auto-Empty the Trash on Mac After 30 Days
macOS can empty the Trash for you: anything that has sat there longer than 30 days gets deleted automatically. It's one checkbox in Finder's settings, with a Terminal equivalent and one trade-off worth understanding before you flip it.
Turn it on in Finder settings
- Click the desktop or a Finder window so Finder is the active app.
- Choose Finder → Settings from the menu bar (or press
⌘,). - Open the Advanced tab.
- Tick Remove items from the Trash after 30 days.
That's it — no confirmation, no restart. Each item in the Trash gets its own 30-day clock, counted from the day it was trashed, so the Trash drains continuously rather than being wiped on a schedule. Anything already older than 30 days is removed shortly after you enable the setting, so glance through the Trash first if it's been accumulating for months.
To turn it off, untick the same box.
Want to see what's due to expire first? Open the Trash, switch to list view (⌘2), and sort by Date Added — in the Trash, that column shows when each item was deleted, so the top of the oldest-first list is what disappears next.
The same switch in System Settings
Apple also surfaces this under storage management: System Settings → General → Storage, then look for Empty Trash Automatically in the recommendations and click Turn On. It flips the identical underlying setting — enable it in either place and the other reflects it. The Storage pane version exists so you find it while hunting for free space; the Finder version is the one you'll come back to when you want it off.
Terminal route
The setting lives in Finder's preferences domain, so you can script it:
# Turn on 30-day auto-empty
defaults write com.apple.finder FXRemoveOldTrashItems -bool true
killall Finder
# Undo: turn it back off
defaults write com.apple.finder FXRemoveOldTrashItems -bool false
killall Finder
The killall Finder restarts Finder so it picks up the change — it's harmless, your windows reopen.
The trade-off: no second chances
Files the system removes this way are genuinely gone. There's no Put Back, no secondary bin, no grace period beyond the 30 days. Two ways to think about whether that's fine:
- If you treat the Trash as a delete button — you only trash things you're done with — turn it on and never think about it again. It's the single lowest-effort storage win on a Mac.
- If you treat the Trash as a "maybe" pile — a holding pen for things you might want back next quarter — leave it off, or move that holding pen to a real folder where nothing expires.
A Time Machine backup softens the risk considerably: any file that existed during at least one backup can be restored from there even after the Trash lets go of it. If you're not backing up, that safety net doesn't exist — 30 days is the whole window.
Worth knowing about the opposite extreme too: for files you want gone right now, select them and choose File → Delete Immediately (⌥⌘⌫). That skips the Trash entirely — useful for huge video files when the disk is critically full and you don't want to wait 30 days for the space back.
Mainspring turns 90+ hidden Finder, Dock, and system settings into labelled, reversible toggles — flip them on and back without memorizing a single defaults command.
Try Mainspring free →Signed & notarized by Apple · 1-day free trial · $29 once
Emptied the Trash but space didn't move?
If you clear gigabytes and the free-space number barely budges, you're probably looking at APFS snapshots or purgeable space doing their accounting. Here's why deleting files doesn't always free space on a Mac — and how to actually get it back.