Your iPhone has a barcode scanner built in — here's how to use it

Your iPhone can read barcodes without a separate app. The Camera app on any iPhone running iOS 11 or later includes a barcode scanner that works on product codes, QR codes, and most other standard formats. Point your camera at the barcode, wait for the notification to appear, and tap it — the phone then opens the relevant link, contact, or information without you having to type anything.

The scanner works because Apple added barcode recognition directly into the Camera app's code-reading engine. You do not need to read anything, pay for anything, or change any settings. If your phone is up to date and you have the Camera app, you already have access to this feature.

Key Takeaways

  • Open the Camera app, point it at a barcode or QR code, and wait for a notification to appear at the top of the screen.
  • The scanner reads product barcodes, QR codes, URLs, contact information, and WiFi network details without opening a separate app.
  • If the notification does not appear, check that your iPhone is running iOS 11 or later and that Camera permissions are turned on in Settings.
  • Tapping the notification opens the barcode's destination — a website, contact card, or app — directly from your camera view.

How to scan a barcode with your Camera app

Open the Camera app on your home screen or lock screen. Point the rear camera at the barcode or QR code you want to scan. Hold the phone steady and wait — within a few seconds, a notification will appear at the top of your screen showing what the barcode contains (a website URL, contact information, or product details).

Tap the notification to open it. If it is a website, Safari opens to that page. If it is contact information, your Contacts app opens with the details ready to save. If it is a product barcode, your phone may open a search result or the App Store. The action depends on what the barcode encodes.

You can also hold down the home button or swipe up from the bottom of the lock screen to open Control Center, then tap the Camera icon to launch the app directly without unlocking your phone. This is useful if you are scanning multiple codes in quick succession.

What types of barcodes your iPhone can read

Your iPhone's camera recognizes QR codes, which are the square codes with three corner squares that you see on posters, menus, and product packaging. It also reads UPC codes (the vertical lines on product packages), Code 128 (used in shipping and inventory), Code 39 (common in retail and healthcare), and several other standard formats.

The camera also reads Aztec codes (a square format similar to QR codes) and PDF417 codes (rectangular codes used on driver's licenses and boarding passes). If a barcode is printed clearly and your camera has a steady view, your iPhone will almost certainly recognize it.

The one limitation is that your phone cannot read barcodes that are damaged, faded, or at extreme angles. If the notification does not appear after a few seconds, try moving closer, adjusting the angle, or improving the lighting.

Why the barcode notification is not appearing

If you point your camera at a barcode and no notification shows up, first check that your iPhone is running iOS 11 or later. Go to Settings, tap General, then About, and look at the iOS version number. If it is iOS 10 or earlier, the barcode scanner is not available on your device.

Second, verify that Camera permissions are turned on. Go to Settings, scroll down to Camera, and make sure the toggle is green (enabled). If it is off, tap it to turn it on, then try scanning again.

Third, make sure the barcode itself is clear and well-lit. Move closer to the code, clean your camera lens with a soft cloth, and try again. Some barcodes printed on curved surfaces or in poor lighting will not scan reliably.

Using the barcode scanner in Control Center

On iPhones with Face ID (iPhone X and newer), you can add a dedicated QR code scanner to Control Center for faster access. Go to Settings, tap Control Center, then tap the green plus button next to "QR Code Reader." This adds a QR code scanner shortcut to your Control Center.

Now when you swipe down from the top-right corner of your screen (or swipe up from the bottom on older iPhones), you will see the QR Code Reader icon. Tap it to open a dedicated scanner that works the same way as the Camera app but is faster to reach if you scan codes frequently.

Saving and sharing barcode information

When your iPhone scans a barcode and opens a website, you can save that page to your bookmarks or reading list by tapping the Share button in Safari. If the barcode contains contact information, you can save it to your Contacts app by tapping the "Add Contact" button that appears.

If you want to keep a record of a barcode you have scanned, take a screenshot of the notification before you tap it. Press the side button and volume-up button at the same time (or press the top and bottom buttons on older models) to capture the screen, then the screenshot saves to your Photos app.

Scanning barcodes from photos you already have

You do not have to scan a barcode in real time. If you have a photo of a barcode already saved in your Photos app, open the photo and tap and hold on the barcode. A menu will appear with options to copy the link, open it, or share it. This works for QR codes and most other standard barcode formats.

This feature is useful if someone sends you a photo of a QR code by text or email, or if you took a screenshot of a barcode earlier and want to scan it now. The process is the same as scanning with your camera — your phone recognizes the code and shows you what it contains.

Frequently Asked Questions

Do I need to read an app to scan barcodes on my iPhone?

No. The Camera app built into every iPhone running iOS 11 or later has a barcode scanner. You do not need to read anything. If you want a dedicated QR code scanner in Control Center, you can add one through Settings, but the Camera app alone is sufficient.

Can my iPhone scan barcodes in the dark?

The barcode scanner works best in good lighting. In very dim conditions, try turning on your flashlight or moving to a brighter area. Some barcodes printed with low contrast will not scan even in daylight, so lighting is only part of the problem.

What happens if I scan a barcode that contains a malicious link?

Your iPhone shows you the URL in the notification before you tap it. If the link looks suspicious or unfamiliar, do not tap it. You can also check the link by tapping and holding the notification to see the full URL before opening it.

Can I scan barcodes from a distance?

Your iPhone's camera can read barcodes from a few feet away if they are large and printed clearly. For small barcodes or those with fine detail, you will need to move closer — usually within 6 to 12 inches. The better the barcode quality and lighting, the farther away you can scan from.

Will scanning a barcode use my data or battery?

Scanning the barcode itself uses almost no data or battery. If the barcode opens a website, your phone will use data to load that page. The Camera app is one of the least power-hungry apps on your iPhone, so scanning many codes in a row will not noticeably drain your battery.