Security and privacy

Can scanning a QR code hack your phone?

Scanning a QR code can't hack your phone by itself. The real risks are fake websites, harmful apps, and actions you approve. How to stay safe, and what to do.

No, scanning a QR code can’t hack your phone by itself. A QR code is just text, usually a web address, and reading it doesn’t run anything on your phone. The danger comes from what the code leads you to do next: opening a fake website that asks for your passwords or card details, downloading a harmful app, or approving an action like joining a network or sending a message. Those risks are real, and they’re easy to avoid once you know them.

What a QR code can and can’t do

When you scan a code, your phone decodes the text and shows it to you. What happens next depends on the content and your scanner:

The code contains What your phone does Can it do harm on its own?
A website link Offers to open it in your browser No, but the website might try to trick you
Wi-Fi details Offers to join the network No, but an untrusted network can watch unencrypted traffic
A phone number or SMS Opens the dialer or messages, ready to send No, you still have to press call or send
A contact card Offers to save the contact No
A UPI payment request Opens your UPI app with the details filled in No, but your PIN approves a payment from you
An app download link Opens the browser or a download page No, but installing the file could

A code can’t switch on your camera, read your messages, or install an app without you. On a modern, updated Android phone, every one of those needs your approval.

The real risks

Fake websites (phishing)

This is by far the most common risk. A code leads to a page that looks like your bank, a delivery company, or a parking service, and asks you to log in or pay. Anything you type goes to the scammer. The FBI’s Internet Crime Complaint Center has warned about tampered codes used this way. QR code phishing explains the tricks.

Harmful app downloads

A code can link to an app file (an APK) hosted outside Google Play. If you allow installs from unknown sources and install it, the app gets whatever permissions you grant it. That’s the main way a QR code could lead to malware on Android. Google Play Protect scans apps, but the safest rule is simple: install apps only from Google Play.

Approving something you didn’t mean to

Codes can pre-fill a text message to a premium number, a call, an email, or a UPI payment. Nothing is sent until you confirm, but if you tap through without reading, you could send it.

Browser vulnerabilities

In theory, a website could exploit a security flaw in an out-of-date browser. It needs an unpatched flaw, and it’s the same risk as tapping any link in a message. Keeping Android and your browser updated closes known flaws.

How to stay safe

  • Read the link before you open it. Check the real domain. How to check a QR code before you open it shows how.
  • Don’t install apps from a QR code. Search for the app in Google Play by name instead.
  • Keep “Install unknown apps” switched off for your browser and messaging apps (Settings › Apps › Special app access).
  • Keep Android, your browser, and apps updated.
  • Don’t log in or pay on a page you reached from a code you weren’t expecting. Go to the official app or website yourself.
  • Read before you confirm any call, message, network, or payment a code sets up.
  • Never enter your UPI PIN to receive money. See UPI QR code scams.

If you think you scanned something harmful

  1. Close the page if you haven’t entered anything. Opening a page alone rarely does harm on an updated phone.
  2. If you entered a password, change it now on the real website, and turn on two-step verification.
  3. If you entered card or bank details, or paid, call your bank immediately to block the card or dispute the payment.
  4. If you installed an app, uninstall it (Settings › Apps), then run a Google Play Protect scan from the Play Store’s profile menu.
  5. Report it. In India, call 1930 or report at cybercrime.gov.in. In the US, report at reportfraud.ftc.gov and ic3.gov.

How EveryQR can help

EveryQR, the Android app I make, never opens a link on its own by default (an optional setting can open web links from live camera scans, and it’s off unless you turn it on). It shows the full content and the link’s real web address first, with warnings for http links, text before an @ in the address, and lookalike letters from other alphabets. Calls, messages, Wi-Fi, and payments always wait for you to tap. It doesn’t judge whether a site is safe, so read the address and use the checklist above.

Browse all QR code guides.

All QR codes guides