Empty the Trash automatically after 30 days — via Apple Support
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
- The easy way: Finder > Settings > Advanced and turn on Remove items from the Trash after 30 days.
- Or in Terminal run the command.
Command
Run in Terminal (Applications › Utilities).
defaults write com.apple.finder FXRemoveOldTrashItems -bool true; killall FinderUndo
defaults delete com.apple.finder FXRemoveOldTrashItems; killall FinderDeleted 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
- Change Finder settings on Mac — by Apple Support
- Empty bin items after 30 days — by Yann Bertrand, macos-defaults.com
- 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.