What is eSIM keystring?

What Is an eSIM Keystring?
An eSIM keystring is the compact text code that encodes everything a device needs to install and activate an eSIM profile. When you buy an eSIM plan, the provider typically delivers a QR code, and that QR code is simply a visual wrapper around a keystring. The keystring follows the GSMA SGP.22 standard and usually begins with the prefix LPA:1$, followed by the provider's SM-DP+ server address, an activation token, and sometimes a confirmation code. In plain terms, it is the digital equivalent of the serial number and activation data printed on a plastic SIM card.
A typical keystring looks like this: LPA:1$rsp.example.com$ABC123-TOKEN-XYZ$. The LPA part stands for Local Profile Assistant, the component built into modern phones that manages eSIM profiles. The server address tells the phone where to download the profile, and the token proves you are entitled to it. If you want to understand the underlying technology first, our guide on what an eSIM actually is covers the fundamentals before you dive into activation codes.
How an eSIM Keystring Works in Practice
When you scan a QR code or paste a keystring manually, your phone's LPA contacts the SM-DP+ server listed in the string. The server verifies the activation token, checks that the profile has not already been downloaded, and then pushes the eSIM profile to your device. The whole process usually takes under two minutes on a stable connection.
Most providers give you three ways to use the keystring:
- QR code scan — the easiest route, available in Settings on both iOS and Android.
- Manual entry — paste the full LPA string if your camera or QR code fails.
- App-based installation — many providers wrap the keystring inside their own app, so you never see the raw code.
One important detail: most keystrings are single-use. Once the profile is installed, the same string generally cannot be redeemed on a second device. If you delete the eSIM from your phone, you may need a new keystring from the provider, so keep the original email or order confirmation safe until your trip is over.
eSIM Keystring vs Physical SIM: A Quick Comparison
The keystring replaces the ICCID-and-activation-code model used by plastic SIMs. The table below summarises the practical differences, and our full breakdown of eSIM vs physical SIM goes deeper on coverage, switching, and device support.
| Feature | eSIM keystring | Physical SIM |
|---|---|---|
| Delivery | Email, QR code, or app | Post or in-store pickup |
| Activation time | Usually 1–5 minutes | Depends on shipping |
| Reusability | Single-use per device | Transferable between devices |
| Loss risk | Low (stored digitally) | High (small card) |
| Switching carriers | Download a new profile | Swap the card |
Where to Find Your eSIM Keystring
Your keystring is normally delivered in the purchase confirmation email, often as both a QR code image and a plain-text LPA string. If you bought through an app, check the "My eSIMs" or "Manage" section. Some providers also display the keystring in your account dashboard. If you cannot find it, contact support before you travel — retrieving a keystring at the airport is far more stressful than doing it at home.
For travellers comparing options, it helps to know the typical price range before you commit. Our guide to what eSIMs cost explains how data volume, validity period, and region affect pricing.
Common eSIM Keystring Problems and Fixes
- "Invalid activation code" — check for missing characters, especially the dollar signs. Copy-paste rather than retyping.
- "Profile already downloaded" — the keystring has been used. Request a replacement from your provider.
- QR code will not scan — increase screen brightness or use manual entry.
- Installation stalls — connect to stable Wi-Fi and retry; the download needs a data connection.
If you are planning a multi-country trip, our all Europe eSIM plans side by side comparison shows which providers deliver keystrings instantly and which require manual approval.
Frequently Asked Questions
Is an eSIM safer than a physical SIM?
In several respects, yes. An eSIM cannot be physically removed from your phone, so a thief cannot simply pop it out and use your number. The keystring is tied to your device during installation, and the profile is protected by the device's secure element. That said, eSIMs are not immune to phishing or account takeover — if someone gains access to your carrier account or your keystring email, they may be able to install a profile on another device. Treat your keystring like a password and never share it publicly.
Can I have two eSIMs active at the same time?
Most modern phones support multiple eSIM profiles stored on the device, and many allow two to be active simultaneously, though usually only one can carry cellular data at a time. iPhone models from the XS onward and most recent Android flagships support dual eSIM standby, often combined with a physical SIM for triple-SIM setups. Check your specific model's specifications, because behaviour varies between manufacturers and carriers.
Does an eSIM work on a locked phone?
No. A carrier-locked phone will typically refuse to install or activate an eSIM from a different network, even if the keystring is valid. You will usually see an error during installation or the profile will install but fail to connect. The fix is to have your original carrier unlock the device, which is often free once your contract or device payment plan is complete. Always confirm your phone is unlocked before buying a travel eSIM.
Do eSIMs expire if I do not use them?
It depends on the provider. Many travel eSIMs have a validity window that starts at purchase, not at first use, so an unused eSIM can expire before you ever activate it. Others only start the clock when you connect to a network in the destination country. Read the terms carefully before buying, especially if you purchase well in advance of your trip. If you are unsure, buy closer to your departure date or choose a provider with a clear "activate on first use" policy.
What Is Esim Keystring: the essentials
This section summarises the factors that decide the outcome for you — price, data allowance, validity and activation.
Compare eSIM Prices Before You Fly
Live rates from Airalo, GigSky, Yesim, Saily and Drimsim — updated daily.
Browse 215 destinations →