How to delete temporary files and folders (TEMP)

Latest update: June 28, 2023 ID: 1161

Optimal protection for Windows

Kaspersky for Windows protects your digital life with technologies that go beyond anti-virus.


Every application creates temporary files on the computer in the TEMP folder while it is running. These files are deleted once the application ends. However, sometimes these files are not deleted and take up space on the hard drive. This could be as result of an error in the application.

To independently clear the TEMP folder in Microsoft Windows for your account:

  1. Open the Run window by pressing The Windows key on the keyboard+R on the keyboard.

Opening the Run window in Windows

  1. Type %TEMP% and click OK.

Opening the TEMP folder in Windows

  1. Press Ctrl + A on the keyboard to select all the files in the folder.
  2. Press Del (Delete) on the keyboard to delete the files.

Some files in the TEMP folder cannot be deleted if the application that created them is currently running. We recommend that you skip such files when deleting.

Did you find this article helpful?
What can we do better?
Thank you for your feedback! You're helping us improve.
Thank you for your feedback! You're helping us improve.