If WhatsApp Desktop keeps logging you out, the fix is usually to clear the app’s cache and re-link your device, or to update the app to the latest version. This article walks through the most common causes and the step-by-step fixes that resolve the issue for most people.
Why WhatsApp Desktop Logs You Out
WhatsApp Desktop (the standalone app for Windows and macOS) is linked to your phone account. The app doesn’t store your full chat history independently; it mirrors the data from your phone. When the link between the two is broken, the desktop app logs out. This can happen for several reasons:
- Inactivity: WhatsApp automatically logs out the desktop app after 14 days of not being used. This is a security feature.
- Phone number change or SIM swap: If you change your phone number or move your SIM to a new device, the old link is invalidated.
- App updates: Occasionally, a buggy update on either your phone or desktop can break the link.
- Corrupted cache or local data: The desktop app stores temporary files that can become corrupted, causing it to forget your session.
- Time and date mismatch: If your computer’s clock is significantly off, the security token that keeps you logged in might be rejected.
- VPN or firewall interference: Some VPNs or strict firewall settings can block WhatsApp’s connection, leading to frequent disconnections and logouts.
Fix 1: Re-link Your Phone
The most direct fix is to simply re-link your phone to the desktop app. This refreshes the authentication token and usually resolves the issue immediately.
- Open WhatsApp on your phone.
- Tap the three-dot menu (Android) or the Settings gear (iPhone).
- Select Linked Devices.
- Tap Link a Device.
- On your desktop, open WhatsApp and you’ll see a QR code.
- Scan the QR code with your phone. Keep your phone unlocked during the scan.
If the app is already logged out, you’ll see the QR code directly on the login screen. If it’s not logged out but you’re having issues, you can force a logout by going to Settings > Linked Devices on your phone, finding your computer, and tapping Log out. Then re-link as above.
Fix 2: Clear the App Cache
Corrupted cache files are a common cause of random logouts. Clearing them forces the app to rebuild its local data. This does not delete your chat history, which is stored on your phone and in the cloud.
On Windows:
- Close WhatsApp Desktop completely (check the system tray for the icon and right-click > Exit).
- Press Win + R to open the Run dialog.
- Type
%appdata%\WhatsAppand press Enter. - Delete the Cache folder. You can also delete the GPUCache folder if it exists.
- Restart WhatsApp Desktop. It will re-sync from your phone.
On macOS:
- Quit WhatsApp Desktop (Cmd+Q).
- Open Finder and press Cmd+Shift+G.
- Type
~/Library/Application Support/WhatsAppand press Enter. - Delete the Cache and GPUCache folders.
- Reload WhatsApp.
If the problem persists, you can also uninstall and reinstall the app. On Windows, use Settings > Apps to uninstall. On macOS, drag the app from Applications to the Trash. Reinstall from the official WhatsApp website or the Microsoft Store/App Store.
Fix 3: Update WhatsApp and Your OS
Running an outdated version of WhatsApp Desktop is a common source of bugs. The app updates automatically in most cases, but you can check manually:
- Windows (Microsoft Store version): Open the Microsoft Store, click Library, then Get updates.
- Windows (direct download version): Open WhatsApp, go to Settings > Help > Check for updates.
- macOS: Open the App Store, click Updates in the sidebar, and install any pending updates for WhatsApp.
Also make sure your operating system is up to date. An outdated OS can cause compatibility issues that lead to the app crashing or losing its session.
Fix 4: Check Your System Clock and Network
WhatsApp uses time-based tokens for authentication. If your computer’s clock is wrong by more than a few minutes, the token is rejected and you get logged out.
- On Windows, right-click the clock in the taskbar and select Adjust date/time. Ensure Set time automatically is on.
- On macOS, go to System Settings > General > Date & Time and enable Set time and date automatically.
Network issues can also cause frequent disconnections. If you’re on Wi-Fi, try switching to a wired connection or restarting your router. If you use a VPN, try disabling it temporarily to see if that stops the logouts. Some corporate firewalls block WhatsApp’s ports; if you’re on a work computer, you may need to ask your IT department to whitelist WhatsApp.
Fix 5: Reset the App Data (Nuclear Option)
If none of the above works, you can perform a full reset of the desktop app. This will remove all local data, including your chat history on the desktop (but not on your phone).
- Log out of WhatsApp Desktop (or uninstall it).
- On Windows, delete the entire
%appdata%\WhatsAppfolder. On macOS, delete the~/Library/Application Support/WhatsAppfolder. - Reinstall the app and log in again by scanning the QR code.
This is a last resort because it means you’ll have to re-download your chat history to the desktop app, which can take a while if you have a large history.
Frequently Asked Questions
Why does WhatsApp Desktop log out every day?
Daily logouts are not normal. The most likely causes are a corrupted cache, a VPN that changes your IP address frequently, or a conflict with your antivirus software. Try clearing the cache first, then disable any VPN or security software temporarily to test.
Does clearing the cache delete my chats?
No. Clearing the cache only removes temporary files like images and thumbnails. Your chat history is stored on your phone and in the cloud (if you have backups enabled). When you re-link, your chats will re-sync to the desktop app.
Why does WhatsApp Desktop say “This account is linked to another device”?
This error usually appears when you try to log in on a second computer while the first one is still active. WhatsApp allows only one active desktop session at a time. Log out of the other computer or use the phone app to manage linked devices.
Can I use WhatsApp Web and Desktop at the same time?
Yes, you can use WhatsApp Web (in a browser) and the Desktop app simultaneously. They are treated as separate devices, but you can have only one of each type active at a time.
Will I lose my chat history if I uninstall WhatsApp Desktop?
No. Uninstalling the desktop app does not delete your chat history from your phone or from the cloud. When you reinstall and re-link, your history will be re-downloaded to the desktop app.
Why does WhatsApp Desktop log out when I restart my computer?
This is often caused by the app not closing properly or by startup settings. Make sure you quit WhatsApp normally (right-click the tray icon and select Exit) before shutting down. Also, check your startup programs to ensure WhatsApp isn’t being forced to run in a compatibility mode that causes a crash on boot.
Related
General steps for current mainstream versions; menus can differ by device and version. See the disclaimer or report an error.
More in this bed
- Fix Chinese & Japanese Typing in Android SSH Terminals
- Selenium Tests on IE & Edge: Step-by-Step
- Block Pop-Ups in Windows Browsers: Safe Fixes
- Fix AMD Catalyst Control Center Missing on Windows
- Google Pixel vs OnePlus: Key Differences
- Unleash Your Inner App Developer: Getting Ready