How Does eSIM Work? A Simple Explanation
Understand exactly how eSIM technology works — from QR code scanning to profile download to network authentication. Technical concepts explained with real-world analogies anyone can follow.
TL;DR
An eSIM works like a tiny, reprogrammable computer chip inside your phone. When you scan a QR code, your phone contacts a secure cloud server (called SM-DP+), downloads an encrypted carrier profile, and installs it onto the chip — all in about 60 seconds. That profile contains everything your phone needs to authenticate with a mobile network: credentials, settings, and encryption keys. No physical card involved. The same chip can be reprogrammed with different carrier profiles over and over again, which is why you can switch carriers in seconds without opening your phone.
The Big Picture: What Happens When You Activate an eSIM?
Before we get into the technical details, here is the 30-second version of what happens every time you activate an eSIM:
- You buy an eSIM plan — from a carrier, a travel eSIM provider, or an app
- You receive a QR code (or activation link) — this is your “key” to download the profile
- Your phone contacts a secure server — called SM-DP+, which stores your carrier profile
- The profile downloads and installs — encrypted credentials, network settings, everything
- Your phone connects to the network — authentication happens automatically, just like a physical SIM
The entire process takes 1-3 minutes. But behind those 1-3 minutes, there is an elegant system of encryption, authentication, and remote provisioning that keeps everything secure and seamless.
Let’s unpack each layer.
Step 1: The Hardware — What’s Actually Inside Your Phone
The eUICC Chip
The heart of eSIM is a tiny chip called the eUICC — that stands for embedded Universal Integrated Circuit Card. Don’t worry about the name. Think of it like this:
Analogy: A traditional SIM card is like a printed boarding pass — it has one set of information baked in. An eUICC chip is like a blank e-ink display — it can show any boarding pass you load onto it, and you can change it whenever you want.
The eUICC chip is about 5mm x 5mm (smaller than your pinky fingernail) and is soldered permanently onto your phone’s motherboard during manufacturing. It contains:
- A secure processor — a small CPU that handles encryption and authentication
- Secure storage — encrypted memory that holds carrier profiles (usually 8-20 profiles)
- A crypto engine — hardware-level encryption that protects everything stored on the chip
- A small operating system — called the ISD-R (Issuer Security Domain - Root), which manages profile installation and switching
The key difference from a traditional SIM card: a regular SIM comes from the factory with one carrier’s information permanently written on it. An eUICC ships blank and can be programmed, erased, and reprogrammed with different carrier profiles — remotely, over the internet.
What About iSIM?
You might hear about iSIM (integrated SIM) — this is the next evolution. Instead of a separate chip soldered onto the motherboard, iSIM bakes the SIM functionality directly into the phone’s main processor (SoC). Qualcomm’s Snapdragon 8 Gen 2 and later support iSIM. It works identically from a user perspective, just even smaller and more integrated.
Step 2: The QR Code — More Than Meets the Eye
When you buy an eSIM plan and receive a QR code, that QR code is not the eSIM profile itself. It is more like a set of instructions that tells your phone where to go to download the profile.
Here is what is actually encoded inside an eSIM QR code:
LPA:1$smdp.example.com$ACTIVATION-CODE-HERE
Breaking that down:
| Component | What It Is | Analogy |
|---|---|---|
LPA:1 | Protocol identifier — tells your phone this is an eSIM activation code | Like “https://” tells your browser it is a web address |
smdp.example.com | The SM-DP+ server address — where your profile is stored | Like a restaurant’s address on a delivery app |
ACTIVATION-CODE-HERE | Your unique activation code — proves you paid for this profile | Like an order confirmation number |
Some QR codes also include an optional confirmation code for extra security (like a PIN you must enter during setup).
Analogy: Think of the QR code as a movie ticket. The ticket itself is not the movie — it is proof that you bought a seat, and it tells you which theater (server) and which screen (activation code) to go to. The actual movie (carrier profile) streams when you arrive.
What If You Don’t Have a QR Code?
Not all eSIM activations require scanning a QR code. There are three activation methods:
- QR code scan — the most common method for travel eSIMs
- Manual activation code — you type in the SM-DP+ address and activation code manually (useful if you can’t scan)
- Carrier app / push activation — the carrier’s app triggers the download directly (common with major carriers like T-Mobile, EE, Vodafone)
All three methods achieve the same thing: they tell your phone where to download the carrier profile from.
For step-by-step activation instructions on specific devices, see our iPhone eSIM Setup Guide or Samsung eSIM Setup Guide.
Step 3: The Brains of the Operation — SM-DP+ and SM-DS
This is where eSIM gets genuinely clever. Behind every eSIM activation, there are two critical servers working in the background.
SM-DP+ (Subscription Manager - Data Preparation)
The SM-DP+ is the star of the show. It is a secure cloud server that:
- Stores carrier profiles — when a carrier creates an eSIM plan, the profile is uploaded to an SM-DP+ server
- Encrypts and packages profiles — each profile is encrypted specifically for the target eUICC chip
- Delivers profiles to your phone — when you scan the QR code, your phone contacts this server to download the profile
Analogy: The SM-DP+ is like a secure vault at a car dealership. When you buy a car (eSIM plan), the dealership doesn’t hand you a physical key. Instead, they program a digital key (carrier profile) in their secure vault, and when you show your purchase receipt (QR code), they beam the digital key to your car (phone) over a secure connection.
Here is the clever part: the SM-DP+ encrypts each profile specifically for your eUICC chip. Even if someone intercepted the data during download, they couldn’t install it on a different device. The profile and the chip are cryptographically bound.
SM-DS (Subscription Manager - Discovery Service)
The SM-DS is like a post office directory. It helps your phone find the right SM-DP+ server when the carrier uses push activation (instead of a QR code).
Here is how it works:
- A carrier creates a profile for you on their SM-DP+ server
- The SM-DP+ registers a notification with the SM-DS: “Hey, there’s a profile waiting for device #XYZ”
- Your phone periodically checks the SM-DS: “Any profiles waiting for me?”
- The SM-DS responds: “Yes, go to this SM-DP+ server to download it”
Most consumers never interact with or even know about the SM-DS. It works entirely in the background. You only encounter it when a carrier sends you an eSIM profile without a QR code — the “push” method.
The Full Download Sequence
Here is the complete technical flow when you scan a QR code:
You scan QR code
↓
Phone reads SM-DP+ address + activation code from QR
↓
Phone's LPA (Local Profile Assistant) contacts SM-DP+ server
↓
SM-DP+ verifies: "Is this activation code valid? Is this eUICC legitimate?"
↓
Mutual authentication (SM-DP+ and eUICC verify each other's identity)
↓
SM-DP+ encrypts the carrier profile specifically for your eUICC
↓
Profile downloads over HTTPS (TLS 1.2/1.3 encrypted)
↓
eUICC decrypts and installs the profile into secure storage
↓
Phone displays: "eSIM installed successfully" ✓
The whole process takes 30-90 seconds on a decent internet connection.
Step 4: The Carrier Profile — What’s Actually Downloaded?
When people say “download an eSIM,” what gets downloaded is a carrier profile (technically called an eSIM profile or operator profile). It is a small data package — typically 50-200 KB — that contains everything your phone needs to connect to a specific mobile network.
Here is what is inside:
| Component | What It Does | Physical SIM Equivalent |
|---|---|---|
| IMSI (International Mobile Subscriber Identity) | Your unique subscriber ID on the carrier’s network | Printed on the SIM card chip |
| Ki (Authentication Key) | Secret key used to prove your identity to the network | Burned into the SIM card during manufacturing |
| OPc (Operator Variant Algorithm Configuration) | Carrier-specific authentication parameter | Burned into the SIM card |
| APN settings | Access Point Name — tells your phone how to connect to the internet | Configured on the SIM or manually entered |
| PLMN list | Preferred/allowed network list — which networks you can roam on | Stored on the SIM card |
| Carrier branding | Carrier name, logo, customer service numbers | Stored on the SIM card |
| Applets | Small programs (like carrier apps or STK menus) | SIM toolkit applications |
Analogy: If connecting to a mobile network is like checking into a hotel, the carrier profile is your complete reservation package: your booking confirmation (IMSI), the room key code (Ki), the hotel’s access rules (APN), and a list of partner hotels you can use if this one is full (PLMN roaming list).
Profile Size and Storage
A single eSIM profile is tiny — about 50 to 200 KB. That is smaller than a single photo on your phone. Modern eUICC chips have enough secure storage for 8-20 profiles, though typically only 1-2 can be active simultaneously (the rest are stored but dormant).
Step 5: Network Authentication — Proving You Belong
Once the carrier profile is installed, your phone needs to prove to the network that it is a legitimate subscriber. This process is identical whether you use an eSIM or a physical SIM — the network cannot tell the difference.
Here is the authentication dance, simplified:
The Challenge-Response Handshake
- Your phone says: “Hi, I’d like to connect. My subscriber ID is [IMSI].”
- The network responds: “Prove it. Here’s a random number: 7392847561.” (This is the “challenge.”)
- Your eSIM chip does math: Using the secret Ki key stored in the profile, the eUICC’s crypto engine encrypts the random number using the AES algorithm.
- Your phone sends back: “Here’s my answer: A4F2C8E1B3.” (This is the “response.”)
- The network checks: The carrier has a copy of your Ki key. It performs the same encryption on the same random number. If the answers match → you are authenticated. If not → access denied.
Analogy: It is like a secret handshake. Imagine you and your friend agreed on a special rule: “multiply any number by 7, then add 3.” Someone says “give me 5,” and you respond “38.” Only someone who knows the rule gets the right answer. The Ki key is that secret rule — and it never leaves the chip.
Why This Is Secure
The beauty of this system is that the Ki key never travels over the air. The network sends a random challenge, and the phone sends back only the encrypted result. Even if someone intercepts every single radio transmission, they cannot reverse-engineer the Ki key from the responses (AES encryption is mathematically infeasible to reverse without the key).
This is the same security model used by physical SIM cards since the 1990s — battle-tested and trusted by every carrier on Earth.
Step 6: Multiple Profiles — How Switching Works
One of eSIM’s most powerful features is storing multiple carrier profiles on a single device. Here is how profile management works:
Profile States
Each eSIM profile on your device is in one of three states:
| State | What It Means | Network Access |
|---|---|---|
| Active (Enabled) | The profile is currently in use. Your phone is connected to this carrier’s network. | Yes — full connectivity |
| Inactive (Disabled) | The profile is installed and stored but not currently in use. | No — dormant, uses no battery or radio |
| Deleted | The profile has been removed from the eUICC. To use it again, you need to re-download. | No — gone from device |
How Switching Happens
When you switch from Profile A to Profile B in your phone’s settings:
- Profile A is disabled — the eUICC deactivates it (but keeps it stored)
- Profile B is enabled — the eUICC loads its credentials into the active memory
- Your phone disconnects from Carrier A’s network
- Your phone runs the authentication handshake with Carrier B’s network (using Profile B’s Ki key)
- Connected — you are now on Carrier B
This process takes about 5-15 seconds. On most phones, you do it through Settings > Cellular/Mobile Data > eSIM.
Dual SIM Dual Standby (DSDS)
Most modern phones support DSDS — meaning they can keep two profiles active simultaneously:
- Profile 1 (e.g., your home carrier): Handles calls and texts
- Profile 2 (e.g., a travel eSIM): Handles mobile data
This is the holy grail setup for travelers: keep your home number reachable while using cheap local data abroad. For more on this, see eSIM vs Physical SIM: The Complete Comparison.
eSIM vs Physical SIM: The Activation Process Compared
Let’s compare exactly what happens during activation for each technology:
| Step | Physical SIM | eSIM |
|---|---|---|
| 1. Purchase | Buy online or in-store, wait for shipping (1-7 days) or visit a store | Buy online, receive QR code via email instantly |
| 2. Preparation | Find a SIM ejector tool (or paperclip) | Open phone Settings |
| 3. Installation | Power off phone → eject tray → insert card → close tray → power on | Scan QR code with phone camera (phone stays on) |
| 4. Profile loading | Phone reads the fixed profile from the physical card | Phone downloads profile from SM-DP+ server (30-90 seconds) |
| 5. Authentication | SIM’s Ki key authenticates with carrier network | eUICC’s Ki key authenticates with carrier network (identical process) |
| 6. Configuration | May need to manually set APN, enable roaming | Usually auto-configured; may need to enable data roaming |
| 7. Ready to use | 5-30 minutes (including physical handling) | 1-3 minutes (entirely digital) |
| Switching carriers | Power off → swap cards → power on → reconfigure | Settings toggle → 10 seconds → done |
| Storage | 1 profile per card | 8-20 profiles per eUICC |
The user experience of an eSIM activation is dramatically faster and simpler. But under the hood, steps 5 and 6 are technically identical — the network does not know (or care) whether you are using eSIM or a physical SIM.
The LPA: Your Phone’s eSIM Manager
There is one more important piece of the puzzle: the LPA — Local Profile Assistant. This is software built into your phone’s operating system that acts as the bridge between you (the user) and the eUICC chip.
The LPA handles:
- Profile discovery — scanning QR codes and extracting SM-DP+ addresses
- Profile download — communicating with the SM-DP+ server to fetch profiles
- Profile management — the settings screen where you enable, disable, rename, or delete profiles
- User consent — asking for your confirmation before installing or deleting profiles
When Apple shows you the “Add eSIM” screen, that is the LPA in action. When Samsung’s settings app shows your list of installed eSIM profiles, that is the LPA. It is the user-facing layer of the entire eSIM system.
Analogy: If the eUICC chip is a safe, and the carrier profiles are the valuables inside it, then the LPA is the safe’s combination lock interface — it is how you interact with what is inside without directly touching the secure hardware.
How eSIM Profiles Are Created (The Carrier Side)
Ever wondered what happens on the carrier’s end before you scan that QR code? Here is the behind-the-scenes workflow:
1. Carrier Creates the Profile
The mobile carrier (or travel eSIM provider) uses specialized software to create an eSIM profile. This profile is based on the GSMA RSP (Remote SIM Provisioning) specification and includes all the authentication credentials, network settings, and applets.
2. Profile Is Uploaded to SM-DP+
The finished profile is uploaded to an SM-DP+ server. Carriers can run their own SM-DP+ infrastructure or use a third-party service. Major SM-DP+ providers include Thales, IDEMIA, and G+D (Giesecke+Devrient) — the same companies that manufacture physical SIM cards.
3. Activation Code Is Generated
The SM-DP+ generates a unique activation code linked to that specific profile. This code, combined with the SM-DP+ server address, becomes the QR code you receive.
4. You Scan, Download, Connect
When you scan the QR code, the SM-DP+ verifies the activation code, confirms the profile has not already been downloaded, encrypts it for your specific eUICC, and sends it to your phone.
5. Profile Is “Consumed”
Most eSIM profiles are single-use — once downloaded to a device, the activation code is marked as used on the SM-DP+ server. This prevents the same profile from being installed on multiple devices simultaneously. (Some carriers support profile re-download or transfer, but this is carrier-specific.)
Security Deep Dive: Why eSIM Is Safe
If you are wondering whether downloading a SIM card “over the internet” is secure, the answer is: extremely. Here is why:
Layer 1: Mutual Authentication
When your phone contacts the SM-DP+ server, both sides verify each other’s identity using digital certificates issued by the GSMA. Your phone confirms the server is legitimate (not a phishing site). The server confirms your eUICC is a genuine, certified chip (not a counterfeit). Only after mutual verification does the profile transfer begin.
Layer 2: End-to-End Encryption
The carrier profile is encrypted using keys that only your specific eUICC can decrypt. Even if someone intercepted the data transfer, they would get nothing but meaningless encrypted bytes.
Layer 3: Secure Element Hardware
The eUICC chip is a secure element — a hardened piece of hardware designed to resist physical tampering. It is the same type of technology used in credit card chips, passports, and banking tokens. Extracting data from a secure element requires specialized equipment worth tens of thousands of dollars, and even then it is not guaranteed to succeed.
Layer 4: Ki Key Protection
The Ki authentication key is generated inside the secure element and never leaves it. Not during manufacturing, not during download, not during authentication. The key exists only inside the chip’s secure memory. This is fundamentally different from, say, a password stored in a database — the Ki is a hardware-protected secret.
eSIM vs Physical SIM Security
| Security Aspect | Physical SIM | eSIM |
|---|---|---|
| Authentication protocol | AES-128/256 | AES-128/256 (identical) |
| Key storage | Secure element on the card | Secure element in eUICC (identical) |
| Physical theft risk | Can be removed and used in another phone | Cannot be removed from device |
| SIM swap fraud | Vulnerable (criminal convinces carrier to transfer number) | Harder (but carrier-side social engineering still possible) |
| Remote wipe | Not possible if SIM is removed | Profile can be remotely deactivated |
| Interception risk | Same | Same (network authentication is identical) |
Bottom line: eSIM is at least as secure as a physical SIM card, and arguably more secure due to the inability to physically remove it.
Real-World Example: What Happens When You Land in Tokyo
Let’s walk through a concrete scenario to tie everything together.
Before your flight (at home, on Wi-Fi):
- You buy a 7-day Japan eSIM data plan from Airalo for $4.50
- Airalo creates a carrier profile on their SM-DP+ server, linked to a Japanese carrier (like IIJmio or SoftBank MVNO)
- You receive a QR code via email
- You scan the QR code → your phone’s LPA contacts Airalo’s SM-DP+ server
- Mutual authentication happens in milliseconds
- The carrier profile downloads (about 100 KB, takes 30 seconds on Wi-Fi)
- Your phone shows the new profile: “Airalo - Japan” — status: installed but inactive
When your plane lands in Tokyo:
- You go to Settings > Cellular > select “Airalo - Japan” as your data line
- You toggle on Data Roaming
- Your phone’s eUICC activates the Airalo profile
- The authentication handshake happens with the Japanese carrier’s network
- Within 10-30 seconds, you see signal bars and “SoftBank” (or similar) in your status bar
- You open Google Maps and navigate to your hotel — with local 4G/5G data, at 90% less than roaming costs
Your home SIM (physical or eSIM) stays active for calls and texts. The Japan eSIM handles data. Dual SIM, zero hassle.
For a complete pre-trip checklist, see our eSIM Pre-Departure Checklist.
The Future of eSIM Technology
eSIM-Only Devices Are Coming
Apple led the charge with the iPhone 14 (US, 2022) removing the physical SIM tray entirely. The iPhone Air (2025) went eSIM-only globally. Samsung and Google are expected to follow within 1-2 years. By 2030, industry analysts project the majority of smartphones sold will have no SIM card slot.
iSIM: The Next Step
As mentioned earlier, iSIM (integrated SIM) merges the SIM functionality directly into the phone’s main processor. This saves space, reduces cost, and improves security. Qualcomm, MediaTek, and Samsung are all developing iSIM solutions. For consumers, the experience will be identical to eSIM — the changes are entirely under the hood.
Multi-Device eSIM
Future eSIM standards will make it easier to share a single plan across multiple devices — your phone, tablet, watch, and laptop all on one subscription. Some carriers already offer this, but the experience is fragmented. Upcoming GSMA specifications aim to standardize it.
eSIM for IoT at Scale
The Internet of Things is the biggest growth area for eSIM. Connected cars, smart meters, industrial sensors, agricultural monitors — these devices need cellular connectivity but cannot have a human physically inserting SIM cards into millions of units. eSIM’s remote provisioning is the only practical solution.
Frequently Asked Questions (FAQ)
Does eSIM use a different network than a physical SIM?
No. eSIM connects to the exact same cell towers and networks as a physical SIM card. The carrier network cannot tell whether you are using eSIM or a physical card — the authentication protocol is identical. You get the same speeds, coverage, and call quality.
Can someone hack my eSIM?
eSIM uses hardware-grade security (secure element) and the same AES encryption as physical SIM cards. The profile download is protected by mutual authentication and end-to-end encryption. No known practical attack exists against properly implemented eSIM. The most realistic threat is still social engineering (convincing a carrier employee to transfer your number), which is a carrier-side issue, not an eSIM vulnerability.
What is the SM-DP+ server? Do I need to know about it?
SM-DP+ (Subscription Manager - Data Preparation) is the secure server that stores and delivers eSIM profiles. As a user, you never interact with it directly — your phone handles the connection automatically when you scan a QR code. Think of it like a web server: you don’t need to know how Apache or Nginx works to browse a website.
Why does my eSIM QR code only work once?
Most eSIM profiles are designed for single-use download. Once the profile is installed on a device, the activation code is marked as “consumed” on the SM-DP+ server. This prevents one plan from being installed on multiple devices simultaneously. If you need to move the profile to a new phone, you typically need to contact the carrier for a new QR code or use a transfer feature (if supported).
How much data does downloading an eSIM profile use?
Very little — typically 50 to 200 KB. That is less than loading a single web page. You can download an eSIM profile on any Wi-Fi connection, even a slow one, without issues.
Can my carrier see what I do online through eSIM?
eSIM does not change your privacy situation compared to a physical SIM. Your carrier can see the same metadata they always could (which cell towers you connect to, how much data you use, etc.). For privacy, use a VPN — that advice applies equally to eSIM and physical SIM users.
What happens if the SM-DP+ server goes down?
If the SM-DP+ server is temporarily unavailable, you cannot download new profiles. However, profiles already installed on your phone continue to work normally — they do not need to contact the SM-DP+ server after installation. This is similar to how you can still use a downloaded app even if the App Store goes down.
Is eSIM the same as a virtual phone number (VoIP)?
No. eSIM is a real mobile network connection — it connects to cell towers just like a physical SIM. VoIP services (like Google Voice, Skype, or WhatsApp calls) run over the internet. eSIM gives you a legitimate mobile number with full carrier capabilities including calls, SMS, and mobile data. VoIP only works when you already have an internet connection.
What’s Next?
Now that you understand how eSIM works under the hood, here are some logical next steps:
- New to eSIM? Start with our guide on What is eSIM? for the basics
- Ready to set up? Follow our iPhone eSIM Setup Guide or Samsung eSIM Setup Guide
- Comparing eSIM to traditional SIM? Read eSIM vs Physical SIM: The Complete Comparison
- Planning a trip? Use our eSIM comparison tool to find the best deal for your destination
- Having issues? Check our eSIM Not Working? Troubleshooting Guide
Ready to get connected? Get your travel eSIM at airalo.com.
Disclosure: some links on this page are affiliate links. If you buy through them, eSIM.school earns a small commission at no extra cost to you. This keeps our guides free and independent.