WhatsApp Web Password: How to Lock It
In this article
WhatsApp Web does not have a built-in password or PIN of its own. The real way to secure it is to lock the browser session that keeps you signed in, either with your computer's own screen lock or with a browser feature such as a password-protected profile. This guide walks through the practical options, what each one protects against, and how to log out of WhatsApp Web everywhere if you are worried someone already has access.
What You'll Need
- A computer with WhatsApp Web already paired to your phone, or your phone in hand to pair it.
- Your operating system's account password or PIN (Windows, macOS, Linux, or ChromeOS).
- Optionally, a browser that supports multiple profiles with separate passwords, such as Chrome or Edge.
- Access to your phone's WhatsApp app for the linked-devices menu.
Step-by-Step
- Understand what you are locking. WhatsApp Web runs inside a browser tab and stays signed in until you log out or your phone disconnects it. The password you add is therefore a lock on the browser or the computer, not a setting inside WhatsApp itself. Menu labels can differ slightly by version, device, and region, so treat the paths below as guides.
- Set a screen lock on your computer. On Windows, open Settings > Accounts > Sign-in options and make sure a password or PIN is set, then set the screen to lock automatically under Settings > Personalization > Lock screen > Screen saver settings (or use Dynamic lock). On macOS, open System Settings > Lock Screen and set "Require password after screen saver begins or display is turned off" to Immediately. This is the single most effective step: anyone who walks up to an unlocked machine can read your chats.
- Lock the screen whenever you step away. On Windows press Windows key + L. On macOS press Control + Command + Q. On Linux, most desktops use Ctrl + Alt + L. Get into the habit; it takes one second and closes the gap that a browser password cannot.
- Use a separate browser profile for WhatsApp Web. In Chrome or Edge, open the profile menu (the circle icon at the top right), choose Add, and create a profile named something like "Chat." Give that profile its own Google or Microsoft account sign-in. When you close the browser, that profile's session is harder for someone else using your main profile to reach.
- Turn on your browser's own password prompt where available. ChromeOS and some managed Chrome setups can require the device password to open a profile. On Windows and macOS, the browser itself does not offer a per-profile password, so rely on the OS account password plus the screen lock from step 2. Do not install third-party "WhatsApp locker" extensions; they ask for access to your messages and are not official.
- Keep the phone as the gatekeeper. On your phone, open WhatsApp > Settings > Linked devices. You will see every browser currently signed in. Tap any device you do not recognise and choose Log out. Because WhatsApp Web needs your phone to stay connected, turning off your phone's Wi-Fi and mobile data, or closing WhatsApp on the phone, will disconnect the web session after a short period.
- Log out of WhatsApp Web when you are done on a shared computer. In the WhatsApp Web window, open the menu (three dots) and choose Log out. Then clear the browser's history for that site if you are on a public or work machine.
- Enable two-step verification on your phone. In WhatsApp, go to Settings > Account > Two-step verification and set a six-digit PIN. This does not lock the web tab, but it stops someone from re-registering your number on another phone if they get hold of your SIM.
Common Mistakes
- Looking for a "password" toggle inside WhatsApp Web. There isn't one; the lock has to come from the computer or browser.
- Relying on the browser's "remember me" and then leaving the laptop open in a café or office.
- Installing unofficial browser extensions or "vault" apps that claim to password-protect WhatsApp Web. They can read every message you send.
- Forgetting that WhatsApp Web mirrors your phone. Logging out of the web tab does not delete chats from your phone, and deleting chats on the web deletes them on the phone too.
- Assuming a password on the browser profile protects you from someone who knows your computer login. It does not; use a separate OS user account if you share the machine.
Tips
- Use a short screen-lock timeout (one minute or less) so an unattended machine locks itself.
- On a shared family computer, create a second OS user account for yourself and sign in only to that account for WhatsApp Web.
- Check Linked devices on your phone once a month and remove anything you do not recognise.
- If you use a password manager, store your computer login there rather than on a sticky note near the screen.
- Keep your phone's screen lock on. WhatsApp Web depends on the phone, and a locked phone is the last line of defence.
Troubleshooting
If WhatsApp Web keeps signing you out, check that your phone has a stable connection and that WhatsApp is allowed to run in the background. If the QR code will not scan, clean the camera lens, increase screen brightness, and make sure the phone and computer are on the same network only if your organisation requires it. If you cannot find the Linked devices menu, update WhatsApp from the official app store; older versions hide it in a different place. If someone else has used your computer and you are unsure what they saw, log out of all linked devices from your phone, change your computer login password, and sign out of your browser account on that machine. Clearing browser cookies for web.whatsapp.com will also force a fresh QR scan. None of these steps delete your chats from your phone; they only end the web session.
Frequently Asked Questions
Can I put a password directly on WhatsApp Web?
No. WhatsApp Web has no built-in password or PIN. You secure it with your computer's screen lock, a separate browser profile, or by logging out when finished.
Does logging out of WhatsApp Web delete my messages?
No. Logging out only ends the browser session. Your chats stay on your phone, and you can pair the browser again by scanning the QR code.
Will a browser extension lock WhatsApp Web safely?
Do not use one. Extensions that claim to lock WhatsApp Web need permission to read page content, which means they can see your messages. Use the official options instead.
How do I see which devices are signed in to my WhatsApp?
On your phone, open WhatsApp > Settings > Linked devices. Every active web or desktop session is listed there, and you can log out any of them.
Does two-step verification lock WhatsApp Web?
No. Two-step verification protects your phone number from being re-registered elsewhere. It does not add a password to the web tab.
What happens if I lose my phone while WhatsApp Web is open?
The web session may keep working until the phone disconnects. From another device, use WhatsApp's account recovery options, and once you regain the number, open Linked devices and log out everything you do not recognise.