Guide · Everyday privacy

Are QR codes safe to scan? What a code can and can’t do

Scanning a QR code is safe in itself: the code is only text, usually a web address, and your iPhone shows you what it holds before anything opens. The risk is where it leads. A fake code stuck over a real one, or one in an unexpected email or text, can send you to a page that asks for card details or a password. Read the address that appears before you tap it, and don’t enter payment or login details on a page you reached from a code you didn’t expect.

Last checked

On this page

What a QR code is

A QR code is a square pattern that stores a short piece of text. A camera turns the pattern back into that text. That’s all it can hold. It can’t run a program on its own.

What makes codes useful, and occasionally risky, is the kind of text they hold:

The code holds Scanning it offers to
A web address open a website
Wi-Fi details join a network
A phone number or text message start a call or a message, which you still send
An email address start an email
A contact card or event add it to Contacts or Calendar
A setup key for two-factor codes add an account to an authenticator app
A payment link open a payment page or app

What your iPhone does when you scan

Apple’s guide describes it: point the Camera at the code in Photo mode, and a link appears at the bottom of the screen for you to tap. Nothing opens until you tap. You can also use the Scan Code control in Control Center. That pause is your chance to read what the code holds.

The scams to know

The Federal Trade Commission warns that scammers put harmful links in QR codes to steal information. The common forms:

  • Stickers over real codes on parking meters, posters and restaurant tables, leading to a look-alike payment page.
  • Codes in emails and texts saying a parcel is held, a payment failed or an account will be closed, and that you must act now.
  • Codes on flyers or letters that ask you to “verify” an account or claim a refund.
  • Codes that open an app download outside the App Store, or a page asking you to install a profile.

The check to do before you tap

  1. Read the address that appears. Does the domain belong to the business, city or service you expect? Look for small misspellings and odd endings.
  2. Ask whether you expected it. The FTC says not to scan a code in an email or text you weren’t expecting, especially if it pushes you to act immediately.
  3. Touch the code on a meter or a table. A sticker on top of another code is a warning sign.
  4. Don’t type card numbers or passwords on a page you reached from a code you didn’t seek out. Go to the company’s site or app yourself instead.
  5. Decline anything that asks to install a profile or an app from outside the App Store.

The same FTC alert adds the background habits: keep your phone updated, and use strong passwords and multi-factor authentication on your accounts, so a stolen password alone isn’t enough.

QR codes you make yourself

Codes can carry things worth protecting. A Wi-Fi code holds your network password; Apple’s guide shows how to display one for guests. A two-factor setup code holds the key to an account: anyone who scans it can make your codes. Don’t post a photo of either, and don’t leave a setup code in the camera roll. If you make your own, a QR code generator that works in your browser keeps the contents off someone else’s server. Our guides on sharing Wi-Fi with a QR code and storing 2FA backup codes cover those cases.

Where Sealed helps, and where it doesn’t

It helps keep the codes worth protecting out of the camera roll: a record can hold a Wi-Fi network’s details and show its join code, and two-factor accounts. A Wi-Fi record can show a QR code that other phones scan to join the network. 2FA codes stay live in the vault and are ready to copy. On the free plan you can add photos. Videos, documents, notes and records need Sealed Pro.

It doesn’t check where a QR code leads or block a harmful page. Read the address yourself before you tap, and see Safari private browsing for what a browser can and can’t keep.

Questions and answers

Can a QR code hack my phone just by scanning it?

Not by scanning alone, as far as is publicly known. The camera reads the text and shows it to you. Harm comes from what you then open, download or type into. Keeping iOS updated covers the rare bug in the software that reads codes.

Is it safe to pay with a QR code at a restaurant or parking meter?

Check the code isn’t a sticker placed over another one, check the web address belongs to the business or the city, and if anything looks off, pay at the counter or through the official app instead.

Sources

What this page says about Sealed was checked against the app on .

Last checked:

Get Sealed

Sealed is free to download, and Sealed Pro is an optional in-app purchase.