TechBuzzPro

Microsoft Teams Keeps Opening and Closing: How to Fix It

· 4 min read · Apps & Browsers

In this article
  1. What You'll Need
  2. Step-by-Step
  3. Common Mistakes
  4. Tips
  5. Troubleshooting
  6. Frequently Asked Questions

Yes, this issue is common and usually fixable. Microsoft Teams crashing on launch typically stems from corrupted cache files, conflicting add-ins, or outdated software versions. The most effective solution involves clearing the application cache and resetting the client configuration.

What You'll Need

  • A Windows PC running a supported version of Windows 10 or 11 (this guide focuses on the desktop app, as mobile troubleshooting differs significantly).
  • Administrator access to your computer if you need to perform a clean reinstall.
  • The ability to close all background instances of Teams to ensure cache files are not in use.

Step-by-Step

  1. Force Quit Teams Completely: Simply clicking the "X" button often leaves background processes running. Right-click the Teams icon in the system tray (bottom-right corner near the clock). If you do not see it there, press Ctrl + Shift + Esc to open Task Manager. Find "Microsoft Teams" in the list, right-click it, and select "End Task." Repeat this until no instances remain. This step is critical because Teams locks its cache files while running, preventing deletion.
  2. Delete the Application Cache: Press the Windows Key + R to open the Run dialog. Type %appdata%\Microsoft\Teams and press Enter. Select all files and folders in this directory and delete them. Next, open another Run dialog (Win + R) and type %localappdata%\Microsoft\Teams. Delete all contents here as well. Note that for the "New Teams" (the one with the "NEW" badge), the path is %localappdata%\Packages\MSTeams_8wekyb3d8bbwe\LocalCache\roaming\Microsoft\Teams. Clearing these folders removes temporary data that may be causing the crash loop without deleting your chat history or files stored in the cloud.
  3. Restart Your Computer: After deleting the cache files, restart your PC. This ensures that any lingering system hooks or locked file handles are released by the operating system. A fresh boot provides a clean slate for the application to initialize.
  4. Launch Teams Normally: Open Microsoft Teams from your Start menu. Allow it a few moments to rebuild its cache and sign you back in. If the app opens successfully and stays open, the issue was resolved by the cache clear.
  5. Update the Application: If the problem persists, check for updates. Click your profile picture in the top-right corner of Teams. Select "Check for updates." If an update is available, install it and restart the app. Outdated versions often conflict with newer OS components.
  6. Repair the Installation: Go to Windows Settings > Apps > Installed Apps. Find Microsoft Teams in the list, click the three dots next to it, and select "Modify." Choose the "Repair" option. This will reinstall core files without affecting your personal data. If Repair fails, try "Reset," which performs a more thorough cleanup.

Common Mistakes

Users frequently fail to fully quit Teams before attempting to delete cache files. Because Teams runs in the background even when minimized, the cache folder remains locked, leading to permission errors during deletion. Another common error is skipping the computer restart; without a reboot, Windows may still hold references to the deleted files, causing the app to crash again immediately upon relaunch.

Tips

If you are using the "New Teams" (preview version), note that it stores data differently than the classic version. Always verify which version you are using before navigating to the cache folders. Additionally, disabling hardware acceleration can prevent graphics-related crashes. In the classic Teams app, go to Settings > General > Appearance and uncheck "Turn on hardware acceleration." For the New Teams, this setting is located under Settings > General > Performance. If you have third-party antivirus software, temporarily disable it during the repair process, as some security programs flag Teams' rapid file access as suspicious behavior.

Troubleshooting

If the steps above did not resolve the issue, proceed to advanced checks. First, verify your internet connection; unstable connectivity can cause Teams to hang during authentication. Second, check for Windows Updates, as missing system patches can break app compatibility. Third, create a new Windows user profile and test Teams there. If it works in the new profile, your main user profile is corrupted. Finally, as a last resort, uninstall Teams completely via Settings > Apps, download the latest installer from the official Microsoft website, and reinstall. Warning: Uninstalling does not delete your cloud data, but it removes local settings and cached files permanently.

Frequently Asked Questions

Does clearing the cache delete my chats?

No. Chat history and files are stored in the Microsoft cloud. Clearing the local cache only removes temporary offline data used to speed up loading times.

Why does Teams crash only after I sign in?

This usually indicates a conflict with an add-in or a corrupted profile configuration. Try launching Teams in safe mode by holding the Shift key while clicking the Teams icon. If it stays open, an extension is likely the culprit.

Can I fix this on a Mac?

The steps differ slightly. On macOS, you must quit Teams via the Apple Menu > Force Quit, then navigate to ~/Library/Caches/com.microsoft.teams and ~/Library/Application Support/Microsoft/Teams to delete cache folders manually.

Is this caused by a virus?

Unlikely. While malware can interfere with apps, crashing loops are almost always due to software corruption or conflicts. Run a standard Windows Defender scan if you suspect security issues.

How long does it take to rebuild the cache?

It varies by usage. The first launch after clearing the cache may take 2-5 minutes to index contacts and recent files. Subsequent launches should be normal speed.