Fix QR Code Not Working or Showing on iPhone
In this article
If your iPhone won't scan a QR code or the QR code doesn't show up in the Camera app, the fix is usually quick: make sure QR Code scanning is enabled in Settings, point the camera steadily at the code, and check that the code isn't damaged or too small. Below are the exact steps to get QR codes working again on your iPhone.
What You'll Need
- Your iPhone (any model running iOS 11 or later, which includes all supported models)
- The QR code you want to scan (printed or on another screen)
- Good lighting (natural light works best)
- Optional: a QR code scanner app from the App Store if the built-in Camera isn't working
Step-by-Step
- Check that QR Code scanning is enabled in Settings. Open the Settings app, scroll down to Camera (or Camera Settings on some versions), and tap it. Look for a toggle labeled Scan QR Codes and make sure it's turned on (green). If it's off, toggle it on. The exact wording may vary slightly by iOS version, but it's always in the Camera settings.
- Open the Camera app. Swipe left on the lock screen or tap the Camera icon. Make sure you're in the standard photo mode (not video, portrait, or pano).
- Point the camera at the QR code. Hold your iPhone steady so the QR code is fully visible within the viewfinder, about 6–10 inches away. Make sure the code is flat and not at an extreme angle.
- Wait for the notification. After a second or two, a yellow (or white) banner will appear at the top of the screen with the URL or action from the QR code. Tap that banner to open the link or perform the action.
- If nothing happens, tap the screen to focus. Sometimes the camera needs a tap to focus on the code. Tap directly on the QR code in the viewfinder, then wait for the banner.
- Check the QR code itself. Make sure it's not damaged, blurry, or too small. If it's on a screen, increase the brightness of that screen. If it's printed, try moving to better lighting.
- Try a third-party scanner app. If the built-in Camera still won't scan, download a reputable QR scanner from the App Store (search for "QR scanner"). Open the app and point it at the code. Many of these apps offer a manual focus or flash option.
- Restart your iPhone. If nothing has worked, a simple restart often clears temporary glitches. Press and hold the side button and either volume button until the power slider appears, then slide to power off. Wait a few seconds, then power back on.
Common Mistakes
- QR Code scanning is turned off. This is the most common reason. Check the Camera settings as described in Step 1.
- Holding the phone too close or too far. The camera needs a clear, full view of the code. Move the phone until the code fits comfortably inside the viewfinder.
- Pointing at a reflection or glare. Glare from a screen or glossy paper can prevent scanning. Tilt the phone slightly or move to reduce glare.
- Using the wrong camera mode. Make sure you're in the default photo mode, not video, portrait, or time-lapse.
- The QR code is not actually a QR code. Some codes are barcodes or other formats. QR codes are square with three larger squares in the corners. If it doesn't look like that, it won't scan.
Tips
- Use the Control Center scanner (if available). On iOS 12 and later, you can add a QR code scanner to Control Center. Go to Settings > Control Center > Customize Controls, then add Code Scanner. This gives you a dedicated scanner that works even if the Camera app is glitchy.
- Clean your camera lens. A smudged lens can interfere with scanning. Wipe the back of your iPhone with a soft, dry cloth.
- Increase screen brightness on the device showing the QR code. If you're scanning from another phone or tablet, turn up that screen's brightness to make the code easier to read.
- Keep the phone steady. Hold your iPhone still for a second or two after focusing. Movement can prevent the scan from registering.
- If the code opens a link, it will ask for permission. When you tap the banner, iOS may show a popup asking if you want to open the link in Safari. Tap Open to proceed.
Troubleshooting
If you've followed all the steps and the QR code still doesn't work, try these in order:
- Update iOS. Go to Settings > General > Software Update. If an update is available, install it. Older iOS versions may have bugs that are fixed in newer releases.
- Reset all settings (not data). Go to Settings > General > Transfer or Reset iPhone > Reset > Reset All Settings. This will reset system settings (like Wi-Fi passwords and wallpapers) but will not delete your photos, apps, or data. After the reset, re-enable QR Code scanning in Camera settings and try again.
- Test with a known-good QR code. Search online for "test QR code" and display one on your computer or another phone. If that scans, the problem is with the original code, not your iPhone.
- If the banner appears but tapping it does nothing. The link may be broken or the action may be blocked. Try copying the URL from the banner (long-press on it) and pasting it into Safari manually.
- Last resort: restore your iPhone. Back up your iPhone first (iCloud or computer). Then go to Settings > General > Transfer or Reset iPhone > Erase All Content and Settings. This will erase everything, so only do this if you're comfortable with a full restore. After the erase, set up as new or restore from backup, then test QR scanning again.
Frequently Asked Questions
Why doesn't my iPhone scan QR codes anymore?
The most common reason is that the Scan QR Codes toggle in Settings > Camera got turned off. It can also happen after an iOS update or if the camera lens is dirty.
Do I need a third-party app to scan QR codes?
No, the built-in Camera app on iPhone can scan QR codes as long as the feature is enabled. A third-party app is only needed if the Camera app isn't working after troubleshooting.
Can I scan a QR code from a photo in my library?
Yes. Open the photo in the Photos app, then long-press on the QR code and choose "Open URL" or "Scan QR Code" (iOS 13 and later). If that doesn't work, you can use a third-party app that reads QR codes from images.
Why does the QR code open a blank page or nothing?
The QR code itself may be broken, or the link it contains may be invalid. Try scanning a different QR code to confirm your iPhone works. If the code is from a website, the site may be down.
Is it safe to scan any QR code?
QR codes can link to malicious websites. Only scan codes from trusted sources. If the preview URL looks suspicious, don't tap the banner. You can also check the URL before opening by looking at the banner text.
Does the QR code need to be in a certain format?
Most standard QR codes work. However, some codes are designed for specific apps (e.g., WeChat or WhatsApp). Those may not open in Safari but will open in the respective app if installed.