Clear Teams cache on macOS

Updated on October 25, 2025

For Windows, see Clear Teams cache on Windows.

Old Teams

  1. Shut down the Teams app
    • Press Command-Q to quit, or
    • Right-click the Teams icon and choose Quit
  2. Open the default Terminal
    • Open the Finder app
    • Navigate to /Applications/Utilities
    • Double-click Terminal
  3. Paste the following command and hit Enter:
rm -r ~/Library/Application\ Support/Microsoft/Teams

New Teams

  1. Shut down the Teams app
    • Press Command-Q to quit, or
    • Right-click the Teams icon and choose Quit
  2. Open the default Terminal
    • Open the Finder app
    • Navigate to /Applications/Utilities
    • Double-click Terminal
  3. Paste the following commands one at a time, hitting Enter after each line:
rm -rf ~/Library/Group Containers/UBF8T346G9.com.microsoft.teams
rm -rf ~/Library/Containers/com.microsoft.teams2

Frequently Asked Questions

What does the rm – rf command do?

rm is the “remove” command in Unix-based systems such as macOS. It deletes files or directories. The -rf means recursive and force. It tells rm to delete the directory and all subdirectories recursively, and to suppress confirmation problems to force the deletion.

What is a Group Container?

macOS uses App Sandbox for security. Apps store their data in isolated containers. A group container allows multiple apps from the same developer (in this case Microsoft) to share data securely.

What is UBF8T346G9?

This is Microsoft’s Team identifier in Apple’s ecosystem.

Reference

License

Licensed under CC BY 4.0 You are free to share and adapt this content for any purpose as long as you give appropriate credit in a reasonable manner.

No affiliate links

We do not participate in affiliate marketing, and we are not paid to mention products.

Leave a Reply

Your email address will not be published. Required fields are marked *