Short answer
You hold the phone over the code, wait, and the phone says no. Or it says nothing at all, and the code just sits there. An eSIM QR code not working can mean five different problems that look alike, and each one has a different next step. The fix depends on the exact words on your screen.
The short answer is this: a rejected eSIM QR code usually means the code was already used, has expired, or the camera cannot read it. Before you scan again, check whether the eSIM is already installed on your phone. That one check solves the most common case, and it takes less than a minute.
If you have not installed an eSIM before, start with our guide to activating an eSIM before you fly, which covers the full setup in five minutes. This post is for the moment the QR code itself refuses to work.
eSIM QR code not working: read the error first
Most people scan the code a second time when the first scan fails. That is the one move that usually makes things worse. Most eSIM QR codes work once, on one device: Enjoy eSIM states it plainly, and eSIMFOX says the same, citing Tello, Orange Travel and SpinTel. A deleted eSIM cannot be added again with the same code.
That single-use rule is why the most common “rejected” code is a code that already worked. The first scan can finish the download while the screen still shows “Connecting”. You close the setup, try again, and the phone reports that the code is no longer valid. It has already been used, by you, a minute ago.
So the first step is a look, not a fix. On an iPhone, open Settings, then Cellular, which some regions label Mobile Data, and read the list of lines. On a Samsung, open Settings, then Connections, then SIM manager. On a Pixel, open Settings, then Network and internet, then SIMs. If a new line is there, with the provider name or a label like Travel or Secondary, the eSIM is installed. Turn the line on and stop scanning. The full iPhone path is in our iPhone eSIM setup guide, and the Samsung and Pixel paths are in our Android eSIM guide.
If no new line is there, the code really is spent, or the phone never read it. The table below tells you which of those you have, from the words on your screen.
What is inside the QR code
A QR code for an eSIM is a wrapper for two short pieces of text, not a picture of your plan. Transpovia describes it clearly: inside the code sit the address of the server that stores your eSIM, called the SM-DP+ address, and an activation code that tells the server which eSIM belongs to you. Your phone reads the code, contacts the server over the internet, and downloads the eSIM profile.

That three-step chain is the whole diagnosis. A failure can sit in the first step, the camera reading the code. It can sit in the second step, the phone reaching the server. Or it can sit in the third step, the server refusing to hand over a profile it has already given away, or one whose time has passed. The error message tells you which step failed, if you read it instead of tapping past it.
One more fact matters before the table. The QR code is only one way to carry those two pieces of text. The same SM-DP+ address and activation code can be typed in by hand, with the same result. That fallback is covered near the end of this post, and the full manual-entry guide is a later post in this series.
The error-message decision table
This table is this post’s own synthesis. No page 1 result lays all six rejection messages side by side with one fix each, and the table separates the scan step from the download step from the spent-code step, which is where guides blur the three together. Find your exact message, read what it means, and do the one fix in the right-hand column before trying anything else.
| What your screen says | What it usually means | Do this one thing |
|---|---|---|
| “Invalid QR code” or “Invalid code” | The camera cannot read the image, or the code is not an eSIM code at all | Rescan in better light on a second screen, or type the details in by hand |
| “This code is no longer valid” | The code was already used, or its time limit has passed | Check whether the eSIM is already installed; if it is not, ask your provider for a new code |
| “eSIM cannot be added” or “Cellular plan cannot be added” | The phone is carrier-locked, does not support eSIM, or the download dropped | Check the lock and compatibility, then retry on stable Wi-Fi |
| “Unable to activate eSIM” | The profile installed but has not connected to a network yet | Turn the line on, pick it for mobile data, and turn on data roaming for that line |
| Nothing happens at all | You are using the wrong scanner, or the code is on the same phone | Scan inside Settings, not the Camera app, and show the code on a second screen or print it |
| “Storage full” or the phone refuses a new profile | The phone has no room for another eSIM profile | Delete an old travel eSIM you no longer need, then try again |
Two rows deserve a warning. “This code is no longer valid” is the message people act on fastest and regret most. The instinct is to delete the eSIM and start clean. Do not do it. Apple advises against erasing an eSIM as a troubleshooting step unless your carrier tells you to, and eSIMFOX repeats the warning: with many providers, a deleted eSIM cannot be added again with the same code. Deleting turns a working eSIM into a support ticket.
The “Unable to activate” row is the one people misread as a QR code problem when it is not. The code did its job. The profile is on the phone. What is missing is the connection, and the fix is in the line settings, not in another scan. Some travel plans only start working when you reach the destination country, so a plan that looks dead at home may be behaving exactly as designed. That case is covered in the download section below.
When the camera will not read the code
If your message is “Invalid QR code”, or if nothing happens at all, the problem is usually physical, not digital. The camera cannot see the code clearly enough to read it. Work through these fixes in order, and stop as soon as the scan works.
First, use the right scanner. On an iPhone, open Settings, then Cellular, then Add eSIM, and choose Use QR Code. The camera opens inside the eSIM setup, which tells the phone it is reading an eSIM profile. Apple also lets you scan with the Camera app, which shows a Cellular Plan Detected notice. On Android, a regular camera app or a QR reader will not install an eSIM. It usually opens a web page or does nothing at all. You must start inside Settings. On a Samsung, go to Settings, then Connections, then SIM manager, then Add eSIM, then Scan QR code. On a Pixel, go to Settings, then Network and internet, then SIMs, then Add. Transpovia calls this the fix that solves most “won’t scan” problems, and it is the step most people skip.
Second, fix the light and the distance. Turn the brightness of the screen showing the code to maximum. Dim screens are the most common cause of a failed scan, according to Transpovia. Avoid windows and lamps that throw glare across the glass. Hold your phone about 15 to 25 cm from the code, and hold it steady for five to ten seconds. Wipe the camera lens with a clean cloth, because a fingerprint blurs the image more than you would expect. Check that every corner of the square sits inside the frame, with some white margin around it.
Third, check the code itself. If a messaging app sent you the code, open the original email or order page instead. A blurry screenshot sent through chat often fails, while the same code on the provider’s page scans in a second. If you have more than one code in your inbox, make sure you are scanning the right one. EarthSims notes that some providers send more than one QR code when you buy plans for different devices, and scanning the code meant for another phone will fail. Also check the label. Transpovia warns that not every QR code in your inbox is the eSIM code. Some open a website or log you in to an app. Scan only the code labelled eSIM activation, eSIM installation or cellular plan.
Fourth, solve the same-phone problem. Your phone cannot scan a QR code shown on its own screen. If the email with the code sits on the phone you want to use, open the email on a laptop, a tablet or a second phone, or print the page. On iPhone with iOS 17.4 or later, the press and hold method removes the problem completely. Some Android phones let you import the QR code image from your gallery on the scan screen, which helps if you only have one phone.
If the code still will not scan after all four steps, stop rescanning. Repeated attempts on a one-time profile can leave it half installed, which makes the fix harder. Move to the manual entry step near the end of this post.
When the scan works but the download fails
A clean scan is only the start. The phone then downloads the profile from the provider’s server, and that download needs the internet. Enjoy eSIM puts it plainly: if your Wi-Fi drops, the download can fail halfway.
Connect to a private, reliable Wi-Fi network, such as your home network, and stay on it until the installation is complete. Avoid airport, cafe or hotel networks that require a login page, because the download can stall behind the login screen. If you are about to travel, do all of this at home. Transpovia makes the same point: the easiest moment to install an eSIM is the day before departure, on stable Wi-Fi, with a full battery and nobody waiting behind you at an arrivals gate.
Turn off your VPN and iCloud Private Relay for a few minutes. Transpovia lists this among the first checks, because both can mask your location and the server may then turn down the download. If the download still fails, restart the phone and try the setup again. A temporary glitch in the camera or the setup flow can block a scan that should work. Then toggle Airplane Mode on for ten seconds and off again, which forces the phone to re-register on the network. EarthSims gives the same ten-second rule.
Check the date and time on your phone, and set them to automatic if they are not. Transpovia lists this as a final extra fix, because a wrong clock can break the secure connection to the download server.
One failure in this section is not a failure at all. Some travel eSIM plans only activate once you arrive at your destination. Enjoy eSIM says so directly. If your plan is a travel plan and you are still at home, turn the line on, pick it for mobile data, turn on data roaming for that line, and wait until you land before deciding it is broken. Our guide to installing an eSIM on any phone covers the order that works, including the roaming switch and the test before you fly.
Check the phone before you blame the code
If the scan and the download both look right and the code still fails, the phone itself may be the reason. Four checks cover nearly all of it.
First, does the phone support eSIM at all? Dial *#06# on the phone keypad. If an EID number appears, your phone supports eSIM. Enjoy eSIM and Online Tech Tips both give this check. Apple states that eSIM needs an iPhone XS, XS Max, XR or later. On Android, Samsung and Google cover recent Galaxy S and Pixel phones. If no EID appears, the phone likely does not support eSIM, and no code will fix that.
Second, is the phone carrier-locked? A phone tied to one carrier can carry eSIM hardware and still reject a profile that another provider issued. Transpovia states this directly, and Enjoy eSIM adds that a locked phone often answers with an “eSIM cannot be added” message. On an iPhone, go to Settings, then General, then About, and scroll to Carrier Lock. “No SIM restrictions” means the phone is unlocked. On Android, the location varies by brand, so the quickest option is to ask the carrier you bought the phone from.
Third, is the phone full? Phones hold a limited number of eSIM profiles. Apple states that an iPhone can manage up to eight or more eSIMs. If you have collected several old travel plans, delete the ones you no longer need in your cellular settings, then try again. Transpovia gives this as the fix for a “Storage full” message. Do not delete the eSIM you are trying to install. Delete an old one you have already finished with.
Fourth, is the software current? An old iOS or Android build can break the eSIM setup screen, so install any pending update, then try once more. On Android only, Online Tech Tips adds one more step: open the Play Store, search for Carrier Services, and update it if an update is offered. That app handles the handshake between the phone and the network, and an old version can block activation.
Type it in by hand instead
Manual entry is the fallback when the camera keeps failing, and it is a normal feature of the eSIM standard, not a workaround. Every QR code simply carries the same two values you can type by hand, and the result is the same eSIM profile. Transpovia says so directly, and every source opened for this post agrees.
Find the two values in your confirmation email, your provider’s app or your order page, in a section called manual installation: the SM-DP+ address and the activation code. Some providers show one long string that begins with LPA and uses dollar signs between the parts. The address sits between the first two dollar signs, and the activation code comes after them. If you only received a QR image, ask the provider to send the two values in plain text.
On an iPhone, go to Settings, then Cellular, then Add eSIM, then Use QR Code, and tap Enter Details Manually at the bottom of the scanner. Apple gives this path on its set up eSIM page, published 18 November 2026. Type the SM-DP+ address in the first field and the activation code in the second, and add the confirmation code only if your provider gave you one. On Android, open the eSIM screen where the scanner appears and look for Enter code manually, Need help, or Download a SIM instead. Pick the manual option and enter the details. Some Android phones ask for one combined code, and others ask for two separate values.
Two typing traps cause most manual-entry failures. Copy and paste the values whenever you can. A hidden space before or after the text is enough to make the phone reject the address. And never paste the whole LPA string into the activation code field. Each part goes in its own box. Online Tech Tips adds one more: do not include “https://” when entering the SM-DP+ address manually. Use the address portion that starts after it.
A later post in this series, “No QR Code? Activate Your eSIM by Hand Instead”, covers manual entry in full, including which providers offer it. This post keeps manual entry as a fallback step only.
When the code is spent, ask for a new one
Some codes cannot be fixed. A code that was already used, a code deleted with its eSIM, and a code whose time limit has passed are all spent, and no amount of rescanning brings them back. The only fix is a new code from the provider that sold you the eSIM. Apple cannot issue one, and your home carrier cannot issue one for a travel eSIM. eSIMFOX states this plainly: if no new line shows in your settings, only your eSIM provider can help.

Before you contact support, gather four things. Your order number, your phone model, a screenshot of the exact error message, and your EID. Transpovia and eSIMFOX both list the same four items, and eSIMFOX notes that some providers can push the eSIM straight to your phone with the EID and skip the QR code completely. Write down the exact wording of the error. Your provider will ask for it.
How long do you have? It depends on the provider. Online Tech Tips says some eSIM codes expire after 24 to 48 hours. EarthSims says most travel eSIM QR codes expire 30 to 90 days after purchase. Neither figure is a rule for all providers. Check your order email for the window that applies to your code, and install soon after you receive the order rather than leaving it until the night before you fly.
The good news is that a new code is usually free. EarthSims states that most providers will regenerate a new activation code for free, and lists Airalo, Saily, Holafly and Nomad as providers that do. Do not buy a second plan before you ask. Contact support first, send the four items above, and ask for a replacement code. If the provider confirms the plan itself has expired, rather than the code, then a new plan is the answer.
One last check before you write the message. Make sure you are asking the right company. For a travel eSIM, the provider is whoever sold you the eSIM, not your home carrier. The iPhone error says “Contact your network provider”, and for a travel eSIM that means the travel eSIM seller. Sending the request to the wrong company costs a day.
Questions people ask
Why does my eSIM QR code say invalid?
An invalid message usually means the phone could not read the code, or the code is not an eSIM activation code. Rescan in better light on a second screen, check that you are scanning the code labelled eSIM activation, and try the manual details if the camera keeps failing.
Why does my eSIM say “This code is no longer valid”?
The code has usually already been used, or its time limit has passed. Check whether the eSIM is already listed in your settings. If it is, turn the line on and stop scanning. If it is not, ask the provider that sold you the eSIM for a new code.
Can I scan an eSIM QR code twice?
Generally no. Most eSIM QR codes are single-use and can only install one eSIM profile on one device. A second scan usually returns an error. If you need to install the eSIM again, ask your provider for a new code.
Can I scan an eSIM QR code from the same phone?
Your camera cannot scan its own screen. Use a second screen or a printout. On iPhone with iOS 17.4 or later, you can press and hold the QR code in an email or web page and tap Add eSIM. Some Android phones let you import the QR code image from the gallery.
Does an eSIM QR code expire?
Some do. The window is set by your provider. Online Tech Tips says some codes expire after 24 to 48 hours, and EarthSims says most travel eSIM QR codes expire 30 to 90 days after purchase. Check your order details and install your eSIM well before you travel.
What happens if I delete my eSIM after scanning it?
Deleting an eSIM usually removes the profile from your phone permanently, and the same QR code typically will not work again. Apple advises against erasing an eSIM as a troubleshooting step unless your carrier tells you to. Contact your provider before deleting anything.
What if I lost my eSIM QR code?
If you have not installed the eSIM yet, the code is usually in your order confirmation email. Search your inbox and your spam folder, or check the provider’s app. If you still cannot find it, contact support and ask for the code or the manual installation details to be sent again. Our guide to getting your eSIM code back covers the recovery steps in full. If the eSIM is already installed, you do not need the QR code any more.
Sources and check date
The error-message decision table is this post’s own synthesis of the sources below. No source prints all six messages side by side with one fix each, and the split between the scan step, the download step and the spent-code step is this post’s own framing. The expiry figures are attributed in the text: 24 to 48 hours comes from Online Tech Tips, and 30 to 90 days comes from EarthSims. The 50 percent and 95 percent figures on the EarthSims page were read but not used, because that page gives no method behind them. The full manual-entry guide and the full activation-failure checklist belong to later posts in this series.
- Transpovia: eSIM QR Code Won’t Scan? Here’s How to Fix It
- Enjoy eSIM: eSIM QR Code Not Working? Easy Fixes That Work
- Online Tech Tips: How to Fix eSIM Activation Errors on Android and iPhone
- EarthSims: eSIM Not Working? Complete Troubleshooting Guide 2026
- Apple Support: Set up eSIM on iPhone
- eSIMFOX: This Code Is No Longer Valid? iPhone eSIM Fix
- Our guide to activating an eSIM before you fly
- Our guide to getting your eSIM code back
- Our guide to installing an eSIM on any phone
- Our iPhone eSIM setup guide
- Our Android eSIM guide
Checked 22 November 2026
