How to scan a QR code
Open your phone's Camera, point it at the code and tap the link that appears. The steps below are Apple's and Google's own, and further down is what we found stops a code from scanning.
Try it with your phone
Open Camera
Open the Camera app on your iPhone and stay in Photo mode.
Frame the code
Position the iPhone so the QR code appears inside the camera frame. You don't need to take a picture.
Tap the link
Tap the link that appears at the bottom of the screen.
If Camera doesn't pick it up
- Control Center: Open Control Center and tap the Scan Code control. If it isn't there, add it from Customize controls. Position the iPhone so the code is on screen.
- Low light: In the Control Center scanner, tap the flashlight to add more light.
- Camera Control: On supported models you can also use the Camera Control button to scan QR codes.
Google Pixel and Android
Scanning on a Pixel or other Android phone
Source: Pixel Phone Help, Scan QR codes with your Pixel phone. Menus differ on other Android makers' phones, so check your phone's own help if these don't match.
Open Camera and check the setting
On a Pixel, open the Camera app and make sure Camera scan suggestions is turned on in its settings.
Point at the code
Make sure the entire code shows on the screen. You don't need to take a picture.
Tap what appears
Wait a moment. The camera shows a bubble or link; tap it to open.
Other ways to scan
- Quick Settings: Swipe down from the top of the screen and tap Scan QR code. If you don't see it, swipe left for more buttons or tap the pencil icon to add it.
- Google Lens: Google's help also lists Google Lens as another way to scan QR codes.
What stops a code from scanning, tested
Google and Apple's advice is to hold steady, add light, clean the lens and get closer. We wanted to know which problems with the code itself make a scan fail, so we generated one code (a ScanOrbit short link) and damaged it in controlled ways, then tried to read it with the open-source jsQR decoder.
Phone cameras read better than jsQR, so a failure below is a warning, not proof a phone would fail. Where a condition reads here, a phone will almost certainly read it too.
| Condition | Result | What it means |
|---|---|---|
| Black on white, 4-module margin | Reads | The reference. |
| Dark band touching the code (0 margin) | Fails | Artwork or a dark card edge right up to the code. With 1 or more modules of white between them it read. |
| Dark gray #555555 (contrast 7.5:1) | Reads | Dark colors are fine. |
| Mid gray #888888 (3.5:1) | Reads | Close to the limit. |
| Light gray #aaaaaa (2.3:1) | Fails | Pale codes fade into the paper. |
| Orange #f97316 (2.8:1) | Reads | Saturated mid-tones can work. |
| Yellow #facc15 (1.5:1) | Fails | Bright yellow is almost white to a camera. |
| White code on a black background | Fails with ordinary polarity | Our decoder only read it when allowed to try inverted codes. Not every scanner does, so use a dark code on a light background. |
| Out of focus (blur 2.5) | Reads | A little blur is fine. |
| Out of focus (blur 3.5) | Fails | Past a point, the squares merge. |
| White highlight over 10% of the width | Reads | A small glint is fine. |
| White highlight over 25% of the width | Fails | Glare over the centre of a glossy sticker. Error correction H didn't change this in our test. |
| Rotated 15, 45, 90 and 180 degrees | Reads | You don't need to hold the code upright. |
| 100 px wide in the image | Reads | Fine at that size. |
| 60 px wide in the image | Fails | Too small or too far away. |
The script is scripts/qr-failure-test.mjs in our repository. With a plain white page, the code read with no margin at all, which is why the margin row above uses a dark band: the margin matters when something dark sits next to the code. The standard asks for four modules of margin on every side.
Troubleshooting
If your phone won't scan
Google's Pixel help lists four fixes; we've added what our test shows for each. Printing the code yourself? See our print size guide.
Hold steady
Google's Pixel help: make sure your hand is steady so the camera can focus and the code isn't blurry.
Get good light, avoid glare
Scan in a well-lit place and avoid shadows or glare on the code. In our test, a bright highlight over a quarter of the code's width stopped it reading.
Clean the lens
If the lens is smudged, wipe it with a soft cloth, as Google's help suggests.
Move closer, but keep the whole square in view
Google's help says to move closer while making sure the entire square still shows clearly. Our test stopped reading when the code was only 60 pixels wide in the image.
Check the link before you tap it
Scanning only reads the code; the risk is where it sends you. The FBI's July 2025 warning says not to scan QR codes from unknown origins, the US Postal Inspection Service tells people to ask where a code came from, and the FTC says to inspect the URL before you open it. Look at the address your phone shows, and be careful with codes on stickers that could have been placed over another one.
Questions & Answers
Frequently asked questions
Not on an iPhone or a Pixel. Apple says you can use Camera or Control Center, and Google's Pixel help calls the Camera app the easiest way. Other Android phones vary, so check yours.
Making a code of your own?
Check it with our free tester before you print, then use a dynamic code so you can fix the link later.