How to Automatically Empty the Recycle Bin in Windows 11
Most people delete files and forget the Recycle Bin even exists until it’s somehow eating up 20GB of space they didn’t know they were losing. Since Windows never empties it on its own by default, deleted files just sit there indefinitely, still technically taking up storage, until someone remembers to empty it manually. The good news is you don’t have to remember at all, Windows 11 has a built in way to automate this completely, so old deleted files clear out on their own on a schedule you set once and never think about again.
Here’s how to set it up, along with a few related options worth knowing about.
Why the Recycle Bin Doesn’t Empty Itself by Default
This is worth understanding before turning on automatic cleanup, since it explains why this feature isn’t already on. The Recycle Bin exists specifically as a safety net, giving you a chance to recover a file you deleted by accident before it’s actually gone for good. If Windows cleared it out automatically without asking, that safety net would disappear, which is why this is an opt-in feature rather than something turned on from the start.
Once you set up automatic emptying, you’re essentially deciding how long that safety window should last, whether that’s a few days or a full month, before deleted files are cleared out for good.
Method 1: Set Up Automatic Cleanup Using Storage Sense
This is the easiest and most reliable way to automate Recycle Bin cleanup in Windows 11, since it’s built directly into the system and doesn’t require any extra software.
- Open Settings ( Windows key + I )
- Go to System > Storage
- Turn on Storage Sense if it isn’t already enabled
- Click into Storage Sense to open its detailed settings
- Under Automatic User content cleanup, find the section labeled Delete files in my Recycle Bin if they have been there for over
- Choose how many days you’d like deleted files to sit before being permanently removed (options typically include 1, 14, 30, or 60 days)

Once this is set up, Windows handles the rest automatically in the background, running periodically without needing you to open anything or click a single extra button going forward.
Method 2: Run Storage Sense Manually Right Now
If you want to clear out the current backlog immediately rather than waiting for the next scheduled cleanup, you can trigger Storage Sense to run right away.
- Go to Settings > System > Storage
- Click Storage Sense to open its page
- Click Run Storage Sense now near the top

This runs an immediate cleanup based on whatever settings you’ve configured, which is a good way to test that everything is working correctly before relying on it to run automatically going forward.
Method 3: Automatically Empty the Recycle Bin Using Task Scheduler
If you want more control over exactly when and how often the Recycle Bin gets emptied, beyond what Storage Sense offers, Task Scheduler lets you build a custom automated task.

- Search for Task Scheduler in the Start menu and open it
- Click Create Basic Task in the right hand panel
- Give it a name like Empty Recycle Bin and click Next
- Choose how often you want it to run ( Daily, Weekly, or Monthly ), then click Next and set your preferred time
- Select Start a program as the action, then click Next
- In the Program/script field, type:
powershell.exe
- In the Add arguments field, type:
-command "Clear-RecycleBin -Force"
- Click Next, review the summary, and click Finish

This method is a bit more technical, but it gives you full control over the schedule, independent of Storage Sense’s preset day-based options, which is useful if you want something like a strict weekly cleanup rather than a “delete after X days” rule.
Method 4: Set a Recycle Bin Size Limit Instead of a Time Limit
Rather than clearing files based on how long they’ve been sitting there, you can also limit the Recycle Bin by storage size, so it automatically starts removing the oldest files once it hits a certain size, regardless of how many days have passed.
- Right click the Recycle Bin icon on your desktop
- Select Properties
- Set a Maximum size (in MB) for how much space the Recycle Bin is allowed to use
- Click Apply, then OK

Once the Recycle Bin reaches this size limit, Windows automatically starts deleting the oldest files to make room for newly deleted ones, which works well if you’re more concerned about storage space than about a specific time window.
Should You Set It to Delete Quickly or Give It More Time?
This really comes down to how you personally use your computer, but here’s a reasonable way to think about it:
- Short window (1 – 7 days) makes sense if you’re tight on storage space and rarely need to recover something you deleted, since it keeps the Recycle Bin from building up much at all
- Medium window (14 – 30 days) is a solid middle ground for most people, giving enough time to notice and recover an accidental deletion without letting deleted files pile up indefinitely
- Longer window (60 + days) is worth considering if you have plenty of free storage and want extra peace of mind, especially if you tend to delete things somewhat impulsively and occasionally regret it
There’s no universally “correct” setting here, it’s really about balancing how much storage space matters to you against how much of a safety net you want for accidental deletions.
What Happens to Files Once the Recycle Bin Empties Them
It’s worth knowing that “emptying” the Recycle Bin doesn’t mean the data is instantly and completely gone from your hard drive at the file system level, at least not in the way people sometimes assume. The space those files occupied gets marked as available for Windows to reuse, but the actual data can sometimes still be recovered using specialized data recovery software until that space gets overwritten by new files.
For most everyday purposes, this doesn’t matter much, once it’s out of the Recycle Bin, it’s effectively gone from a normal user’s perspective. But if you’re dealing with genuinely sensitive files (like financial documents or personal information) and want to be extra sure they can’t be recovered by anyone, a dedicated secure file deletion tool is a better option than relying on a normal emptied Recycle Bin.
How to Check If Storage Sense Is Actually Working
After setting this up, it’s reasonable to want some confirmation it’s actually doing something rather than just taking your word for it that the setting was saved correctly.
- Go to Settings > System > Storage
- Look at the storage breakdown near the top, this reflects your current usage and will show a lower number over time if Storage Sense is actively cleaning things up
- Check the Storage Sense page itself, which sometimes shows the last time it ran under its activity history, depending on your Windows version

If you want more direct confirmation, you can also right click the Recycle Bin icon and check whether it visually appears empty after the scheduled time period has passed. If Storage Sense was configured correctly and enough time has gone by based on your chosen setting, older deleted files should no longer be sitting there.
Excluding Specific Folders from Automatic Cleanup
Storage Sense’s automatic cleanup isn’t limited to just the Recycle Bin, it can also affect temporary files and your Downloads folder if you’ve enabled those options, which occasionally catches people off guard when a file they meant to keep gets swept up in a broader cleanup.
If you want to keep automatic Recycle Bin cleanup enabled but avoid Storage Sense touching your Downloads folder or temporary files, go back into Settings > System > Storage > Storage Sense and review each section individually, since the Recycle Bin cleanup, temporary file cleanup, and Downloads folder cleanup are typically controlled as separate toggles rather than one single all or nothing setting. Turning off the sections you don’t want, while leaving the Recycle Bin cleanup on, gives you the automation you’re after without accidentally losing files you actually meant to hold onto.
Frequently Asked Questions
Will automatically emptying the Recycle Bin delete files I still need?
Only if they’ve been sitting in the Recycle Bin longer than the time window you set. As long as you choose a reasonable number of days, this gives you plenty of opportunity to notice and restore an accidental deletion before it’s automatically cleared out for good.
Can I recover a file after Storage Sense has already deleted it from the Recycle Bin?
Not through normal means. Once a file is cleared from the Recycle Bin, whether manually or automatically, it’s no longer recoverable through Windows itself. At that point, recovery would require third party data recovery software, and even then, success isn’t guaranteed, especially if time has passed and new files have been saved since.
Does Storage Sense only clean the Recycle Bin, or does it do more?
Storage Sense can also clean up temporary files and old files sitting in your Downloads folder, depending on which options you enable, so it’s worth reviewing the full Storage Sense settings page rather than just the Recycle Bin section if you’re looking to free up more space overall.
Is it safe to set the Recycle Bin to empty automatically?
Yes, as long as you set a reasonable time window (like 14 or 30 days) rather than something extremely short. This still gives you a meaningful safety net for accidental deletions while preventing the Recycle Bin from silently taking up storage space indefinitely.