How to Automatically Empty the Trash After 30 Days on Mac

When you delete files, documents, or downloaded installers on a Mac, macOS moves them directly into the Trash container rather than permanently erasing them from your solid-state drive. While this safety buffer prevents accidental data loss, forgotten files inside the Trash continue to consume valuable storage space indefinitely until you remember to empty the bin manually. Apple macOS includes a native, automated retention policy that silently purges items that have resided in the Trash for more than thirty consecutive days.

Enabling Automatic 30-Day Trash Cleanup in Finder Settings

You can turn on automated trash management directly within the primary Finder preferences interface:

  1. Click on any open area of your desktop or select the Finder icon on the far-left edge of your Dock to bring Finder into focus.
  2. Click Finder in the macOS menu bar at the top-left corner of the screen.
  3. Select Settings… (or Preferences… on macOS Monterey and earlier), or press Command + ,.
  4. In the Finder settings window, switch to the Advanced tab (represented by a gear icon).
  5. Locate the checkbox option labelled Remove items from the Trash after 30 days.
  6. Check the box next to Remove items from the Trash after 30 days to activate the automatic deletion policy.
  7. Close the settings dialogue.

How the 30-Day Deletion Cycle Operates

Understanding how macOS handles file expiration ensures your essential data remains safe:

  • Individual File Timers: The 30-day clock begins independently for each file on the exact timestamp it is moved to the Trash. Files placed in the bin today will be removed 30 days from now, while an item moved yesterday will be purged a day earlier.
  • Recovering Files Before Expiry: If you realise you need a deleted file back before its 30-day window closes, double-click the Trash icon on your Dock, right-click the file, and select Put Back. Finder instantly returns the document to its original folder location.
  • Solid-State Storage Health: On modern MacBooks and Mac desktops equipped with unified SSD storage, continuously purging obsolete cache dumps and temporary files prevents your drive from filling up, preserving write endurance and maintaining system responsiveness.

Configuring Storage Optimisation via System Settings

On macOS Ventura, Sonoma, and Sequoia, you can also manage this cleanup policy alongside broader disk space recommendations:

  1. Click the Apple menu () and choose System Settings.
  2. Select General in the left sidebar, then click Storage.
  3. Under the Recommendations cluster, locate the card labelled Empty Trash Automatically.
  4. Click the Turn On… button to activate the 30-day rule directly from the system storage manager.

Get the best tech tips delivered straight to your inbox.

Join thousands of readers mastering Apple, Google, Microsoft, and Linux.