WhatsApp Web Keeps Disconnecting
Short answer
A linked device logs out automatically if your phone has not connected to the internet for 14 days — that is the rule behind most unexplained sign-outs. The other common cause is the browser clearing site data on exit, which deletes the session key. Use the WhatsApp desktop app instead of a browser if the problem keeps recurring.
On this page
WhatsApp Web signing you out is usually one of two rules working exactly as designed, and neither is a fault. The difficulty is that the interface never tells you which rule applied, so a planned expiry and a broken browser configuration look identical from the chair.
Start by working out which pattern you have, because the fixes have nothing in common.
Which disconnection is yours
| Pattern | Almost certainly |
|---|---|
| Signed out after a holiday or a dead phone | The 14-day inactive-phone rule |
| Signed out every time you close the browser | Browser clearing cookies on exit |
| Drops mid-session, reconnects by itself | Network or the tab being suspended |
| Signed out on one machine while another works | The four-device limit |
The 14-day rule
A linked device signs out automatically if your phone has not connected to the internet for 14 days. Not the computer — the phone.
This is the explanation for the great majority of sign-outs that seem to come from nowhere. A phone that was off, broken, in a drawer, or abroad with data disabled for a fortnight ends every linked session at once, on every computer, with no warning.
There is no setting to change it and no way to extend it. The only action is to bring the phone online and link again.
Linking again is quick: on the computer go to web.whatsapp.com, then on the
phone open Settings → Linked devices → Link a device and scan the code.
Browser settings that end the session early
If you are signed out every single time you close the browser, the session key is being deleted locally.
WhatsApp Web stores its credentials in the site’s cookies and local storage. Any of the following removes them:
- “Clear cookies and site data when you close all windows” in Chrome’s privacy settings.
- Private or incognito windows, which discard everything on close by design.
- Browser cleaner extensions, which do this on a timer whether you asked recently or not.
- “Delete browsing data on exit” in Firefox or Edge, same mechanism.
- CCleaner-style desktop utilities, which clear browser storage as part of a general sweep.
In Chrome, the fix is an exception: Settings → Privacy and security → Third-
party cookies, find Sites allowed to use cookies (labelled Allowed to
use third-party cookies in some versions), and add web.whatsapp.com.
Then check Settings → Privacy and security → Delete browsing data → On exit and make sure cookies are not in the list, or that WhatsApp is excepted.
If a cleaner extension is the cause, the honest fix is to configure it or remove it. An extension whose job is deleting site data will keep deleting this one.
Use the desktop app instead
If the browser keeps fighting you, stop using the browser. The WhatsApp desktop app for Windows and macOS stores its session in its own application data, out of reach of browser privacy settings and cleaner utilities.
It links the same way — Settings → Linked devices → Link a device on the phone — and it keeps the session across reboots far more reliably than a browser tab does. It also receives notifications when it is not in the foreground, which a background tab frequently does not.
For anyone using WhatsApp Web daily, this is the fix rather than a workaround.
Mid-session drops
A session that reconnects on its own after a few seconds is a network interruption, not a sign-out, and the banner wording makes it look worse than it is.
Two things cause it more than anything else:
Tab suspension. Chrome’s Memory Saver discards tabs you have not touched
recently, and a discarded WhatsApp tab drops its connection until you click
back. Add web.whatsapp.com to the Always keep these sites active list
under Settings → Performance, or pin the tab. The mechanism is explained in
how Chrome manages tab memory.
Wi-Fi instability. If other things on the machine also drop, the tab is reporting a genuine network problem rather than causing one. That is a different guide — Wi-Fi that keeps disconnecting covers the causes.
The four-device limit
You can link four devices alongside your phone. Linking a fifth signs out the least recently used one.
This produces a confusing symptom: a machine you had not opened for a month is signed out, while the ones you use daily are fine. Nothing broke; you simply linked something else.
Audit the list occasionally under Settings → Linked devices on the phone. It shows each device with its last-active time. Remove anything you do not recognise immediately — a linked device can read your entire history and send messages as you, which is precisely why checking this list is worth the ten seconds.
What does not help
- Clearing WhatsApp’s data on the phone. The link lives on the server and in the browser. Nothing about the phone’s local cache affects it.
- Reinstalling WhatsApp on the phone. Same reasoning, with the added risk of a restore going badly.
- Scanning the QR code repeatedly. If the link keeps dropping, the cause is one of the rules above and re-scanning just resets the clock.
- A VPN. It changes nothing about session persistence and occasionally triggers additional verification.
Realistic outcomes
With the browser configured to keep WhatsApp’s cookies, or with the desktop app installed, a linked session stays alive indefinitely as long as the phone comes online every couple of weeks.
If your phone genuinely spends long stretches offline, there is no configuration that prevents the 14-day sign-out. Re-linking takes about fifteen seconds, which is the trade WhatsApp has chosen on your behalf between convenience and not leaving an abandoned session readable forever.