How to Auto Delete Old Files in Your Mac Downloads Folder
If you were hoping for a checkbox that deletes downloads older than 30 days, there isn't one. Ask on Apple's community forum and the answer is short: no such setting exists, and the Downloads folder keeps everything until you move it.
What macOS does have is a handful of parts you can combine to auto delete old files in Downloads. Some are one-off, some run on their own, and one involves Terminal. Below is each one, what it's good for, and the part that tends to go wrong.
My pick, if you only read this far: turn on Empty Trash Automatically today. Every other method on this page gets safer the moment that's on.
First, Decide What "Old" Means
Before you automate any deletion, pick the date you trust. Finder tracks several, and they disagree more often than you'd expect.
Date Added is when the file landed in Downloads. This is almost always the one you want. Date Modified can be years older than the download itself, because some files keep the timestamp from the server or from whoever made them. A rule like "delete anything modified more than 30 days ago" can wipe a PDF you saved this morning.
To check, open Downloads in Finder, switch to List view (Command-2), right-click the column header and turn on Date Added. Sort by it. Everything below the last month is your real "old" pile, and looking at it once tells you whether automatic deletion is a good idea at all.
For most people the bottom of that list is installers, zips and screenshots. Now and then it's a tax form.
Storage Settings: The Fastest Manual Sweep
Open System Settings, go to General > Storage, and click the info button next to Documents. You get a browser that lists large files and downloads with their sizes and dates, and you can select a batch and delete it from there.
It isn't automatic. It is the quickest way to clear a few gigabytes without hunting folder by folder, so do it once before you set anything else up. Automating on top of a 3,000-file backlog just means the rule chews through stuff you never looked at.
One caution: Apple's help pages don't say whether files deleted from this panel go to the Trash, and they may skip it, so double-check what you've selected before you click Delete.
The 30-Day Trash Rule: A Safety Net, Not a Cleaner
On the same Storage screen there's a recommendation called Empty Trash Automatically. Apple's description is plain: items that have been in the Trash for more than 30 days get erased. You can also switch it on in Finder under Settings > Advanced > "Remove items from the Trash after 30 days".
This doesn't touch Downloads at all. What it does is turn the Trash into a holding area. Anything you (or a script) move to the Trash stays recoverable for a month, then disappears without you doing anything.
The Terminal method below, and Shortcuts set up the way I describe, move files to the Trash instead of erasing them outright. This setting is what makes that both safe and hands-off.
Shortcuts: Scheduled Deletion Without Terminal
The Shortcuts app can do the whole job. The rough recipe:
- Add Find Files, set the location to Downloads, and add a date filter so only files older than 30 days match.
- Add Delete Files and pass it the results. Keep the confirmation option on for the first few runs, and if you see an option to delete immediately, leave it off so files go to the Trash.
- On macOS Tahoe or later, open the Automation section, click +, and create a personal automation with the Time of Day trigger set to weekly. On older versions of macOS you run the Shortcut by hand or from the menu bar.
Action and filter names shift a little between macOS versions, so check which date fields Find Files offers on your Mac. If Date Added isn't there, use Creation Date and look at the results before you let anything get deleted.
One tip: for the first run, swap Delete Files for Quick Look. You'll see exactly what would go.
The catch is the usual one with home-made automations. Nothing tells you when one quietly stops running. Open Downloads once a month anyway.
Terminal: One Line, for People Who Like That Sort of Thing
If you're comfortable in Terminal, this lists files at the top level of Downloads that were created more than 30 days ago:
find ~/Downloads -maxdepth 1 -type f -Btime +30 -print
-Btime uses the file's creation date, which for a download is usually close to when it arrived. (The more common -mtime uses Date Modified, with the problem described above.) Run it as-is and read the list first.
Once the list looks right, send the matches to the Trash rather than deleting them:
find ~/Downloads -maxdepth 1 -type f -Btime +30 -exec trash {} +
The trash command ships with recent macOS (it's there on Sequoia). If your Mac says "command not found", stop at the listing step and drag the files to the Trash yourself.
Scheduling this with cron or launchd is fiddlier than it looks, because macOS privacy protections often block background jobs from reading Downloads until you grant extra permissions. If that sentence made sense to you, you'll manage. If it didn't, use the Shortcuts route.
Sort Before You Delete
This is where every automatic deletion rule falls down: it can't tell a forgotten installer from a lease agreement. Both are old, both sit in Downloads, and only one of them is safe to lose.
That gap is what Ornix fills, and since this is our app, here's exactly what it does and doesn't do. Ornix is a Mac menu bar app that watches a folder and moves each new file into a subfolder by type the moment it lands: Image, Video, Audio, Document, Compressed, Installer and Other. It skips files that are still downloading, so a half-finished .crdownload doesn't get moved mid-transfer.
Ornix never deletes anything. It only moves files. What changes is how fast you can decide what to throw away.
Once disk images and packages live in Installer and zips live in Compressed, clearing the old ones takes ten seconds. Open the folder, sort by Date Added, select everything older than a month, press Command-Delete. Your documents are in a different folder, so they can't end up in that selection by accident.
One setting to know: Installer sorting starts switched off for a new folder, so a disk image you're about to open doesn't move out from under you. Turn it on in the folder's settings under Category filters.
If you'd rather not have files moving all day, set the folder to sort on a schedule instead of instantly: daily, on weekdays, or weekly. For the pile that's already there, Organize Preview lists where every file would go before anything moves.
Every move goes into a history with Undo, covering the last 50 moves for 7 days. And if you drag a file back to where it was within five minutes, Ornix leaves it alone.
The free version watches one folder, which is all you need for Downloads. Pro is a one-time $4.99 (no subscription) if you want more folders, say Desktop as well. Ornix needs macOS Sonoma or later.
A Five-Minute Monthly Routine
Put the pieces together and Downloads mostly looks after itself, with one short check a month:
- Turn on Empty Trash Automatically, so anything you throw away is gone after 30 days.
- Let new downloads get sorted by type as they arrive, by Ornix or by a folder automation you build.
- Once a month, open Installer and Compressed, sort by Date Added, and trash anything older than a month.
- Glance at Document and Other before deleting anything there. That's where the important stuff hides.
If your Downloads folder is already overflowing, start with the one-time cleanup in How to Clean Up Your Downloads Folder on Mac, then come back and set this up.
Common Questions
Does macOS delete old downloads on its own?
No. Safari has a setting under Settings > General called "Remove download list items", but it only clears the list in Safari's downloads window. The files stay in Downloads.
Is it safe to auto delete everything older than 30 days?
For installers and archives, usually yes. For documents, not without looking first. That's why sorting by type and then deleting by category is safer than one rule for the whole folder.
Will deleted files go to the Trash?
With the Finder and Terminal methods above, yes, because both move files there. With Shortcuts it depends on the Delete Files options, so check them. Either way, pair it with the 30-day Trash rule so a mistake stays recoverable for a month.
The Short Version
Turn on Empty Trash Automatically. Sort new downloads by type. Once a month, trash the old installers and zips in one go and leave your documents alone.
A rule that deletes by date alone will eventually take something you needed. A folder full of installers is the easy part to clear.
