If your WhatsApp Web QR code won’t scan or keeps failing, the fix is usually a combination of refreshing the page, clearing your browser cache, and ensuring your phone’s time and date are correct. Below are eight proven fixes, ordered from the simplest to the more involved, that resolve the vast majority of QR code issues.
Why Does WhatsApp Web Use a QR Code?
WhatsApp Web is a mirror of your phone’s chat history. It doesn’t store messages on your computer; instead, it syncs in real time with your phone. The QR code is a secure, one-time token that links your phone to the browser session. When you scan it with the WhatsApp app on your phone, the two devices establish an encrypted connection. This design means that if your phone can’t reach WhatsApp’s servers, or if the browser can’t reach the same servers, the QR code will fail to work. Understanding this helps you troubleshoot logically: the problem is almost always a connection or timing issue between your phone, your browser, and WhatsApp’s servers.
Fix 1: Refresh the Page and Rescan
The QR code expires after about 30 seconds. If you take too long to scan it, or if your phone’s camera lags, the code becomes invalid. The simplest fix is to refresh the WhatsApp Web page (press F5 on Windows or Cmd+R on Mac) to generate a fresh QR code. Then, open WhatsApp on your phone, tap the three-dot menu (Android) or the gear icon (iPhone), select Linked Devices, and tap Link a Device. Point your phone at the new code. This clears any temporary glitch in the code generation.
Fix 2: Check Your Phone’s Date and Time
WhatsApp uses your phone’s clock to validate the encrypted handshake. If your phone’s date or time is off by even a few minutes, the QR code will be rejected. Go to your phone’s settings and ensure Automatic date & time (or Set automatically on iPhones) is enabled. If it’s already on, toggle it off and on again to force a re-sync with your carrier’s network. This is a surprisingly common cause, especially after traveling across time zones or when a phone’s battery has been completely drained.
Fix 3: Clear Your Browser Cache and Cookies
Your browser stores a local copy of WhatsApp Web’s files. If those files become corrupted or outdated, the QR code may not display correctly or the page may hang. Clear the cache and cookies for the web.whatsapp.com domain only (not your entire browser history). In Chrome, click the padlock icon next to the URL, then Site settings > Clear data. In Firefox, click the padlock, then Clear cookies and site data. After clearing, refresh the page and try again. This also removes any old session tokens that might conflict with a new link.
Fix 4: Use a Different Browser or Incognito Mode
Browser extensions, especially ad blockers and privacy tools, can interfere with WhatsApp Web’s scripts. A quick test is to open WhatsApp Web in an incognito or private window (which disables most extensions). If it works there, your extensions are the problem. Alternatively, switch to a different browser entirely—Chrome, Firefox, Edge, or Safari all support WhatsApp Web. If you’re on an older browser version, update it, as WhatsApp Web requires modern JavaScript features.
Fix 5: Update the WhatsApp App on Your Phone
An outdated WhatsApp app on your phone may not generate a scannable QR code that matches the current web version. Go to the Google Play Store or Apple App Store and check for updates. After updating, restart your phone and try linking again. This is especially important if you haven’t updated in months, as WhatsApp frequently changes its security protocols.
Fix 6: Disable VPN or Proxy Connections
VPNs and proxy servers can make your browser appear to be in a different country, which may cause WhatsApp’s servers to reject the session. Temporarily turn off any VPN on both your computer and your phone, then try scanning again. If you must use a VPN, try a different server location. Similarly, corporate or school networks with strict firewalls can block the WebSocket connection that WhatsApp Web uses. If you’re on a work network, try using your phone’s mobile hotspot for the computer instead.
Fix 7: Reset Your Browser’s Network Settings
Sometimes the browser’s own network stack gets stuck. In Chrome, go to Settings > Privacy and security > Security and check that Use secure DNS is not set to a custom provider that might be failing. Also, try flushing your DNS cache: on Windows, open Command Prompt and type ipconfig /flushdns. On Mac, run sudo killall -HUP mDNSResponder. Then restart your browser. If you’re on a corporate network, check if it requires a proxy configuration that your browser isn’t picking up automatically.
Fix 8: Unlink All Devices and Start Fresh
If you have many linked devices, or if a previous session is stuck, WhatsApp may refuse new links. On your phone, go to Linked Devices and tap Log out of all devices. Then close the WhatsApp Web tab on your computer, reopen it, and scan the new QR code. This clears any lingering session conflicts. If you still have problems, also consider restarting your phone and your computer before trying again.
Frequently Asked Questions
Why does my WhatsApp Web QR code keep refreshing?
The QR code automatically refreshes every 30 seconds for security. If it’s refreshing faster than that, your browser’s clock may be out of sync. Check your computer’s time and date settings, and enable automatic time sync. Also, a weak internet connection can cause the page to reload, which generates a new code.
Can I use WhatsApp Web without scanning a QR code?
No, the QR code is the only official way to link a new device. However, once linked, you can use WhatsApp Web without scanning again until you log out. The QR code is a one-time handshake that establishes a persistent encrypted session.
Does WhatsApp Web work if my phone is off?
No. WhatsApp Web mirrors your phone, so your phone must be on and connected to the internet. If your phone is off, the web session will show a “phone not connected” message. However, with the multi-device feature, your phone can be off for a short time and the web session will still work, but it will eventually disconnect if the phone stays off for too long.
Why does the QR code scan but nothing happens?
This usually means the code was scanned successfully but the connection failed. Check your phone’s internet connection (try loading a webpage), and ensure your computer’s browser allows pop-ups from WhatsApp. Also, make sure you’re scanning the code with the WhatsApp app’s built-in scanner, not your regular camera app—the regular camera may not trigger the link.
Is WhatsApp Web safe to use on a public computer?
It’s risky. If you forget to log out, someone else can read your chats. Always use Log out from the menu when you’re done, and consider using the “log out from all devices” option on your phone as a safety net. On a public computer, also avoid checking the “Keep me signed in” option if it appears.
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
- Wii Browser Games With a USB or Bluetooth Controller
- Delete Focus on iPhone: Quick Steps
- Access Your Computer From Anywhere: Step-by-Step
- How to Get More Disk Space on Mac: 12 Fixes
- Open System Configuration in Windows 10: 7 Ways
- How to Connect VPN: Step-by-Step Setup Guide