In short: the eSIM on the iPhone for travel lets you carry two lines at once: your Spanish SIM as primary for calls and WhatsApp, and a data eSIM for your destination country as a secondary line. This way, you can surf with a local network, without roaming and without losing your number, by just adjusting four options in Settings before flying.
If you're traveling with your iPhone, you've probably already heard about eSIM as the most convenient way to have data at your destination. But the detail that makes the difference between a connected trip and an unexpected roaming bill isn't just installing it: it's properly configuring which line does what. In this guide, you'll see, step-by-step and without jargon, how to get your iPhone ready to land with internet, no roaming, no stress.
What is an eSIM and why it's convenient for your iPhone
An eSIM is a SIM card that doesn't exist in physical format: it's a digital profile that is recorded on the chip your iPhone already has from the factory. There's no need to insert anything or remove the tray with a clip; it's installed by scanning a QR code, and in a couple of minutes, you have a new active line. If you want the complete technical details of what exactly it is and how it differs from a physical SIM, you can find it in the guide on what a virtual eSIM is.
For travel, that digital nature is precisely what makes it so practical: you can buy a data eSIM for your destination country, install it before leaving home, and have it ready to activate as soon as you land, without going to a store or looking for an ATM to pay for a local SIM. And since the iPhone supports two simultaneous lines, you don't have to choose between your Spanish number or destination data: you can have both at the same time.

How the iPhone's Dual SIM works
The iPhone allows you to have two active lines at once: your Spanish card (physical or eSIM) and a travel eSIM. In Settings, you can choose which line uses mobile data, which handles calls, and from which you send each message. This flexibility is precisely what you need when traveling.
The idea is simple: you leave your Spanish line as "Primary" so you continue receiving calls, bank SMS, and verification codes on your usual number, and you set the destination eSIM as the "Data" line. You browse cheaply with a local network but remain reachable. Modern iPhones even support two eSIMs installed simultaneously and several stored on the device to switch between them, which is very useful if you travel frequently to different countries.
Which iPhones are eSIM compatible
Almost all iPhones from iPhone XR and XS (2018) onwards support eSIM, including the entire range of 11, 12, 13, 14, 15, and later models. If your iPhone is from the last few years, you can assume it works with eSIM for travel.
To check it yourself, go to Settings, then Cellular, and look for the option "Add eSIM" or "Add Data Plan". If it appears, your iPhone is compatible. Note an important nuance: the iPhone must be carrier-unlocked, meaning not tied to a specific company, to be able to use an eSIM from another provider. Most iPhones bought unlocked or already paid off in installments are.
Quick check: dial *#06# on your phone's keypad. If an EID appears among the codes, your iPhone has an eSIM chip and is compatible. This is the most direct way to be sure before buying the plan.
Install the travel eSIM step-by-step
Installing an eSIM on your iPhone takes about a minute and can be done at home with Wi-Fi, before you fly. You'll receive a QR code via email when you purchase the plan, and you just need to scan it from Settings. Here are the exact steps, and if you prefer the process explained generically for any compatible phone, here's the guide on how to install an eSIM.
- With Wi-Fi, open Settings and go to Cellular.
- Tap "Add eSIM" and then "Use QR Code".
- Scan the QR code you received by email when you purchased the eSIM.
- When the iPhone asks you to label the lines, name the eSIM "Travel" or "Data" and your main card "Primary".
- Don't delete anything: both lines coexist without problems on the same device.
If the QR code doesn't scan at first, check that the screen brightness where you're viewing it is high and that there are no reflections; you can also enter the data manually using the alphanumeric code that usually comes with the QR in the same email.

Configure primary and data lines
Once the eSIM is installed, you need to tell the iPhone which line does what. This is where many people make mistakes and end up spending on roaming unintentionally, even if they have the eSIM correctly installed. The correct configuration for travel is this table.
| iPhone Setting | What to choose for travel | Why |
|---|---|---|
| Mobile Data | Travel eSIM | You browse with a local network at your destination |
| Default Voice Line | Your Spanish SIM | You receive calls and SMS on your usual number |
| Allow Mobile Data Switching | Disabled | Prevents the iPhone from using your Spanish SIM for data and charging you roaming fees |
| Data Roaming for the Spanish SIM | Disabled | Extra protection against roaming charges |
With these four settings, you always browse via the eSIM and never via your Spanish plan, while still receiving calls on your number. This combination avoids surprise bills when you return from your trip.
Data roaming: what to disable and why
Data roaming is what allows your line to use mobile networks outside its home country, usually with an added cost that can exceed several euros a day if your plan doesn't include it. If you've never quite understood what this setting means or why it appears in iPhone options, you should carefully read what data roaming is before touching anything.
The key is that this setting exists for each line installed on the iPhone, not generally. That is to say: you can have data roaming activated on the travel eSIM (so it works in the country where you bought it) and deactivated on your Spanish SIM (so it doesn't charge you for using networks outside Spain). These are two independent switches and must be checked separately. If you also want to understand the difference between buying a travel eSIM and simply leaving your carrier's roaming activated, the comparison is in eSIM vs traditional roaming.
Pre-flight checklist
Before getting on the plane, it's best to have everything prepared at home with Wi-Fi, so that when you land, you just have to turn on your phone. Review this quick list so you don't forget anything important for your iPhone.
- Install the eSIM and label the lines as "Travel" and "Primary".
- In Cellular, set the travel eSIM as the data line.
- Disable "Allow Mobile Data Switching" so it doesn't switch to your Spanish SIM.
- Disable data roaming for your Spanish SIM.
- Check that WhatsApp is still linked to your Spanish number (it doesn't change automatically).
- Download any important maps or documents to your phone in case it takes a few minutes to get coverage upon landing.
With everything ready from home, when you land, you just activate data usage for the eSIM and you're connected, without searching for airport Wi-Fi or ATMs for a physical SIM.
eSIM vs traditional roaming on iPhone
When deciding how to get travel data, you're essentially choosing between two very different paths: letting your Spanish operator activate roaming, or installing a local or regional eSIM on your iPhone. This table summarizes the most practical differences, without specific figures as each operator and plan varies.
| Aspect | Roaming from Spanish Operator | Travel eSIM on iPhone |
|---|---|---|
| Cost outside the EU | Can exceed several euros per day or be charged per MB consumed, depending on the plan | Fixed rate of the data plan you choose before traveling |
| Activation | Automatic upon landing, without warning of cost | Manual: you activate it when you want to start consuming data |
| Your usual number | Maintained, as you use the same line | Maintained, as it remains the primary voice line |
| Contracting | Depends on your operator's terms and conditions | Purchased online, no commitment, before leaving home |
| Coverage | The network your operator has an agreement with at the destination | Local or regional network of the eSIM provider |
The fundamental difference is control: with roaming, you depend on the conditions your Spanish operator has agreed upon for that country, something you often don't even check until you see the bill. With an eSIM, you know beforehand what data plan you've purchased and how long it lasts, and you decide when to activate it.
Common mistakes and what almost no one tells you
Beyond the basic settings, there are a series of details that almost no one mentions and that make the difference between a smooth trip and one with last-minute scares.
- Installing the eSIM at the destination airport is a classic mistake. You need Wi-Fi to download the profile, and airport Wi-Fi doesn't always work well right after landing. Install it at home, calmly, and activate it upon arrival.
- Thinking that "eSIM" and "active data line" are the same thing. You can have the eSIM installed and correctly configured as a data line, but if data roaming for that specific eSIM is disabled, you won't be able to browse anyway. Check that switch on the eSIM itself, not just on your Spanish SIM.
- Not all apps behave the same with two active lines. Some banking apps or two-step verification apps might appear a bit slower when detecting a network change; if this happens, wait a few seconds before retrying instead of reinstalling anything.
- Using public Wi-Fi without protection is still a risk, whether you have an eSIM or not. An eSIM gives you your own data and already reduces the need to connect to open Wi-Fi networks in cafes or airports, but if you're going to do sensitive transactions, it's advisable to add an extra layer; you can find the keys in the guide on VPN and travel privacy with eSIM.
- Spending data unknowingly due to automatic updates. Before leaving home, check that apps are not configured to update automatically using mobile data. There are specific tricks to extend your data plan in the guide on how to save eSIM data when traveling.
- Buying the wrong plan for the area. If your route crosses several European countries, an eSIM designed for just one will be insufficient; it's advisable to look directly for an eSIM for Europe that covers the entire itinerary without having to install a new one at each border. If the destination is the United States, the same applies to an eSIM for the United States designed for coverage in that specific country.
Typical problems and how to solve them
Most issues with eSIMs on iPhones are due to a misplaced setting, not a plan failure. Here are the most common travel mishaps and their quick solutions.
- No data upon arrival: check that the eSIM is set as the data line and that data roaming for the eSIM itself is activated.
- I'm still being charged for roaming: you had "Allow Mobile Data Switching" active or roaming for the Spanish SIM; deactivate both.
- The QR code doesn't scan: manually enter the data using the alphanumeric code from the purchase email.
- WhatsApp isn't sending messages: check that the eSIM has data and coverage in that area, and that WhatsApp has permission to use mobile data.
- It's slow right after landing: give the phone one or two minutes to connect to the local network; this is normal right after turning off airplane mode.
Frequently asked questions
Can I use a travel eSIM without removing my Spanish SIM from the iPhone?
Yes, that's precisely the point. The iPhone supports two active lines simultaneously: you leave your Spanish SIM as primary for calls and SMS, and the travel eSIM as the data line. You browse with a local network without losing your number or your usual card.
How do I know if my iPhone is eSIM compatible?
Almost all iPhones from the XR and XS (2018) onwards are. To confirm, dial *#06# and check if an EID appears; if it does, your iPhone has an eSIM chip. You can also go to Settings, Cellular, and see if the "Add eSIM" option appears. The iPhone must be carrier-unlocked.
Why am I still being charged for roaming if I have the eSIM installed?
It's almost always because the "Allow Mobile Data Switching" setting is active, which lets the iPhone use your Spanish SIM if the eSIM temporarily loses signal. Disable it and also disable data roaming for your Spanish card. This way, the iPhone will only use the eSIM for browsing.
Can I still use WhatsApp with my Spanish number?
Yes. WhatsApp remains linked to your Spanish number and works with the eSIM's data without needing to re-register. It doesn't change automatically when you install the eSIM. Just make sure WhatsApp has permission to use mobile data and that the eSIM has coverage at the destination.
Do I have to install the eSIM before flying or can I do it upon arrival?
Install it at home with Wi-Fi, as the process takes about a minute and requires a connection to download the profile. Then, upon landing, you just activate the eSIM's data usage. Leaving it for the destination airport without Wi-Fi is the most common and easiest mistake to avoid.
How many eSIMs can I have stored on my iPhone at once?
Recent models allow you to store multiple eSIMs on the device, although you can only have two lines active simultaneously (one physical plus one eSIM, or two eSIMs). This is useful if you travel often: you keep each eSIM stored and activate only the one for the country you are in at any given time.
Does eSIM work the same in Europe as outside the European Union?
Technically yes, the installation and activation process is the same. What changes is the coverage and the plan you need: within the EU, a plan designed for several countries might be sufficient, while outside, it's advisable to choose the specific eSIM for the destination or region to ensure good coverage.
Conclusion
The iPhone is made for traveling with an eSIM: two active lines at once, your Spanish number intact, and local data just by choosing which line does what. Install it at home with Wi-Fi, set the mobile data to the eSIM, and disable roaming for your Spanish card. With this configuration, you'll land connected and without surprise bills, wherever you travel.






