WhatsApp's in-app scanner always opens the rear camera by default, so there's no switch that tells it "use the front camera." You get the front camera to read the code by putting the QR code on another screen in front of you, pointing your phone's rear camera at that screen, then flipping the phone around so you can see the display — the scan happens with the rear lens either way. On most phones the front camera can't read QR codes inside WhatsApp at all, with one exception: phones that support WhatsApp's face-unlock feature, where the front camera briefly scans your face rather than a code. The steps below cover the phone-to-phone case, the laptop-to-phone case, and what to do when the front camera is the only camera that works.

Why WhatsApp's scanner won't switch to the front camera

WhatsApp's QR reader is built on the camera frameworks of iOS and Android, and it defaults to the rear lens because that lens focuses faster and reads codes at a distance. The app exposes no camera selector in the scanner screen. You'll see a flash toggle and, on some Android builds, a gallery icon to pick a saved QR image — but not a front/rear switch.

That matters for what follows. "Scan with my front camera" usually means one of two real-world situations:

The QR code is on a screen facing you (a laptop, a tablet, a friend's phone), and you want to point your phone at it without turning the phone around. You're on a video call, sharing your screen, and someone needs to scan a code that's on your phone.

Neither requires the front lens. Both require the rear lens aimed at a display, with you watching from behind the phone. The workaround is positioning, not settings.

What you need before you start

Requirement Detail Why it matters
WhatsApp version A build with the in-app scanner (current Play Store / App Store release) Older sideloaded builds may lack the scanner tab
Camera permission WhatsApp allowed to use the camera in system settings Without it, the scanner shows a black frame
A second screen Laptop, tablet, or another phone displaying the QR code This is the code you'll point at
Lighting Screen brightness turned up on the display device Dim screens defeat the scanner at close range
Distance 10–20 cm between phone and screen Closer usually blurs; farther usually fails to focus

Check the camera permission first. On Android, go to Settings → Apps → WhatsApp → Permissions → Camera and confirm it's allowed. On iPhone, Settings → WhatsApp → Camera and confirm the toggle is on. If WhatsApp has never been granted camera access, the scanner screen opens to a blank black rectangle with no error message — that's the symptom, not a bug.

Scan a WhatsApp Web or Desktop code with your phone

This is the most common reason people ask about the front camera: the WhatsApp Web QR code is sitting on a laptop screen, and the phone has to read it. Here's the sequence that works.

Prerequisites: WhatsApp installed and logged in on the phone; a browser open at web.whatsapp.com on the computer; both devices connected to the internet.

1: On the computer, open web.whatsapp.com. A large QR code appears in the browser, with a countdown-style refresh every 20 seconds or so. 2: On the phone, open WhatsApp. 3: On Android, tap the three-dot menu (top right) and choose Linked devices; on iPhone, tap Settings (bottom tab) → Linked devices. 4: Tap Link a device. The scanner opens with the rear camera active. 5: Hold the phone so the rear lens faces the laptop screen, roughly 15 cm away, and center the QR code inside the square frame. 6: Watch the phone screen from behind — you don't need to see the front of the phone. When the code registers, the app confirms the link and the browser loads your chats.

Success check: the browser switches from the QR screen to your chat list within a few seconds, and the phone shows the computer in its Linked devices list with a device name and last-active time.

If it fails: the QR refreshes before you line it up, so the phone reports "invalid code." Refresh the browser page and try again, keeping the phone steadier. If the scanner never focuses, wipe the rear lens — a smudged lens is the most common cause of a blurry, unscannable frame at close range.

Scan a QR code from another phone's screen

When the code is on a friend's phone — a WhatsApp contact card, a group invite link, or a payment code — the same positioning trick applies. Ask them to turn their screen brightness to maximum, open the code full-screen, and hold their phone still.

1: Open WhatsApp on your phone and go to the scanner: the camera icon in the search bar on Android, or Settings → the QR icon next to your name on iPhone (the exact placement varies by version — look for the scanner entry in the search bar or the Settings screen). 2: Point the rear camera at their screen from about 15 cm. 3: Hold both phones still for two to three seconds. Movement is the main reason a code on a screen fails. 4: Confirm the action WhatsApp proposes — opening a chat, joining a group, or adding a contact.

If the code is a WhatsApp payment code, the scanner opens the payment flow instead of a chat. That flow is region-specific, and WhatsApp Pay isn't available everywhere; if your region doesn't support it, the scan returns an "unsupported" message rather than an error you can fix in settings.

The video-call trick: showing a QR code to someone else's front camera

The flip side of the question is the one people actually need on a call: you're on a video call, and the person on the other end needs to scan a code that lives on your phone. Their front camera is what's pointed at them, so make the code readable on your screen.

Open the QR code full-screen on your phone and raise your screen brightness to maximum. Hold the phone steady at arm's length, square to the camera, and fill most of the frame with the code. Turn off any blue-light filter or night mode — it shifts the colors and can break contrast. Ask them to hold their phone about 20–30 cm from their face and let their scanner's autofocus settle.

A front camera at video-call resolution reads a bright, stationary, high-contrast QR code reliably. It struggles with glare, motion, and low brightness. If the scan keeps failing, the fastest fix is to send the code as an image in the chat instead — most scanners accept a QR image picked from the gallery.

When the front camera is the only camera that works

A cracked rear lens, a phone in a rugged case that blocks the rear camera, or a rear camera that fails to initialize can leave you with a working front lens and nothing else. WhatsApp's scanner won't use it. The practical routes are:

Use the gallery method. Screenshot or save the QR code image, then open the scanner and use the gallery/picker icon (present on many Android builds) to select the saved image. This bypasses the camera entirely. Scan from the other side. Have the person with the working rear camera scan the code that's on your screen. Link with a phone number instead. For WhatsApp Web, some versions offer "Link with phone number" beneath the QR code — tap it on the computer and enter the eight-character code shown, following the on-screen prompt on your phone. Availability varies by version and region, so check whether the option appears on your browser's login screen.

There's no supported way to force WhatsApp onto the front camera. Third-party "front camera QR" apps exist, but they read the code with their own scanner and then hand the result to WhatsApp only for supported link types — they don't change WhatsApp's behavior and aren't necessary for a web login, which you can complete by entering the pairing code on the phone.

Face unlock is the one place the front camera does scan something

WhatsApp's optional face unlock — available in some versions under Settings → Privacy → Fingerprint lock (the menu label has varied between "Fingerprint lock" and "Biometric lock" depending on version and platform) — uses the front camera to recognize your face when you open the app. That's not a QR scan, and it doesn't scan codes. Don't confuse the two: no setting in that menu will point the scanner at a QR code.

If you've enabled face unlock and the app is asking for your face when you open the scanner, that's the lock screen doing its job. Unlock first, then scan. If face unlock fails repeatedly, fall back to your PIN or fingerprint, then re-enroll your face in the phone's system settings — WhatsApp uses the phone's biometric framework, so a bad enrollment affects every app that relies on it.

Common scanner failures and what actually fixes them

Symptom Likely cause First fix
Black scanner screen Camera permission denied Allow camera access in system settings
"Invalid code" immediately QR refreshed before the scan registered Reload the web page, scan faster
Blurry frame, no focus Smudged lens or too close Wipe lens, hold 15–20 cm away
Scanner opens then closes App or OS glitch Force-close WhatsApp and reopen
Code never detected on a screen Screen brightness too low or glare Max brightness, tilt to kill reflections
Linked but browser stays on QR Network hiccup between phone and server Refresh browser, re-link if needed

Work through these in order. Permission first, then lens and distance, then refresh. A force-close and reopen resolves most one-off scanner freezes and costs nothing.

How to check the scan worked

For a web link, the browser shows your chat list and the phone's Linked devices screen lists the computer with a name and timestamp. For a contact or group code, WhatsApp opens the correct chat or shows the group's name and member count before you join. For a payment code, the payment screen shows the recipient's name — verify it matches who you expect before confirming anything.

If none of those appear, the scan didn't complete, regardless of what the phone's frame showed. Treat the confirmation screen as the only proof.

FAQ

Can I switch WhatsApp's scanner to the front camera?

No. The scanner uses the rear camera and offers no lens selector in current versions. You position the phone so the rear lens faces the code and view the result from behind the phone.

Does WhatsApp Web work if my rear camera is broken?

Often yes, via the "Link with phone number" option on the browser's login screen when your version offers it, or by scanning the code from a device whose rear camera works. Check what your browser login page displays.

Can the front camera read a QR code in a video call?

Yes, when the code is bright, full-screen, square to the camera, and held still. The person scanning uses their own rear camera, so it's their lens doing the work, not yours.

Why does WhatsApp ask for my face when I open the scanner?

You've enabled face unlock — a privacy lock for the app, unrelated to QR scanning. Unlock with your face, PIN, or fingerprint, then scan normally.

These instructions describe general app behavior and vary by WhatsApp version, phone model, and region; check the current menus in your installed app if a label differs.