Windows temp folder

Temp Folder on Windows: What It Is and How to Clean It

The Windows temp folder stores short-term files for apps, installers, updates, and background work. Most old files can be cleaned after apps are closed.

Quick answer: Open the user temp folder with %temp%. You can usually delete old files there after closing apps, but skip locked files instead of forcing deletion.

Common temp folder locations

FolderPurpose
%temp%Your user temporary files.
C:\Windows\TempSystem and service temporary files.
Browser cache foldersTemporary web content, images, scripts, and media cache.

How to open the temp folder

  1. Press Win + R.
  2. Type %temp%.
  3. Press Enter.
  4. Review files and folders before deleting.

How to clean it safely

Close apps first, delete only files you are comfortable removing, and skip anything Windows says is in use. Restarting can release some locked temp files.

What to avoid

Do not force-delete locked temp files, and do not clean temp folders while installers, Windows Update, downloads, or exports are still running.

When to use DiskTidy

DiskTidy can scan common temp and cache locations and let you review cleanup candidates before deleting selected items.

FAQ

Is the temp folder important?

It is important while apps are using it. Old leftovers are often safe to remove later.

Why do temp files come back?

Windows and apps recreate temp files whenever they need short-term working space.