Quick answer: Fix a WhatsApp login issue in PC by clearing WhatsApp Web/Desktop data, turning off VPN/proxy/SSL inspection, and re-linking the PC from your phone (Linked devices).
If it still won’t log in, sync Windows date/time, allow WhatsApp through DNS/firewall filtering, then reset the WhatsApp Desktop cache (including Microsoft Store leftovers) and try again.
Quick Fix Checklist
- Confirm which product you’re using: Browser = WhatsApp Web; installed app = WhatsApp Desktop. Use the matching fixes below.
- Re-link cleanly (fastest win): Phone WhatsApp → Linked devices → remove the PC session → Link a device → scan a fresh QR.
- WhatsApp Web quick test: Open an Incognito/Private window → go to https://web.whatsapp.com. If it works there, your normal profile has an extension/cookie setting issue.
- Clear only WhatsApp site data: Delete cookies + storage for web.whatsapp.com (don’t wipe your whole browser).
- Disable VPN/proxy/SSL inspection: VPNs, corporate proxies, and antivirus HTTPS scanning commonly break the login handshake (QR scans but never completes).
- Fix Windows time: Wrong time/timezone causes TLS/certificate failures and endless loading.
- Desktop app cache reset: Fully quit WhatsApp Desktop → delete cache folders (Roaming/Local/Store package) → reinstall from official source.
Causes (realistic, not generic)
- Corrupted cookies/local storage for WhatsApp Web → QR refresh loop, “Something went wrong,” or instant logout.
- Blocked WebSocket/auth traffic by extensions (ad blockers, script blockers) → blank page or stuck loading after QR scan.
- VPN/proxy/SSL inspection (MITM) (Zscaler, FortiGate, antivirus HTTPS scanning) → QR scans but linking never finishes.
- Windows date/time or root certificate issues → TLS handshake fails, endless spinner, or silent login failure.
- DNS filtering / firewall policy (Pi-hole/NextDNS/enterprise DNS) → page loads partially, messages never sync, or “Check your connection.”
- Desktop app cache/token corruption after updates → repeated logouts, blank screen, or can’t authenticate.
- Browser privacy settings blocking storage/cookies for WhatsApp Web → QR won’t persist or session won’t save.
| Cause | What you see | Fix |
|---|---|---|
| Bad cookies/site storage | QR keeps refreshing / session won’t stick | Clear site data for web.whatsapp.com, then re-link |
| Extension blocks scripts/WebSockets | Blank page or stuck loading | Incognito test; disable the blocking extension or allowlist web.whatsapp.com |
| VPN/proxy/SSL inspection | QR scans but never completes | Disable VPN/proxy; bypass SSL inspection/HTTPS scanning for WhatsApp |
| Wrong Windows time/certs | Endless spinner / login fails | Sync time + timezone; run Windows Update; retry |
| DNS filtering/firewall | Loads partially / won’t sync | Test on hotspot; allowlist WhatsApp domains; switch DNS for testing |
| Desktop cache/token corruption | App opens but won’t authenticate / logs out | Quit app, delete cache folders (Roaming/Local/Store package), reinstall |
Step-by-Step Fix
1) Identify WhatsApp Web vs WhatsApp Desktop (don’t mix fixes)
- WhatsApp Web: You open a browser and visit web.whatsapp.com.
- WhatsApp Desktop: You installed an app (Microsoft Store or from whatsapp.com).
Then follow the matching steps below. Mixing steps often wastes time.
2) Re-link the PC session from your phone (prevents “ghost sessions”)
- On your phone: WhatsApp → Linked devices.
- Remove the session for that PC/browser (or remove all if you’ve tried many times).
- On the PC, reload WhatsApp Web/Desktop to generate a new QR.
- Scan the QR and keep the phone unlocked until the PC finishes syncing.
3) WhatsApp Web: clear only WhatsApp data (cookies + storage)
This fixes most WhatsApp login issue in PC cases without wiping other sites.
- Chrome/Edge: Settings → Privacy & security → Site settings → View permissions and data stored across sites (wording varies) → search whatsapp → delete entries for web.whatsapp.com.
- Firefox: Settings → Privacy & Security → Cookies and Site Data → Manage Data → search whatsapp → remove.
Then open https://web.whatsapp.com and scan the new QR.
4) WhatsApp Web: isolate extension/privacy blocking (reliable 60-second test)
- Open an Incognito/Private window.
- Go to web.whatsapp.com and try linking.
If it works in Incognito, fix your normal browser profile:
- Disable extensions one-by-one, starting with ad blockers, script blockers, privacy tools, and antivirus add-ons.
- Check browser privacy settings that block cookies/storage. WhatsApp Web needs storage to keep the session.
- If you use Brave or strict tracking protection, set protection to standard for web.whatsapp.com or add an allow rule.
5) Fix “QR scans but login never completes”: proxy/VPN/SSL inspection
This is the most common real-world failure on work/school networks.
- Windows proxy: Settings → Network & Internet → Proxy → turn off Use a proxy server (unless required by your organization).
- VPN: Disconnect VPN and retry linking.
- Antivirus HTTPS/SSL scanning: Temporarily disable HTTPS scanning and test. If it fixes login, add an exception for WhatsApp Web/Desktop instead of leaving it off.
- Corporate SSL inspection: Ask IT to bypass SSL inspection for WhatsApp traffic; inspection can break authentication/WebSockets.
6) Fix Windows time + certificate problems (common, often missed)
Incorrect time/timezone breaks TLS certificates and can cause endless loading or silent failures.
- Windows Settings → Time & language → Date & time:
- Enable Set time automatically and Set time zone automatically.
- Click Sync now, then restart the browser/app.
Advanced: If your PC hasn’t been updated in a long time, run Windows Update to refresh root certificates, then try again.
7) WhatsApp Desktop (Windows): reset cache + leftover Store package data
Use this when Desktop shows a blank screen, keeps logging out, or won’t finish login after an update.
- Quit WhatsApp Desktop completely (tray icon → Exit). Confirm it’s not running in Task Manager.
- Press Win + R and open each path below. Delete only WhatsApp-related folders.
- %AppData% (Roaming) → delete WhatsApp (if present)
- %LocalAppData% → delete WhatsApp (if present)
- %LocalAppData%\Packages → delete 5319275A.WhatsAppDesktop_* (Microsoft Store version cache)
- %LocalAppData%\Temp → delete WhatsApp-named temp folders (only those clearly related)
Reinstall WhatsApp Desktop from the official source (Microsoft Store or whatsapp.com), then link again.
8) DNS filtering / firewall blocks (when it works on hotspot but not Wi‑Fi)
If WhatsApp logs in on mobile data but fails on your PC Wi‑Fi, your network is likely filtering WhatsApp.
- Confirm: Connect the PC to a mobile hotspot and try logging in. If it works, the issue is your Wi‑Fi network policy.
- Test DNS: Temporarily set DNS to a clean resolver on the PC network adapter and retry login.
- Allowlist: If you manage Pi-hole/NextDNS, check logs and allowlist WhatsApp-related domains being blocked.
- Firewall: Ensure your firewall/security product isn’t blocking WhatsApp Desktop or the browser’s network access.
9) Advanced browser fix: reset only the WhatsApp Web service worker/cache layer
If WhatsApp Web loads a broken UI even after clearing cookies, the service worker cache can be stuck.
- In Chrome/Edge, open WhatsApp Web, then press F12 → Application tab.
- Under Service Workers, click Unregister (if present), then under Storage click Clear site data.
- Reload web.whatsapp.com and link again.
Still Not Working
- Get the exact failure point:
- QR won’t scan: Clean your camera lens, increase screen brightness, zoom browser to 100%, and avoid screen filters/night light.
- QR scans but never completes: Focus on VPN/proxy/SSL inspection and DNS/firewall filtering (Steps 5 and 8).
- Logs in then immediately logs out: Clear site/app data again, remove all linked devices, and re-link only one PC first.
- Try a different browser engine: If Chrome/Edge fails, test Firefox; if Firefox fails, test Chrome/Edge. This isolates profile corruption and extension behavior.
- Try a new browser profile: Create a fresh Chrome/Edge profile (no extensions) and test WhatsApp Web there. If it works, migrate only needed extensions/settings.
- Check Windows network stack (advanced): If multiple secure sites/apps fail, restart the PC and router. If you’re comfortable, run Windows Network Reset (Settings → Network & Internet → Advanced network settings → Network reset) and retry.
- Work/school device management: If you’re on a managed PC, policies may block WhatsApp Web/Desktop. Test on a personal device or ask IT whether WhatsApp is restricted.
- Escalation path:
- Confirm WhatsApp works on the phone itself (send/receive messages).
- Remove all linked devices → reboot phone → link one PC again.
- If Desktop app fails but Web works, keep using Web and reinstall Desktop later (Desktop issues are often cache/update related).
- If it fails on multiple networks and multiple PCs, use WhatsApp in-app Help/Support and include the exact error text and your OS/browser versions.
If WhatsApp works on a hotspot but not on your main network, the root cause is almost always filtering/inspection. If it works in Incognito but not normal mode, it’s almost always extensions or site storage.
If the App Fails but the Browser Works
If the browser version works but the app fails, the account itself is usually not the problem.
Why this happens
This pattern normally points to corrupted app cache, stale local session data, or a device-specific networking issue.
How to fix it
- Use the working browser session as a control test while troubleshooting the app.
- Force close the app and reopen it before trying the same action again.
- Disable VPN, proxy, DNS filtering, or security apps temporarily.
- Update or reinstall the app if the same failure only appears inside the app.
Important notes
- This is one of the fastest ways to narrow the issue to the app layer instead of the account layer.
- If the app still fails after reinstalling, the device configuration may be the next thing to inspect.
Frequently Asked Questions
WhatsApp login issue in PC: why does the QR code keep refreshing on WhatsApp Web?
A constantly refreshing QR usually means corrupted site storage or blocked scripts. Clear site data for web.whatsapp.com, then try linking in an Incognito/Private window; if it works there, disable the extension or privacy setting that’s blocking WhatsApp Web.
QR scans but WhatsApp Web is stuck loading on my PC—what fixes it?
This is most often VPN/proxy/SSL inspection blocking the secure session. Disconnect VPN, turn off Windows proxy, and disable antivirus HTTPS/SSL scanning (or add an exception), then remove the old session in Linked devices and scan a fresh QR.
WhatsApp Desktop keeps logging out on Windows 11 after an update—how do I stop it?
Fully quit WhatsApp Desktop, delete its cache folders in %AppData% and %LocalAppData% (and the Microsoft Store package folder 5319275A.WhatsAppDesktop_* if present), then reinstall from the official source and link again. This clears corrupted session tokens that can survive a normal uninstall.
WhatsApp works on my phone but won’t log in on my PC Wi‑Fi—what does that mean?
It strongly suggests DNS filtering, firewall rules, or SSL inspection on your Wi‑Fi network. Test by connecting the PC to a mobile hotspot; if it works, allowlist WhatsApp-related domains in your DNS filter or ask IT to bypass inspection for WhatsApp traffic.
Can incorrect date/time on Windows cause WhatsApp Web/Desktop login failures?
Yes. Wrong time or timezone can break TLS certificate validation and cause endless loading or silent login failure. Turn on automatic time/timezone, click Sync now, restart the browser/app, and run Windows Update if the PC is missing certificate updates.
I cleared cookies but WhatsApp Web still won’t link—what advanced fix should I try next?
Reset the WhatsApp Web service worker/cache layer: open Developer Tools (F12) → Application → unregister the service worker (if present) and clear site data, then reload web.whatsapp.com and link again. If it still fails, focus on VPN/proxy/SSL inspection and DNS/firewall filtering.