KemptDesk

Is it safe to delete AppData and Temp files in Windows?

For PCWindows 10 and Windows 11 (checked against version 26H2)Reviewed 23 November 20267 min read

Quick answer

Files in %TEMP% (C:\Users\<name>\AppData\Local\Temp) and C:\Windows\Temp are safe to delete, and Windows skips files that are in use. Do not delete the AppData folder or its Local, LocalLow and Roaming folders: they hold every app's settings, logins and data. Clear app caches inside the app, or delete only a documented cache folder after you quit the app.

On this page
  1. Where it is
  2. What Local, LocalLow and Roaming hold
  3. Which parts are safe to delete
  4. How to clean Temp files by hand
  5. How to clear app caches inside AppData
  6. How KemptDesk handles this
  7. Questions
  8. Sources

AppData is one of the places that grows without warning on a full C: drive. It is part of what to delete when the C drive is full.

Where it is

AppData is a hidden folder inside your user folder. The quickest way to open each part is the Run dialog: press Windows logo key + R, type the path below, and select OK.

  • %USERPROFILE%\AppData: the whole folder, usually C:\Users\<name>\AppData.
  • %LOCALAPPDATA%: AppData\Local.
  • %USERPROFILE%\AppData\LocalLow: AppData\LocalLow.
  • %APPDATA%: AppData\Roaming.
  • %TEMP%: your Temp folder, AppData\Local\Temp.
  • C:\Windows\Temp: the Temp folder that Windows and services use.
KemptDesk Hidden space list on Windows: AppData folders such as Temp, CrashDumps, npm-cache, Google and Slack, each with its size and a label that reads safe to remove, check first, resets an app or protected.
Hidden space in KemptDesk

What Local, LocalLow and Roaming hold

Local holds data that stays on this computer. Browser profiles live here, for example %LOCALAPPDATA%\Google\Chrome\User Data and %LOCALAPPDATA%\Microsoft\Edge\User Data. Microsoft Store apps keep their data in %LOCALAPPDATA%\Packages, and that includes the new Teams app and WSL Linux distributions.

LocalLow is for apps that run with low rights. Microsoft's integrity rules let a low-integrity process write only to a few places, and AppData\LocalLow is the file system one.

Roaming holds the settings and data of desktop apps. For example, classic Teams keeps its files in %appdata%\Microsoft\Teams. The name comes from roaming user profiles, which copy a user's profile to a server so the same settings follow the user to other PCs on a company network.

That is why you must not delete AppData, or one of these three folders, as a whole. Every app would lose its settings and sign-ins, and browsers would lose their profiles. A WSL distribution keeps its whole Linux system in an ext4.vhdx file under %LOCALAPPDATA%\Packages\<package>\LocalState, so it would be gone too.

Which parts are safe to delete

PathWhat it isSafe to deleteWhat happens if you delete itHow to clean it
%TEMP%Your temporary filesYesNothing you need; files in use are skippedCleanup recommendations, Storage Sense, or the steps below
C:\Windows\TempTemporary files of Windows and servicesYesNothing you need; Windows may ask for administrator permissionDisk Cleanup with Temporary files, or the steps below
%USERPROFILE%\AppDataAll app settings and dataNoEvery app resets; browser profiles, sign-ins and WSL disks are lostClean only inside it
%LOCALAPPDATA%Data that stays on this PCNoBrowsers, Store apps and WSL distributions lose their dataClean caches in each app
%USERPROFILE%\AppData\LocalLowData of apps that run with low rightsNoThose apps lose their dataClean inside the app
%APPDATA%Settings and data of desktop appsNoApps start as if new; local data is lostClean caches in each app
%appdata%\Microsoft\TeamsClassic Teams cacheYesTeams rebuilds it, starts slower once, and loses its diagnostic logsQuit Teams, then delete the files in it
%userprofile%\appdata\local\Packages\MSTeams_8wekyb3d8bbwe\LocalCache\Microsoft\MSTeamsNew Teams cacheYesSame as classic TeamsQuit Teams, then delete the files in it
%LOCALAPPDATA%\Google\Chrome\User DataChrome profilesNoHistory, bookmarks, settings and sign-ins are lostChrome > Delete browsing data
%LOCALAPPDATA%\Microsoft\Edge\User DataEdge profilesNoHistory, favorites, settings and sign-ins are lostEdge > Clear browsing data

How to clean Temp files by hand

Use the built-in tools first. They know which temporary files are safe and skip the rest.

  1. Select Start > Settings > System > Storage > Cleanup recommendations.
  2. Open Temporary files, select what to remove, and select Clean up.
  3. To do this automatically, turn on Storage Sense on the same Storage page. By default it removes temporary files when the drive is low on space.

Disk Cleanup also has a Temporary files item. In the search box on the taskbar, type Disk Cleanup, select it, choose drive C:, then select Temporary files, OK and Delete Files.

To empty your Temp folder yourself:

  1. Close the apps you use. If an installer asked you to restart the PC, restart first.
  2. Press Windows logo key + R, type %temp% and select OK.
  3. Press Ctrl + A to select everything, then press Delete.
  4. If Windows says a file is in use, skip it. That file belongs to a running app.
  5. Empty the Recycle Bin. Deleted files still use space until you do.

To empty C:\Windows\Temp, open it in File Explorer and repeat steps 3 to 5. If Windows asks for administrator permission, select Continue.

How to clear app caches inside AppData

Clear a cache from inside the app when the app offers it. The app knows which files are cache and which are your data.

Microsoft Edge

Open Edge, select Settings > Privacy > Clear browsing data, or type edge://settings/clearbrowserdata in the address bar. The shortcut is Ctrl + Shift + Delete. Select only cached images and files if you want to stay signed in to websites.

Google Chrome

  1. Open Chrome. At the top right, select More > Delete browsing data.
  2. Choose a time range, such as All time.
  3. Select the items to delete. Leave Cookies and other site data unselected to stay signed in to websites.
  4. Select Delete data.

Some sites load more slowly the next time, because their images download again.

Microsoft Teams

For classic Teams, quit Teams, open %appdata%\Microsoft\Teams with Windows logo key + R, delete all files and folders in it, and restart Teams.

For new Teams, quit Teams and do the same in this folder:

cmd
%userprofile%\appdata\local\Packages\MSTeams_8wekyb3d8bbwe\LocalCache\Microsoft\MSTeams

You can also select Settings > Apps > Installed apps, find Microsoft Teams, select the More options button (...) > Advanced options, and then Reset. A reset deletes the app data, including your personalization settings. Microsoft notes that clearing the Teams cache also deletes the diagnostic logs needed to find the cause of chat problems.

Other apps

Look in the app's settings or support pages for a clear-cache option first. For developer tools, see which developer caches are safe to delete. Large model files from AI tools are covered in where local AI models are stored.

Decide like this for any folder in AppData:

  • Delete it if the app documents it as a cache, or if you uninstalled the app and will not use it again.
  • Keep it if you do not know which app owns it, or if the app is still installed.

How KemptDesk handles this

In System Junk, KemptDesk selects Temporary files (%TEMP%, files older than 24 hours), Windows temporary files (C:\Windows\Temp, older than 24 hours, needs administrator), browser caches and app caches of Discord, Slack, VS Code, classic Teams, Notion, Figma and Spotify. These are Safe to clean; logins, history and bookmarks are not touched. Files in use are skipped. KemptDesk never removes AppData, Local, LocalLow or Roaming as a whole. Hidden space lists each AppData subfolder with its size and an explanation; app data is labelled "resets an app" (Breaks an app) and is never selected for you. KemptDesk does not clean the new Teams cache.

Questions

Can I safely delete everything in the AppData Temp folder?

Yes. Windows skips files that are in use, and apps create new temporary files when they need them. Avoid it while an installer is waiting for a restart.

Is it safe to delete the AppData folder?

No. AppData holds the settings, sign-ins and data of every app, including browser profiles and WSL Linux disks. Delete only caches inside it, using each app's own option where it has one.

Why is my AppData folder so big?

Browser profiles, chat and meeting apps, Store apps, WSL and Docker disks, and AI tools all keep data there. In Local, LocalLow and Roaming, right-click a large app folder and select Properties to see its size, then clean it inside that app.

Is it safe to delete files in AppData\Roaming?

Only files you know are cache or belong to an app you removed. Deleting an app's folder in Roaming resets that app and can delete local data that is not stored anywhere else.

Will clearing the browser cache sign me out of websites?

Not if you clear only cached images and files. Google says deleting cookies and other site data signs you out of websites, so leave that item unselected.

Sources

See what is safe to delete on your computer

KemptDesk scans your disk, explains every folder and selects only what apps can rebuild. The scan is free and cleans up to 500 MB. No account.

Then pay once from $59 or yearly from $9.99 for the first year until 31 December 2026, then $24.99. One license covers Macs and PCs. See plans