The Windows Recycle Bin keeps deleted files indefinitely by default. There is no built-in expiry date: a file stays until you empty the bin, restore the file, or the bin reaches its size limit, at which point Windows removes the oldest items to make room. The exception is Storage Sense. If it is turned on, it can automatically delete files that have been in the Recycle Bin for longer than a set number of days, 30 days by default. Some deletions never reach the Recycle Bin at all.
Here is how the size limit works, how Storage Sense changes things, which files skip the bin, and how to change the settings.
What decides how long a file stays
| What empties it | When | Default |
|---|---|---|
| You | When you choose Empty Recycle Bin, or delete items from inside it | Manual |
| The size limit | When a new deletion would push the bin over its maximum size | A percentage of each drive |
| Storage Sense | When items are older than the chosen number of days | 30 days, only when Storage Sense is on |
| Disk Cleanup | When you tick Recycle Bin and run it | Manual |
So on a PC where Storage Sense is off and the bin never fills up, a file can sit in the Recycle Bin for years.
How the size limit works
Each drive has its own Recycle Bin with its own maximum size. Files deleted from C: go into the bin on C:, files deleted from D: into the bin on D:, and so on. The Recycle Bin icon on the desktop simply shows all of them together.
The default maximum is a percentage of the drive's size, commonly described as about 10 percent of the first 40 GB plus 5 percent of the space above that. On a 1 TB drive that works out to tens of gigabytes. When a deletion would take the bin over its limit, Windows permanently removes the oldest items first. If a single file is bigger than the whole bin, Windows warns you that the file is too big for the Recycle Bin and asks whether to delete it permanently.
How to check or change the size
- Right-click the Recycle Bin on the desktop and choose Properties.
- Select the drive in the list at the top.
- Under Custom size, enter a new Maximum size (MB).
- Click OK. Repeat for each drive you want to change.
Avoid the option Don't move files to the Recycle Bin. Remove files immediately when deleted. With it turned on, every delete on that drive behaves like Shift+Delete.
How Storage Sense can empty the bin
Storage Sense is a Windows 10 and 11 feature that frees up space automatically. One of its settings deletes files that have been in the Recycle Bin longer than a chosen time. To see what your PC is set to:
- Open Settings → System → Storage.
- Click Storage Sense (in Windows 10, Configure Storage Sense or run it now).
- Check whether automatic cleanup is on, and look at Delete files in my recycle bin if they have been there for over. The choices are Never, 1 day, 14 days, 30 days and 60 days.
Storage Sense may also have been switched on for you by a PC maker or a work policy, and once it is on, its default schedule runs it whenever the drive gets low on free space, which can be at any time. If files you expected to find in the bin have gone, this is the most likely reason. Our article on Storage Sense deleting files covers what it removes and how to get those files back.
Which deletions skip the Recycle Bin
Some files never go to the Recycle Bin, so there is nothing to wait for:
- Shift+Delete in File Explorer, which deletes permanently after a confirmation.
- USB flash drives and SD cards. Windows deletes from removable media immediately.
- Network drives and shared folders. Deleted files may go to a recycle bin on the server, if it has one, but not to yours.
- Command-line deletions such as
delin Command Prompt orRemove-Itemin PowerShell. - Files too big for the bin. Windows asks first.
- Files deleted by many programs that remove their own files directly, including some cleanup tools.
External hard drives that Windows treats as fixed disks usually do have their own Recycle Bin, but it is easy to assume otherwise. Check before concluding a file is gone.
What happens when a file leaves the bin
When the Recycle Bin is emptied, or a file is pushed out by the size limit or Storage Sense, Windows marks the space as free. The file's data usually stays on the drive until new files overwrite it. That is why files removed from the bin can often be recovered with software, especially on hard drives, USB drives and SD cards. On an internal SSD with TRIM enabled, Windows tells the drive the space is free and the SSD often clears it quickly, so recovery there is much less likely.
Getting files back after the bin is emptied
- Stop saving to the drive the file was on. Close programs that download or create files on it.
- Check backups and versions: File History, OneDrive's own recycle bin and version history, or Previous Versions on the folder.
- Scan the drive with recovery software if those do not have it.
Drive Restorer runs a quick scan that finds recently deleted files, including those removed from the Recycle Bin, often with their original names and folders. You can preview each file in Drive Restorer, check its recovery chance rating and restore it to a different drive. Our full guide on how to recover files after emptying the Recycle Bin walks through it step by step.
Sensible Recycle Bin settings
- Keep the Recycle Bin turned on for every internal drive.
- If you use Storage Sense, set the Recycle Bin option to 30 or 60 days rather than 1 day, or to Never if you prefer to empty it yourself.
- Raise the maximum size on drives where you delete large files, such as video folders, so big deletions do not push older items out.
- Remember that files deleted from USB sticks and SD cards are gone from view immediately, so double-check before deleting from them.
Frequently asked questions
Does the Recycle Bin delete files automatically?
Not by default by age. Files stay until the bin is full or you empty it, unless Storage Sense is set to remove items older than a set number of days.
How big is the Recycle Bin?
By default about 10 percent of the first 40 GB of a drive plus 5 percent of the rest. You can change the size in Recycle Bin Properties.
Which deletions skip the Recycle Bin?
Shift+Delete, files deleted from USB flash drives and SD cards, network drives, command-line deletions and files too big for the bin.
