Closing the Tab Isn't Logging Out: How WhatsApp Web Sessions Actually Behave
Most of us carry a mental model of WhatsApp Web that's about five years out of date: "it's just a mirror of my phone, so if my phone is off, the computer can't do anything." That stopped being true when WhatsApp moved to
Most of us carry a mental model of WhatsApp Web that's about five years out of date: "it's just a mirror of my phone, so if my phone is off, the computer can't do anything." That stopped being true when WhatsApp moved to linked devices, and it's the reason people leave sessions open on hotel and office computers without realising.
Here's the current model, based on WhatsApp's Help Center pages on linked devices.
The model: one primary, up to four linked devices
- Your phone is the primary device.
- A browser or desktop app is a linked device. You can have up to four.
- Each linked device connects to WhatsApp independently and keeps working when the phone is offline.
That third point is the one that matters. A linked session is closer to a separate logged-in client than a screen share.
What actually ends a session
| Action | Ends the session? |
|---|---|
| Close the browser tab | Not necessarily; only if "Stay logged in on this browser" was unticked before scanning the QR code |
| Turn the phone off / airplane mode | No |
| Log out from Linked devices on the phone | Yes, immediately |
| Log out inside WhatsApp Web / desktop | Yes, if you're still at that computer |
| Do nothing | After 30 days of inactivity for that device; all linked devices log out if the phone isn't used for 14 days |
Thirty days is a long time for a stranger's PC to have your chats open.
Three things people get wrong
"Logging out deletes what I downloaded." It doesn't. It removes the device's access, but a PDF or photo you saved from a chat stays in that computer's Downloads folder.
"I can log out my lost phone from WhatsApp Web." You can't. It only works one way: the phone can remove linked devices, not the other way round.
"WhatsApp will tell me who used my account." WhatsApp says it can't tell you who accessed your account or when, so act first rather than waiting for that information.
A habit worth building
Before scanning a QR code on any computer that isn't yours, untick "Stay logged in on this browser". Then once in a while, open the Linked devices list and remove anything you don't recognise. If something unfamiliar shows up, turn on two-step verification too.
If you've already walked away from a shared computer, here's the step-by-step way to log out of WhatsApp Web from an iPhone or Android phone, with what to do for sold, lost and work laptops. Menu names shift a little between app versions, so follow what your screen shows.
Originally published by Dev.to Security. Aggregated on AIWithGhost for educational purposes — full credit and traffic to the original publisher.