The short answer to IMEI vs. IMSI: the IMEI identifies the device (the phone, tracker or cellular module), while the IMSI identifies the subscription stored on the SIM. Swap the SIM and the IMSI changes but the IMEI stays the same. Move the SIM into another device and the IMEI changes but the IMSI stays. A third number, the ICCID, identifies the SIM card, or on an eSIM, each operator profile. Knowing which is which saves time every time a device goes offline.
What is an IMEI?
The IMEI (International Mobile Equipment Identity) is a 15-digit number given to every cellular device or module at the factory. It is tied to the hardware, not to the operator or the SIM.
Structure:
- TAC (8 digits): Type Allocation Code, which identifies the manufacturer and model.
- Serial number (6 digits): unique to the unit.
- Check digit (1 digit): calculated with the Luhn algorithm to catch typing errors.
Where to find it: on the device label or the module itself, in the device’s settings page, on the packaging, or with the AT command AT+CGSN.
What it’s used for:
- identifying the hardware model and unit;
- blocking stolen devices on networks that keep blacklists;
- registering devices in countries that require it (see Deploying IoT Devices in Indonesia: SIMs and IMEI Registration);
- binding a SIM to one device so it can’t be used elsewhere.
What is an IMSI?
The IMSI (International Mobile Subscriber Identity) is up to 15 digits and lives on the SIM. It has three parts:
- MCC: mobile country code (3 digits), for example 460 for China or 510 for Indonesia.
- MNC: mobile network code (2–3 digits), identifying the operator in that country.
- MSIN: the subscriber number within that network.
The network uses the IMSI, together with a secret key stored on the SIM, to authenticate the subscription each time the device registers. The IMSI is rarely shown to users and is sent over the air as little as possible for privacy. You can read it with AT+CIMI.
A multi-IMSI SIM carries several IMSIs and switches between them depending on location (see What Is a Multi-IMSI SIM and When Do You Need One?). An eSIM can download new profiles, each with its own IMSI.

IMEI vs. IMSI vs. ICCID at a glance
| IMEI | IMSI | ICCID | |
|---|---|---|---|
| Identifies | Device / module | Subscription | SIM card (or eSIM profile) |
| Stored in | Device hardware | SIM | SIM |
| Length | 15 digits | Up to 15 digits | Usually 19–20 digits, starts with 89 |
| Printed on | Device label | Nowhere visible | Physical SIM cards (not eSIM profiles) |
| Changes when you swap SIM? | No | Yes | Yes |
| Changes when you swap device? | Yes | No | No |
| AT command | AT+CGSN | AT+CIMI | AT+CCID or AT+QCCID (varies by module) |
For where to find the card number, see our guide What is an ICCID and where to find it. eSIMs add one more number, the EID, which identifies the eUICC chip itself and never changes. Each profile on that eUICC has its own ICCID.
A simple way to remember
- IMEI = Equipment. The “E” is the hardware.
- IMSI = Subscriber. The “S” is the subscription.
- ICCID = Card. The “C” is the SIM card, or on an eSIM, the profile. On a plastic card you can read it off the card.
Which number does support need?
When you report a connection problem, send:
- ICCID so we can find the SIM on the platform and check its status, plan and usage.
- IMEI if the issue may be the device, for example when one model fails while others work, or when a SIM has moved to another unit.
- Module model, firmware version and country.
The IMSI is useful when checking which network identity a multi-IMSI SIM is using, or when the network operator asks for it. Our troubleshooting cellular connectivity guide lists the checks to run first.
Common mix-ups we see
- Sending the IMEI instead of the ICCID. The platform lists SIMs by ICCID, so the IMEI alone doesn’t find the card.
- Reading the ICCID from the wrong place. On a carrier card, the long number on the plastic frame is the ICCID; a shorter number may be a batch or order code.
- Assuming the IMSI never changes. On multi-IMSI and eSIM, it changes by design.
- Duplicated IMEIs. Cheap modules sometimes ship with copied or invalid IMEIs, which can get devices blocked in countries that check them. Buy modules from known suppliers.
Reading all three numbers in five minutes
If you have a device on the bench and serial access to its module, you can read everything in a few commands. Exact syntax varies by module vendor, so check the AT command manual for your model.
AT— check the module responds withOK.AT+CGSN— returns the IMEI.AT+CCID(orAT+QCCIDon some modules) — returns the ICCID of the inserted SIM.AT+CIMI— returns the active IMSI. If the SIM isn’t ready, you’ll get an error; check that the SIM is seated and not PIN-locked.AT+COPS?— shows the operator the device has currently selected. To check which identity a multi-IMSI SIM is using, compare the IMSI fromAT+CIMIwith the identity list from your provider; the visited network alone doesn’t tell you, because one network can serve several subscriber identities.
Record the results with the device serial number. For routers and trackers without a terminal, the same numbers are usually on a status page in the web admin or available by SMS command.
Security and compliance angles
The two numbers play different roles in protecting a fleet:
- The IMSI and SIM keys protect the subscription. Only a genuine SIM with the right key can authenticate, so nobody can clone a subscription just by knowing the IMSI.
- The IMEI protects against misuse of the SIM. By checking which device a SIM is in, a platform can block a SIM moved into a phone or router.
- The IMEI is also a regulatory identifier. Some countries maintain IMEI registries and block devices that aren’t registered or that use invalid IMEIs. Plan registration before shipping into those markets.
How these numbers work together in a fleet
On a SIM management platform, each SIM is listed by ICCID. A good platform can also show the IMSI in use and the IMEI of the device it is in. That lets you:
- spot a SIM that has moved to a different device, which may mean misuse;
- confirm which identity is active in each country;
- match field reports (device serial, IMEI) to SIM records;
- bind a SIM to one IMEI so it can’t be misused (see IMEI Locking: How to Stop IoT SIMs Being Misused).
A simple habit helps: when devices are produced, record ICCID, IMEI and device serial number together. That one spreadsheet or database table saves hours whenever a customer calls about a unit.
FAQ
Can two devices have the same IMSI?
They shouldn’t. Operators assign each IMSI to one subscription.
Does the IMEI change if I update firmware?
No. It is fixed to the hardware.
Is the IMSI the phone number?
No. The phone number is the MSISDN. Many data-only IoT SIMs barely use it.
Does a dual-SIM device have two IMEIs?
Usually yes, one per SIM slot, though some modules use one.
Can the network see my IMEI?
Yes. The device reports it during registration, which is how IMEI blocking and binding work.
Need help matching SIMs to devices? Contact our support team.