An eSIM QR code is not the eSIM. It is a short piece of text — a provisioning server address plus a one-time activation code — drawn as a square your camera can read. Scanning it tells your phone where to go and which profile to ask for. The plan itself lives on that server until your phone downloads it.
The string format described here follows the GSMA's consumer provisioning specification; the screen behaviour follows Apple's own documentation. Both were checked in November 2026.
That one fact explains almost every QR problem people run into: why the code usually dies after a single successful install, why a screenshot is sometimes worthless and sometimes essential, and why typing two values by hand works exactly as well as pointing a camera.
What is inside an eSIM QR code, once you decode it into text?
Point any ordinary QR reader at an installation code and you get readable text, not a jumble. Under the GSMA's consumer specification for remote SIM provisioning — SGP.22, one of the standards listed on the GSMA eSIM specification page — that text follows a fixed shape:
| Part | What it is | Looks like | Can you change it? |
|---|---|---|---|
LPA:1 header |
Tells the phone to hand this to its Local Profile Assistant, the software component that manages downloads | LPA:1$ |
No — fixed by the standard |
| Server address | The fully qualified domain name of the SM-DP+ server holding your profile | rsp.provider-example.com |
No — it belongs to the provider |
| Activation code | A unique string identifying one specific profile on that server | K2-9QX7-4LM |
No — issued per order |
| Confirmation code (optional) | An extra check some providers add | 4821 |
No — but you may be asked to type it |
So a full code reads like LPA:1$rsp.provider-example.com$K2-9QX7-4LM, sometimes with a fourth field appended for the confirmation code. When your phone says "enter details manually," those are the two values it wants: server address and activation code.
Look at what is not in there. No phone number. No name, email, balance, data allowance, or expiry date. A "QR code" that decodes to a website URL is not an eSIM code at all — it is a marketing link someone photographed by mistake. If your provider's email contains both a link and a square, the link opens instructions and the square does the work.
The profile is a separate object entirely. It holds your subscriber identity and the credentials the network checks, it stays encrypted on the server until claimed, and it is written into the eUICC chip inside your phone only after the download completes. The code is the claim ticket. The profile is the luggage.
Why does your eSIM QR code stop working after one scan?
Because the server, not the image, decides. When your phone presents that activation code and the download succeeds, the SM-DP+ marks the code as redeemed. Present it again — from the same phone, a different phone, or a photograph of the original square — and the server declines. Nothing about the picture changed. Its ticket was already punched.
This is deliberate. A code that could be redeemed repeatedly would let anyone who saw your order email install your paid plan on their own phone. The one-time property is what makes an emailed code safe to email.
Two failures get confused constantly, and they have opposite outcomes:
| What happened | Is the code still good? | What to do |
|---|---|---|
| Download started but failed — dropped Wi-Fi, dead battery, closed app | Usually yes | Reconnect and retry within the provider's claim window |
| Download completed and the plan appears in Settings | No | Nothing. The code is spent; the profile is on your phone |
| Plan was installed, then you deleted it | Depends on the provider | Ask support. Some allow a small number of reinstalls, some allow none |
That last row is the expensive one. People delete a plan to "reset" it when the connection is slow, then discover the code will not work again. Deleting a profile is not a troubleshooting step; it removes the thing you paid for. If the plan is installed but the internet is not working, the cause is almost always a line setting, and the four settings to check after activation are a better use of your airport hour than a reinstall.
The download channel is protected separately from the ticket. In its assessment of the consumer provisioning protocol, the GSMA states that TLS use is mandated, and describes certification for the chip, servers and production sites involved. In plain terms: the file travels encrypted, and the one-time code blocks the obvious replay trick. Neither protects you from forwarding your own order email to a group chat before you install.
Where is your QR code if the order email is gone?
Three places, in order of how quickly they save you:
- Your account with the provider. Any seller running an account area keeps purchased codes there, usually beside the order. This is the copy that survives a deleted email and a dead phone.
- The order confirmation email. Search the mailbox for the provider's name rather than "eSIM" — that word appears in half your travel bookings. Check spam and any promotions tab before concluding it never arrived.
- Support, if neither exists. Before the code is redeemed, a provider can reissue it, because the activation code is tied to your order and not to the pixels of the original square. Have your order number ready. Some will also ask for the EID of the phone you plan to install on.
There is a fourth case that confuses people: the eSIM is already installed and working, and now the email is gone. You do not need the code at all. The profile is on the phone and the code was consumed at installation. The only version of "lost" that costs money is deleting an installed profile and then losing the code — two mistakes stacked.
One buying habit worth adopting: if a seller can only deliver your code as a screenshot pasted into a chat window, with no account area and no order record, treat that as a red flag. You are one cleared conversation away from having no proof of purchase.
Your phone can't scan a code that's on its own screen — so what do you do?
This is the most common dead end, and it has nothing to do with your provider. The code arrived by email. The email is on the phone. The phone is expected to scan the screen it is currently displaying. Cameras do not do that.
Three ways out, fastest first:
Long-press the image (iPhone, iOS 17.4 or later). Open the email in the default Mail app or a browser, press and hold the QR image, and choose Add eSIM from the menu. Apple documents this path in its guide to setting up an eSIM on iPhone, and it skips the camera entirely.
Type the two values in. On iPhone: Settings → Cellular → Add eSIM (or Add Cellular Plan) → Enter Details Manually at the bottom. On most Android phones: Settings → Network & internet → SIMs → Add eSIM, then look for "Enter it manually" or "Need help?". On Samsung the route is Settings → Connections → SIM manager. Wording moves between versions and manufacturers, and so does the field count: iPhone gives you two boxes, while several Android builds give you one and expect the whole string starting with LPA:1$. Paste it in full and the phone splits it for you.
Put the code on a second screen. A laptop, a tablet, a friend's phone, or a printed sheet all work. Two details decide whether the scan succeeds: raise screen brightness to maximum, and keep the whole square plus its white border in frame. Zooming until the square fills the viewfinder is the classic mistake — the scanner needs the quiet zone around the code, not a close-up of its dots.
One more option people forget: some providers send a link instead of a square. Tapping it on iOS 17.4 or later triggers an "Activate New eSIM" prompt, and the network provider's own app can install the plan without either. If your email contains a button rather than an image, that button is the installation.
Is typing the server address and 11-character code by hand less secure than scanning an eSIM QR code?
No, and it is not slower in any way that matters. Both routes pass the same two parameters — the SM-DP+ server address and the 11-character activation code — to the same software. The encryption handshake, the download time, the bands your phone can use afterwards, the APN settings — identical. Manual entry is a different door into the same room, not a degraded version of it.
Nor does it affect what the plan can do. A profile installed by hand gets the same 5G access, the same network speed ceiling and the same unlimited-data terms as one installed by camera, because none of those are encoded in the square.
The only real risk is typographical, and the worst offender is invisible: a trailing space copied along with the string. The activation code is case-sensitive, and a single transposed character or a stray space produces an "invalid activation code" error that looks like a server problem and is not. Copy and paste beats retyping whenever the provider gives you the string as selectable text, which is why a provider that supplies the server address and code as separate copyable fields is doing you a practical favour.
Where manual entry genuinely earns its place: a code photographed at low resolution, a code printed on a receipt that has been in a pocket, a code on a cracked screen, or a work laptop that blocks image rendering in the mail client. In each case the fix is the same two values, and none require a support ticket.
Does a screenshot of the eSIM QR code still work after you delete it?
It depends entirely on whether the code was ever redeemed, and this is where people lose money.
| Your situation | Does the screenshot work? |
|---|---|
| Saved before installing anything | Yes — an untouched claim ticket |
| Installed successfully, then kept the screenshot | No — the ticket was punched at install |
| Installed, deleted the profile, still have the screenshot | Only if the provider allows reinstalls, and only within their limit |
| Never installed, screenshot is all you have | Yes, provided the provider's claim window has not expired |
So a screenshot is worth taking before you install and worth nothing after. Keep it somewhere that is not the phone you are installing on — a password manager entry, a note on your laptop, or the provider's dashboard if there is one.
The same logic applies to a printed sheet. Printing does not make the code more durable; it makes a copy of a ticket that was always single-use. What makes you durable is having the code in two places and installing at home on Wi-Fi before you fly, so the code's whole life is over before you reach an airport.
Does an eSIM QR code expire after 12 months if you never install it?
Usually not in any way you would notice, but "never expires" is the wrong assumption. Providers set their own claim windows, and the language differs: some say the code is valid for a year, some tie it to the plan's activation deadline, some will reissue an unused code indefinitely.
Two things are worth doing with that uncertainty. Read the order confirmation for a sentence about validity or expiry — it is there more often than people expect. And if you bought a code months ago for a trip next month, do not wait until the airport to find out; install it on Wi-Fi at home a few days before you fly, because an unclaimed code that has quietly expired is a support conversation, while an installed profile is a solved problem.
The reverse mistake is equally common: buying a code the day you land, then discovering the provider's claim window starts at purchase and the plan's own countdown started with it. That is not the code expiring. That is the plan burning while you were still packing.
Can you scan an eSIM QR code with no connection at all?
Decoding is local. Installing is not. Your camera reads the square without any network at all, which is why a phone in airplane mode can recognise the code, show you the server address, and even display the install screen. What it cannot do is finish, because the profile has to be pulled from a server that is, by definition, somewhere else.
This produces a specific and confusing sequence on a plane: the code scans, the phone asks whether to add the plan, you tap Continue, and the install fails with a connectivity message. Nothing is broken and nothing is consumed — the download never started, so the ticket is untouched. Turn off airplane mode, connect to Wi-Fi, and scan again.
The practical version: scanning on a plane to "get it ready" achieves nothing except a failed attempt and a worrying error message. Install on the ground, on Wi-Fi, and use the flight to do something else. The one exception is a phone that is eSIM-only, where the hardware allows activation without Wi-Fi in some countries and regions — and even then, "allows" is not "recommends".
Why does a QR code from another provider refuse to load?
Because codes are not interchangeable, and a code only means something to the server named inside it. The activation code identifies one profile on one SM-DP+ server. Hand a code issued by provider A to a phone expecting provider B's server, or paste a code someone posted in a forum, and the download fails at the first handshake — the server has no such profile, or has one already claimed.
A related refusal looks identical with a different cause: a carrier-locked phone. A handset locked to one operator can reject a profile from another even when the code is valid and the server reachable. The check takes seconds and is worth doing before you spend anything — as does a handset that refuses another operator outright. Why a locked phone rejects a perfectly valid code walks the check in order.
A third, rarer refusal: a small number of operator profiles are configured to refuse download outside the destination country. You will see the code read correctly and the install fail with no useful message. That is a provider configuration, not a phone fault, and it is worth asking about before buying a plan you intend to install a week early.
How do you check a QR code is a real LPA:1 code before contacting support?
Three checks, none of which need an eSIM-capable phone:
- Decode it with any plain QR reader. The result must start with
LPA:1$. If it starts withhttps://,MECARD:or a product code, it is not an eSIM installation code. - Count the fields. Split the string on
$: three fields (LPA:1, server address, activation code) is the normal case, a fourth adds a confirmation code, and two fields means the string was truncated by a mail client. - Compare the server name with your order. The fully qualified domain belongs to the provider that issued the plan. A mismatch between the code and the dashboard is worth asking about before you hand over an EID.
The whole check takes about 30 seconds and gives a definitive answer, which repeated re-angling of the camera never will. It also protects the one thing a support agent cannot replace once it is gone: an unredeemed activation code.
Do "eSIM QR code generator" sites hand you a working plan?
A generator can turn text into a square. It cannot create a profile, an activation code, or a data allowance, because those are issued by a server that holds the profile and is certified to do so. Any site promising a free working eSIM through a generated code is selling you nothing.
There is a legitimate use, and it is narrow: you already have the server address and activation code as text — from an order email, a dashboard, a support chat — and you want a scannable image for a phone where the camera route is easier than typing. Encoding your own string into your own image is harmless. You are drawing a picture of something you already own.
The risk sits in the middle. Pasting your string into a random generator hands a stranger your claim ticket. Before you install, that string is enough for someone else to claim the profile on their phone, and then your install fails with a message that makes no sense. Generate locally if you must — the string is plain text, and any offline QR tool will do it.
Why does the code scan correctly and then fail with "Unable to Add Plan" on iPhone?
Separate three very different failures before changing any settings. "It won't scan" is a camera problem: glare, blur, a code displayed on the same screen, a square cropped by an email client. "It scanned and then failed" is a server or phone problem, and no amount of re-angling will fix it. A line that installed and then sits on Activating… is a third case and not a code problem at all — the profile is already on the chip, and the phone is waiting to register on a network. Give that one two to five minutes on a stable Wi-Fi connection, then check the data line and roaming switches; a spinner that never clears is a registration problem, not a spent ticket.
| Message or symptom | What it usually means | What to try |
|---|---|---|
| "Unable to Add Plan" / "Cannot add cellular plan" | The profile was already downloaded once, or the code expired | Ask the provider to reissue; do not keep retrying |
| "Invalid activation code" | A typo, or the code was cancelled | Paste the string instead of retyping; confirm with the provider |
| Plan installs, then no internet | Not a code problem — a line or roaming setting | Check the line and roaming settings next |
| Install refuses outright on a working phone | Carrier lock, or a region-restricted profile | Check the lock first, then ask the provider |
Only two of the four are actually about the code. Most people who conclude "my QR code is broken" sit in the bottom two rows, holding a perfectly good ticket and a phone pointed at the wrong line or refusing another operator's profile.
Scanned the one-use QR code on a second phone first — what happens to that plan?
Then you have installed your plan on the wrong handset, and there is no undo that returns the code to usable condition. The profile exists, it belongs to that chip, and the ticket was punched by that device.
Your options depend on what you want. If the wrong phone is a spare you control, you can leave the profile there and use it — a phone is a phone. If you need it on a different handset, contact the provider: some will reissue once you explain, especially if the plan has barely been used, and some will not. This is the single strongest argument for doing the install on the device you are actually travelling with, at home, before you leave.
The same applies to a profile installed by a family member "to test it." A travel plan on someone else's phone is a plan you cannot use, and the fix is a support conversation rather than a setting.
What does a spent QR code cost you at the airport, versus five minutes at home?
The cheapest way to judge the preparation advice below is to price it. Take an illustrative 7-day, 10 GB plan at $18 and a home-carrier roaming pass at $12 a day; your own rates will differ, so substitute them before you decide anything.
| Where the install happens | Time spent | Extra money | What a failure costs |
|---|---|---|---|
| Home Wi-Fi, two nights before | 5 minutes | $0 | Nothing. Retry on the same connection, with the order email open on a laptop |
| Departure airport, captive Wi-Fi | 15–30 minutes | $0 | A missed boarding group; the code is still live, so the fix is a retry |
| After landing, with no working data | 45–90 minutes | One $12 roaming day | A support queue in a different time zone, and one day of a 7-day plan already gone |
Two sums are worth doing before you fly. First, validity: a 7-day plan whose clock starts at purchase and which you install 21 days early has none of those 7 days left on day 21 — 100% wasted, whatever the code says. Install two days early instead and the worst case is 2 of 7 days, or 29%. Second, failure cost: if you estimate a 1-in-10 chance of a failed airport install, the expected cost is 0.1 × ($12 + $18/7) ≈ $1.46, against five minutes at home that removes the risk entirely. Installing early is therefore a calculation, not a preference.
Five minutes of preparation removes every scenario in this article:
- Install on Wi-Fi at home, not at the airport. That turns the code from a live liability into a finished job, and a dead airport network cannot strand you.
- Save the plain-text values, not just the image. The server address and activation code are what you would type by hand in a pinch.
- Keep a second copy off the phone, in a password manager or a note on a laptop you are travelling with. The best copy is the one that is not on the device being installed.
- Label the line when iOS or Android asks you to name the plan. "Travel" takes two seconds now and prevents a confusing data bill later.
- Screenshot the ICCID from the plan's details page. It is the number support asks for first, and it is much easier to read now than through a hotel mirror.
If you have not bought anything yet and the words "get" and "download" are still fuzzy, start with how to get an eSIM onto your phone in the first place. The order matters: get it, install it, then make it work.
The square in your inbox is a claim ticket with one punch left. Treat it like a boarding pass — useful until used, worthless after, and never something to hand to a stranger.


