Quick answer: why your iPhone can’t add the cellular plan
Your iPhone could not add the eSIM. Before you try anything else, check whether the eSIM is already installed. Then work through Apple’s steps.
- Check first: Settings > Cellular. If you see a new line under eSIMs, the eSIM is installed and you don’t need to scan again.
- Don’t delete it: with many providers, a QR code works only once. A deleted eSIM often needs a new code.
- Apple’s fixes: Wi-Fi, latest iOS, Airplane Mode on and off, turn the line off and on, restart, update carrier settings.
- Still stuck: check that your iPhone is unlocked, then ask your eSIM provider for a new QR code.
What the error message says
People search for this problem as “cellular plan cannot be added”, “eSIM cannot be added” or “unable to add cellular plan”. In an Apple Support Community thread, a user reports the iPhone alert as “eSIM cannot be added” with the text “This code is no longer valid. Contact your carrier for more information.”
According to the eSIMFOX setup guide, “This code is no longer valid” usually means the eSIM is already installed on your phone or the QR code was already used. If your alert shows different text, write it down. Your provider will ask for it.
Common causes and fixes
Cellular plan cannot be added: causes and fixes (as of Nov 6, 2026)
| Cause | How to tell | What to do |
|---|---|---|
| eSIM already installed | A new line shows under eSIMs in Settings > Cellular | Don’t scan again. Turn the line on and use it. |
| QR code already used or eSIM deleted | “This code is no longer valid” and no new line in Settings > Cellular | Ask your eSIM provider for a new code |
| Code replaced by a newer one | You or your provider requested a new code | Use only the newest code |
| No internet during setup | Weak or no Wi-Fi | Connect to Wi-Fi or a hotspot and try again |
| iPhone is carrier-locked | Settings > General > About doesn’t show “No SIM Restrictions” next to Carrier Lock | Contact your carrier about unlocking |
| iPhone doesn’t support eSIM | Model older than iPhone XS or iPhone XR | Use a supported iPhone |
| Old iOS or carrier settings | An update is waiting in Settings | Install the latest iOS and any carrier settings update |
Deutsche Telekom lists the same main reasons a QR code won’t work: the device doesn’t support eSIM, the code was already used, the device isn’t online, or a newer code replaced it (Telekom, in German).
Step 1: Check if the eSIM is already installed
Often the first scan worked, and only a second attempt shows the error. Check this before anything else:
- Open Settings and tap Cellular (Mobile Data in some regions).
- Look for a new line under eSIMs. Apple says this is where you verify that a new eSIM is turned on (Apple).
- Tap the line and make sure Turn On this Line is enabled.
- For a travel eSIM, pick it under Settings > Cellular > Cellular Data when you arrive (Apple). Travel eSIMs also need Data Roaming turned on for that line (eSIMFOX).
An eSIMFOX eSIM often shows up as Travel, Mobile Data, Secondary, PLUS or eSIMFOX Travel (eSIMFOX setup guide). If you see it, you’re done. Data works once you’re in your destination and roaming is on for that line.
Step 2: Apple’s fixes when you can’t add an eSIM
If no eSIM line shows up, follow Apple’s checklist for when you can’t set up an eSIM (Apple Support):
- Connect your iPhone to Wi-Fi or a hotspot.
- Install the latest iOS version your iPhone can use.
- Turn Airplane Mode on and off.
- Open Settings > Cellular. If the number you’re trying to activate is shown, turn the line off and back on.
- Restart your iPhone.
- Check carrier settings: Settings > General > About, scroll to the eSIM section and tap the version number next to Carrier. If an update is available, you’ll see a prompt.
- On iOS 18 or later, the Apple Support app can run extra diagnostics.
After each step, Apple suggests opening Control Center and checking whether your carrier appears in the status bar. If it doesn’t, go to the next step.
Step 3: Check carrier lock and eSIM support
A travel eSIM from another provider only works if your iPhone isn’t locked to a carrier. Go to Settings > General > About. If your iPhone is unlocked, “No SIM Restrictions” appears next to Carrier Lock (Apple). If it’s locked, contact your carrier about unlocking (Apple).
eSIM needs an iPhone XS, iPhone XS Max, iPhone XR or later (Apple). For other phones, see our eSIM compatible devices list.
Step 4: Add the eSIM the right way
If your provider sent a QR code, this is how Apple says to add it after setup (iPhone User Guide):
- Go to Settings > Cellular, tap Set Up Cellular or Add eSIM, then tap Use QR Code. You may need to tap Other Options first.
- Hold your iPhone so the QR code appears in the frame.
- Follow the onscreen steps.
- If you’re asked for a confirmation code, enter the number your provider gave you.
You can also scan the code with the Camera app and tap the Cellular Plan Detected notification. On iOS 17.4 or later, you can tap and hold a QR code in an email and then tap Add eSIM (Apple).
If scanning fails, enter the details by hand: Settings > Cellular > Add Cellular Plan > Enter Details Manually (Apple). Copy the SM-DP+ address and activation code exactly as your provider sent them. Learn more: What is an SM-DP+ address?
Important: scan each code only once. If the alert already says the code is no longer valid, go back to Step 1.
When you need a new QR code
If no eSIM line shows up and the code is rejected, your eSIM provider has to help. Apple says to contact your carrier to get a QR code (Apple).
Deutsche Telekom, for example, says an activation code can be used only once and becomes invalid as soon as the eSIM profile is on the device (Telekom, in German). So with many providers, a deleted eSIM needs a new code.
Before you contact support, Apple suggests writing down the exact error message and having your IMEI or EID ready. You’ll find both in Settings > General > About (Apple).
eSIMFOX customers: send support your order number, a screenshot of your eSIM settings and the error message on WhatsApp (eSIMFOX).
Other iPhone eSIM errors
- “This code is no longer valid” in detail: How to fix “This code is no longer valid”
- “Unable to activate eSIM”: How to fix “Unable to Activate eSIM” on iPhone
- “Unsupported eSIM”: How to fix “Unsupported eSIM” on iPhone
- eSIM installed but no data: Why is my eSIM not working?
Sources
- Apple Support: Set up eSIM on iPhone, If you can’t set up an eSIM on your iPhone, Use eSIM while traveling internationally, iPhone User Guide: Set up cellular service, accessed November 6, 2026.
- Wording of the iPhone alert: user report in the Apple Support Community, accessed November 6, 2026.
- Deutsche Telekom Help (German): Using an activation code more than once, QR code errors, accessed November 6, 2026.
- eSIMFOX: How to install and use your eSIM, accessed November 6, 2026.
Related guides
- How to install and use your eSIM
- How to fix “This code is no longer valid” on iPhone
- How to fix “Unable to Activate eSIM” on iPhone
- How to fix “Unsupported eSIM” on iPhone
- Why is my eSIM not working? Troubleshooting guide
- What is an SM-DP+ address? Install an eSIM manually
- eSIM compatible phones and devices
Frequently Asked Questions
What does “cellular plan cannot be added” mean on iPhone?
Why does my iPhone say “This code is no longer valid”?
Can I scan the same eSIM QR code twice?
Should I delete the eSIM and try again?
How do I check if my iPhone is carrier-locked?
Do I need Wi-Fi to add an eSIM?
Which iPhones support eSIM?
The eSIM is installed but I have no data. What now?
Stay connected on your next trip
Browse eSIM plans for 200+ destinations and activate in 60 seconds.



