Microsoft Teams Cache: What It Is and How to Clear It
Microsoft Teams cache is a collection of temporary files that the app stores on your device to speed up loading and reduce network usage. These files include images, messages, user profiles, and other data that Teams has downloaded, so it doesn't have to fetch them again each time you open the app. Clearing the cache can resolve various issues, but it also means Teams will need to re-download that data, which may temporarily slow things down.
What the Teams Cache Contains
The cache is not a single file but a set of folders and databases. In the classic Teams desktop client (the widely used version before the newer Teams client), the main cache locations on Windows are under %appdata%\Microsoft\Teams and %localappdata%\Microsoft\Teams. These folders hold:
- Cache: images, avatars, and other media.
- Code Cache and GPUCache: compiled code and graphics data for the embedded browser.
- Local Storage and IndexedDB: web storage used by the Teams web-based interface.
- Logs: diagnostic logs (not strictly cache but often cleared alongside).
- Application Cache: offline resources.
On macOS, similar data lives in ~/Library/Application Support/Microsoft/Teams. The new Teams client (the one with the "Teams" icon without the "classic" label) stores data in a different location, typically under %localappdata%\Packages\MSTeams_8wekyb3d8bbwe on Windows, and clearing it involves different steps.
Why Clear the Cache?
Over time, cache files can become corrupted or outdated, leading to problems such as:
- Teams failing to load or showing a blank screen.
- Messages not syncing or appearing out of order.
- Images or avatars not displaying correctly.
- Persistent error messages or crashes.
- Login issues or repeated prompts for credentials.
Clearing the cache forces Teams to rebuild its local data from the server, which often resolves these glitches. Microsoft support frequently recommends cache clearing as a first troubleshooting step.
How to Clear the Teams Cache on Windows
The exact steps depend on which Teams client you are using. For the classic Teams desktop app:
- Fully quit Teams. Right-click the Teams icon in the system tray and choose "Quit," or use Task Manager to end any Teams processes.
- Press
Win+R, type%appdata%\Microsoft\Teams, and press Enter. - Delete all files and folders in that directory. You can select all and delete; some files may be in use if Teams is still running, so ensure it's closed.
- Next, navigate to
%localappdata%\Microsoft\Teamsand delete its contents as well. - Restart Teams. It will recreate the cache and may take longer to load the first time.
For the new Teams client (Windows 11 style), the process is different because it runs as a packaged app. You can clear the cache via Settings > Apps > Installed apps > Microsoft Teams > Advanced options > Terminate and then Reset. Alternatively, manually delete the contents of %localappdata%\Packages\MSTeams_8wekyb3d8bbwe\LocalCache after closing Teams.
Note: Menu labels and paths can vary slightly by Windows version and Teams update. Always ensure Teams is fully closed before deleting files.
How to Clear the Teams Cache on macOS
- Quit Teams completely (Teams > Quit Teams or Command+Q).
- Open Finder, press
Shift+Command+G, and go to~/Library/Application Support/Microsoft/Teams. - Move the contents to the Trash. You may need to empty the Trash to free space.
- Restart Teams.
For the new Teams on macOS, the cache is stored in ~/Library/Containers/com.microsoft.teams2. Clearing it follows a similar pattern: quit Teams, delete the cache folders, and relaunch.
What Clearing the Cache Does Not Do
Clearing the cache does not delete your chat history, files, or account settings—those are stored on Microsoft's servers. It also does not sign you out, although you may need to sign in again in some cases. It does not fix issues caused by network problems, outdated app versions, or server-side outages. If clearing the cache doesn't help, check for updates, restart your device, or contact your IT administrator.
Risks and Precautions
Deleting cache files is generally safe, but avoid deleting the entire Teams folder if you're unsure—stick to the cache subfolders. Do not delete files outside the Teams cache directories. If you use the classic Teams client and have important local data (e.g., unsent messages), note that clearing the cache may discard drafts. Always ensure Teams is closed before deleting files to prevent corruption.
Frequently Asked Questions
Does clearing the Teams cache delete my chat history?
No. Chat history is stored in the cloud and will reappear after Teams re-syncs. Clearing the cache only removes temporary local files.
How often should I clear the Teams cache?
Only when you experience issues like loading errors or sync problems. There is no need to clear it regularly; doing so unnecessarily can slow down Teams temporarily as it rebuilds the cache.
Can clearing the cache fix login problems?
It can help if the problem is due to corrupted cached credentials. However, if the issue persists, check your credentials or contact your admin.
Where is the Teams cache located on Windows?
For classic Teams: %appdata%\Microsoft\Teams and %localappdata%\Microsoft\Teams. For new Teams: %localappdata%\Packages\MSTeams_8wekyb3d8bbwe.
Is it safe to delete the entire Teams folder?
Deleting the entire folder may remove settings and require reconfiguration. It's safer to delete only the cache subfolders. If you delete the whole folder, Teams will recreate it on next launch, but you may lose some preferences.
Why does Teams cache grow so large?
Teams caches images, messages, and media to improve performance. Over time, this can accumulate to several gigabytes, especially if you use Teams heavily. Clearing it frees up space.