What happens when you point your phone at a QR code

A QR code is a square barcode made of black and white dots. When you point your phone's camera at it, the phone reads the pattern and opens whatever is linked to that code — usually a website, a phone number, contact information, or WiFi login details. You do not need a separate app on most phones made in the last five years; the built-in camera app handles it automatically.

The process takes about two seconds. Point, hold steady for a moment, and a notification or link appears on your screen. Tap it to open the destination. That is the entire process.

Key Takeaways

  • Most modern phones read QR codes through the standard camera app without needing to read anything extra.
  • Hold your phone steady about 6 to 8 inches from the QR code and wait for the notification to appear on your screen.
  • If your phone does not recognize the code automatically, check that your camera app has permission to access the internet and that you are in adequate lighting.
  • QR codes can link to websites, phone numbers, contact cards, WiFi networks, or text messages — always check the preview before tapping if you are unsure about the source.

How to scan a QR code on iPhone

Open the Camera app on your iPhone. Point it at the QR code from about 6 to 8 inches away and hold it steady. Within a second or two, a notification will appear at the top of your screen showing what the code links to — usually a website URL or a contact name.

Tap the notification to open the destination. If nothing appears after a few seconds, move slightly closer or farther away; the phone needs a clear, straight-on view of the entire code. Make sure you are in a well-lit area — QR codes are harder to read in dim light or shadow.

If your iPhone does not show a notification, go to Settings, tap Camera, and make sure "Scan QR Codes" is turned on. This setting is on by default on most iPhones, but it can be disabled.

How to scan a QR code on Android

Open the Camera app on your Android phone. Point it at the QR code from about 6 to 8 inches away. Most Android phones will show a notification or a small popup on the screen within a second or two, displaying the link or information the code contains.

Tap the notification to open it. If your phone does not recognize the code, try moving slightly closer or adjusting the angle. Some Android phones require you to hold the camera button down for a moment before the QR reader activates; check your phone's camera app instructions if you are unsure.

If your Android phone does not have built-in QR code reading, you can read a free QR code reader app from the Google Play Store. Search for "QR code reader" and choose one with a high rating and many downloads.

Common reasons a QR code will not scan

The code is damaged or faded. If the black and white pattern is torn, smudged, or faded, your phone cannot read it. Try a different copy of the code if one is available.

Your phone is too close or too far away. Hold your phone 6 to 8 inches from the code — about the distance from your hand to your elbow. If the code is very large, you may need to step back farther.

The lighting is too dim. QR codes need adequate light to be read. If you are in shadow or low light, move to a brighter area or turn on your phone's flashlight and angle it toward the code.

Your camera lens is dirty. Wipe your phone's camera lens with a soft cloth. Dust or fingerprints can blur the image enough to prevent scanning.

Your phone's camera app does not have internet permission. Go to your phone's Settings, find the Camera app, and make sure it has permission to access the internet. Without this permission, the phone cannot look up what the code links to.

What information a QR code can contain

A QR code most commonly links to a website. When you scan it, your phone opens that URL in your web browser. This is the most frequent use — restaurants use QR codes to link to menus, stores use them to link to product pages, and event organizers use them to link to registration pages.

A QR code can also store a phone number. Scanning it opens your phone's dialer with that number already filled in, ready for you to call. Some codes store contact information — a person's name, phone number, email, and address — which your phone can save directly to your contacts.

WiFi login codes are common in cafes and hotels. Scanning one connects your phone to that WiFi network without you having to type the password. Some codes link to text messages or emails, opening your messaging app with a pre-filled message ready to send.

How to check what a QR code links to before opening it

When the notification appears on your screen, read it carefully before tapping. The notification shows the destination — if it says a website URL, you can see exactly which website before you open it. If it shows a phone number, you can verify that is the number you want to call.

If you do not recognize the destination or it looks suspicious, do not tap it. Close the notification and move on. This is especially important for QR codes in public places or from sources you do not trust. Scammers sometimes place fake QR codes over legitimate ones, so if something looks odd, it probably is.

If you want to see the full URL before opening it, take a screenshot of the QR code and use an online QR code decoder (search "QR code decoder" in your browser). Paste the screenshot and the decoder will show you exactly what the code contains before you open anything.

Frequently Asked Questions

Do I need WiFi to scan a QR code?

You need internet to open what the QR code links to, but not to scan the code itself. Your phone can read the pattern offline. However, once you tap the notification to open the destination, you will need WiFi or mobile data to load a website, contact a business, or read information.

Can a QR code give my phone a virus?

A QR code itself cannot infect your phone. However, the website or file it links to could be malicious. Never scan QR codes from unknown sources, and always check the notification to see where it is sending you before you tap it. If the destination looks suspicious, do not open it.

What if the QR code is on a curved surface?

Curved surfaces make QR codes harder to read because your phone's camera sees a distorted image. Try angling your phone so the camera is perpendicular to the surface, or move to a position where the code appears flatter to the camera lens. If it still will not scan, a flat copy of the code will work better.

Can I scan a QR code from a photo on my phone?

Yes. On iPhone, open the Photos app, select the image with the QR code, and tap the information icon. On Android, open the image in Google Photos or your default gallery app and look for a QR code icon or option. Tap it to scan the code in the photo.

Why does my phone ask for permission to open a link after scanning?

Your phone is confirming that you want to leave the camera app and open a browser or another app. This is a safety feature. Tap "Open" or "Allow" to proceed, or tap "Cancel" if you changed your mind about opening the destination.