How to Use the Windows 11 Storage Sense Feature to Auto-Delete Trash

If your computer is constantly running out of storage space, the culprit is rarely a single, massive application. Instead, it is usually thousands of tiny temporary files, cached web data, and forgotten installers languishing in your Downloads folder.

Instead of manually digging through your C: drive every few months to delete junk, you can enable a built-in Windows 11 feature called Storage Sense. When configured correctly, Storage Sense acts as an automated janitor, silently purging temporary files and emptying your Recycle Bin without any manual input.

How to Enable and Configure Storage Sense

  1. Open the Windows 11 Settings app by pressing Windows Key + I.
  2. In the left-hand sidebar, ensure you are on the System tab.
  3. Click on Storage in the right-hand pane.
  4. Under the “Storage management” section, locate the toggle switch for Storage Sense and turn it On.
  5. To customize how aggressively the tool deletes files, click directly on the text that says Storage Sense (or the arrow next to the toggle switch).

Setting the Automation Rules

Once inside the configuration menu, you can tell Windows exactly what to delete and when to do it.

  • Run Storage Sense: By default, this is set to “During low free disk space.” This means the janitor only acts when your hard drive is critically full. To keep your PC permanently optimized, change this drop-down to Every week or Every month.
  • Delete temporary files: Ensure this box is checked. This allows Windows to safely delete cache files created by applications that are no longer actively running.
  • Delete files in my recycle bin: You can set this to permanently destroy files 1, 14, 30, or 60 days after you initially deleted them. Setting this to 30 days is the safest default.
  • Delete files in my Downloads folder: This is a powerful but dangerous setting. If you frequently download PDF reports or installers and leave them there as an archive, do not enable this. If you only use the Downloads folder as a temporary staging ground, you can set it to automatically purge files that haven’t been opened in 30 days.

If you want to immediately free up space using your new rules rather than waiting for the automated schedule to trigger, scroll to the very bottom of the page and click the Run Storage Sense now button.

Get the best tech tips delivered straight to your inbox.

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