Skip to content

Empty the Trash automatically after 30 days — via Apple Support

Hidden settinglow riskmacOS 14 Sonoma and later

Files sit in the Trash forever until you empty it, quietly using disk space. This setting permanently deletes anything that has been in the Trash for 30 days, so you get a safety window without the clutter.

Relaunch the app it changes (Finder, Dock…) to see it

The easy way

  1. The easy way: Finder > Settings > Advanced and turn on Remove items from the Trash after 30 days.
  2. Or in Terminal run the command.

Command

Run in Terminal (Applications › Utilities).

defaults write com.apple.finder FXRemoveOldTrashItems -bool true; killall Finder

Undo

defaults delete com.apple.finder FXRemoveOldTrashItems; killall Finder
Deleted items are gone for good after the 30 days, so keep a backup (such as Time Machine) if you rely on the Trash as a safety net.

Sources

Source reviewed
2026-11-02
Link checked
2026-11-02
Tested hands-on
Not by Oddbyte.Me

Oddbyte.Me hasn't tried this on every macOS version, so keep the undo handy.

trashbindisk spaceauto emptyfinder

More in Finder