Your PC has been feeling sluggish lately. Apps take longer to open, searches crawl, and the hard drive light blinks like it’s working overtime. Before you blame aging hardware or reach for your wallet, check one thing first: temporary files. Windows quietly piles them up over time, and clearing them out is one of the quickest, safest ways to reclaim disk space and give your system a little breathing room.

This guide walks you through several methods — from the built-in tools Windows already gives you to a few manual tricks worth knowing. Pick whichever approach suits you best.

What Are Temporary Files, Exactly?

Temporary files are created by Windows and your applications as they work. Installers unpack files they need only during setup. Browsers cache images and scripts so pages load faster on your next visit. Windows Update keeps old copies of system files in case something goes wrong. These files are meant to be short-lived, but Windows doesn’t always clean them up automatically.

Common types include:

  • System temp files — stored in C:\Windows\Temp
  • User temp files — stored in %AppData%\Local\Temp
  • Browser cache — varies by browser, but usually several hundred megabytes
  • Windows Update cache — can grow to several gigabytes after major updates
  • Recycle Bin contents — files you deleted but haven’t permanently removed
  • Thumbnail cache — previews Windows generates for images and videos

None of these are essential to keep. Deleting them is safe.

Method 1: Use Storage Sense

Storage Sense is Microsoft’s built-in cleanup tool. It can run automatically on a schedule, which means you can set it once and largely forget about it.

Turn on Storage Sense

  1. Open Settings (press Windows + I).
  2. Go to System > Storage.
  3. Toggle Storage Sense to On.
  4. Click Storage Sense (the text link, not just the toggle) to open its settings.
  5. Choose how often it should run — options include every day, every week, or every month. Every month is a sensible default for most people.
  6. Set when to delete files in your Recycle Bin and Downloads folder automatically, if you want that.

Run it manually right now

At the bottom of the Storage Sense settings page, you’ll see a Run Storage Sense now button. Click it for an immediate cleanup without waiting for the schedule.

Method 2: Disk Cleanup

Disk Cleanup has been part of Windows for decades. It’s straightforward and gives you a clear list of what it will delete before it does anything.

  1. Press Windows + S and type Disk Cleanup, then open it.
  2. Select the drive you want to clean — usually C: — and click OK.
  3. Windows scans the drive and shows you a list of file categories with checkboxes. Each one shows how much space you’ll recover.
  4. Tick the categories you want to remove. Safe choices include Temporary files, Temporary Internet Files, Recycle Bin, and Thumbnails.
  5. Click OK, then Delete Files to confirm.

Clean up system files too

For a deeper clean, click Clean up system files in the same window. This requires administrator rights and scans for larger items like Windows Update Cleanup — old update files that Windows keeps around after installing patches. This category alone can free up several gigabytes on a system that’s been running for a while.

Method 3: Delete Temp Files Manually

Sometimes you want to go straight to the source. Here’s how to clear the temp folders directly.

Clear the user temp folder

  1. Press Windows + R to open the Run dialog.
  2. Type %temp% and press Enter. This opens your personal temp folder.
  3. Press Ctrl + A to select everything, then press Delete.
  4. Windows may warn you that some files are in use — click Skip for those. Active processes lock their temp files, and that’s fine to leave.

Clear the system temp folder

  1. Press Windows + R again.
  2. Type temp (without the percent signs) and press Enter.
  3. Select all and delete as before, skipping any files that are in use.

You won’t break anything by doing this. If an app needs a temp file that you deleted, it will simply create a new one.

Method 4: Clear the Windows Update Cache

Windows keeps downloaded update files in a folder called SoftwareDistribution. Once updates are installed, those files serve no purpose — but they can take up a lot of space. Clearing them is safe, though it does mean Windows will have to re-download updates if it needs to reinstall them for any reason.

  1. Press Windows + S and search for Command Prompt. Right-click it and choose Run as administrator.
  2. Type the following commands one at a time, pressing Enter after each:

    • net stop wuauserv

    • net stop bits


    These stop the Windows Update services so you can safely delete the files.
  3. Open File Explorer and navigate to C:\Windows\SoftwareDistribution\Download.
  4. Select all files and delete them.
  5. Go back to the Command Prompt and restart the services:
    • net start wuauserv
    • net start bits

This is the most involved method here, but it’s worth doing if your C: drive is running low and Disk Cleanup alone didn’t free enough space.

Method 5: Clear Your Browser Cache

Browser caches aren’t technically Windows temp files, but they live on your drive and can grow surprisingly large. Here’s the quick path for the most common browsers:

  • Chrome: Press Ctrl + Shift + Delete > set time range to All time > tick Cached images and files > click Clear data.
  • Edge: Same shortcut — Ctrl + Shift + Delete — and the same steps.
  • Firefox: Ctrl + Shift + Delete > choose Everything from the dropdown > tick Cache > click Clear Now.

Clearing the cache means some websites will load slightly slower on your next visit while they rebuild it. That’s a temporary trade-off.

How Often Should You Do This?

If you turn on Storage Sense with a monthly schedule, you mostly don’t need to think about it. For everyone else, a manual cleanup every one to three months is reasonable. If your drive is consistently near capacity, check more often — or consider whether it’s time for a larger drive or cloud storage for your files. Cleaning temp files is a maintenance task, but if your PC is genuinely slow, other factors — too many startup programs, outdated drivers, or insufficient RAM — may be the real culprits. But clearing out the clutter is always a good first step, and now you know exactly how to do it.

,
efriend

Speed up your life. Work faster. Live better. Do things smarter. Your ultimate destination for practical tech knowledge and productivity-enhancing insights. We provide free guides, expert tips, and powerful tricks designed to help you achieve more in less time. Whether you're looking to master software, explore new gadgets, understand online tools, or boost your digital productivity, we bring everything to your fingertips.

You May Like