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

URL: https://www.kemptdesk.com/guides/windows-appdata-temp
Platform: PC
Applies to: Windows 10 and Windows 11 (checked against version 26H2)
Reviewed: 2026-11-23
Publisher: KemptDesk (https://www.kemptdesk.com), a disk clean-up app for Mac and PC

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.

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](https://www.kemptdesk.com/guides/c-drive-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.

## 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

| Path | What it is | Safe to delete | What happens if you delete it | How to clean it |
| --- | --- | --- | --- | --- |
| `%TEMP%` | Your temporary files | Yes | Nothing you need; files in use are skipped | Cleanup recommendations, Storage Sense, or the steps below |
| `C:\Windows\Temp` | Temporary files of Windows and services | Yes | Nothing you need; Windows may ask for administrator permission | Disk Cleanup with Temporary files, or the steps below |
| `%USERPROFILE%\AppData` | All app settings and data | No | Every app resets; browser profiles, sign-ins and WSL disks are lost | Clean only inside it |
| `%LOCALAPPDATA%` | Data that stays on this PC | No | Browsers, Store apps and WSL distributions lose their data | Clean caches in each app |
| `%USERPROFILE%\AppData\LocalLow` | Data of apps that run with low rights | No | Those apps lose their data | Clean inside the app |
| `%APPDATA%` | Settings and data of desktop apps | No | Apps start as if new; local data is lost | Clean caches in each app |
| `%appdata%\Microsoft\Teams` | Classic Teams cache | Yes | Teams rebuilds it, starts slower once, and loses its diagnostic logs | Quit Teams, then delete the files in it |
| `%userprofile%\appdata\local\Packages\MSTeams_8wekyb3d8bbwe\LocalCache\Microsoft\MSTeams` | New Teams cache | Yes | Same as classic Teams | Quit Teams, then delete the files in it |
| `%LOCALAPPDATA%\Google\Chrome\User Data` | Chrome profiles | No | History, bookmarks, settings and sign-ins are lost | Chrome > Delete browsing data |
| `%LOCALAPPDATA%\Microsoft\Edge\User Data` | Edge profiles | No | History, favorites, settings and sign-ins are lost | Edge > 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.

> **Careful:** The **Reset** button on any Store app deletes all of that app's local data, not only its cache. Use it only when you can sign in and set the app up again.

### 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](https://www.kemptdesk.com/guides/developer-caches-node-modules-npm-cargo-gradle). Large model files from AI tools are covered in [where local AI models are stored](https://www.kemptdesk.com/guides/local-ai-models-storage).

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

- [Known folder IDs: LocalAppData, LocalAppDataLow, RoamingAppData (Microsoft Learn)](https://learn.microsoft.com/en-us/windows/win32/shell/knownfolderid)
- [About user profiles (Microsoft Learn)](https://learn.microsoft.com/en-us/windows/win32/shell/about-user-profiles)
- [Designing applications to run at a low integrity level (Microsoft Learn, archived)](https://learn.microsoft.com/en-us/previous-versions/dotnet/articles/bb625960(v=msdn.10))
- [Clear the Teams client cache (Microsoft Learn)](https://learn.microsoft.com/en-us/troubleshoot/microsoftteams/teams-administration/clear-teams-cache)
- [How to manage WSL disk space (Microsoft Learn)](https://learn.microsoft.com/en-us/windows/wsl/disk-space)
- [Free up drive space in Windows (Microsoft Support)](https://support.microsoft.com/en-us/windows/free-up-drive-space-in-windows-85529ccb-c365-490d-b548-831022bc9b32)
- [Manage drive space with Storage Sense (Microsoft Support)](https://support.microsoft.com/en-us/help/5000679)
- [cleanmgr command (Microsoft Learn)](https://learn.microsoft.com/windows-server/administration/windows-commands/cleanmgr)
- [How to manage and clear your cache and cookies (Microsoft Edge)](https://www.microsoft.com/edge/learning-center/how-to-manage-and-clear-your-cache-and-cookies)
- [Clear cache and cookies (Google Chrome Help)](https://support.google.com/accounts/answer/32050?hl=en)
- [Appdata local temp safe to delete (Microsoft Q&A, question wording)](https://learn.microsoft.com/en-us/answers/questions/2562543/appdata-local-temp-safe-to-delete)
- [Delete files and folders in C:\Windows\Temp (Microsoft Q&A)](https://learn.microsoft.com/en-us/answers/a/2002602)
- [AppData\Local\Microsoft\Edge\User Data is taking up around 90GB (Microsoft Q&A, question wording)](https://learn.microsoft.com/en-us/answers/questions/2385701/c-users-appdatalocalmicrosoftedgeuser-data-is-taki)
