Launch dealDiskKind Pro for $29 $14.50, once, for the first 100 buyers. Use code LAUNCH100 at checkout.See what Pro adds

How to clear the Teams cache on a Mac

Microsoft has revealed some terminal commands that will delete the cache for the Mac version of Microsoft Teams. Terminal commands are available for both new and classic Teams. We have checked these against the Microsoft article on 25 November 2026, and put in the cases where Microsoft says it should not be cleared.

Updated

Clear the cache for new Teams

You can quit Teams by right-clicking on the Teams icon in the Dock and then selecting Quit, or by using the Command (Cmd) + Q keyboard shortcut. Microsoft Learn

1. Open Terminal

In Finder, open Applications, then Utilities, and double-click Terminal.

2. Type both commands.

This one has a space in the name, so it's quoted here, but Microsoft's article printed it without the quotes and so the command couldn't find the folder.

rm -rf ~/Library/"Group Containers"/UBF8T346G9.com.microsoft.teamsrm -rf ~/Library/Containers/com.microsoft.teams2

3. Start Teams again

The first start may take longer while Teams rebuilds the cache.

Clear the cache for classic Teams

Same first steps, a different folder.

1. Run the command

In Terminal:

rm -r ~/Library/Application\ Support/Microsoft/Teams

2. Restart Teams

Open Teams again.

When not to clear it

Microsoft isn't saying clearing the cache is a 'cure all'.

Missing messages or channels

Microsoft says not to clear the cache for missing messages, chat history, missing channels or wrong unread counts.

It deletes the logs

Clearing the cache also deletes the diagnostic logs needed to find the cause of a problem.

Questions about clearing the Teams cache

How do I clear the Teams cache on a Mac?

Close the Teams app, open Terminal app and delete the cache folders using Microsoft's command, two for new Teams, and one for classic Teams. Start Teams again.

Will clearing the Teams cache delete my chats?

Microsoft didn't mention that it deleted the chat conversations. However, the company says users should not use clearing the cache to try to resolve issues with missing chats and chat history.

Why does Teams start slowly afterwards?

It rebuilds the cache on the first start, which Microsoft says can take longer.

See what else is filling your Mac.

DiskKind Free will show you what each app keeps in your Library, Teams included. It only moves the files you want to the Trash.

The DiskKind app icon