How to Identify eUICC SIMs with EID

Paul Marshall

Founder & CCO


A traditional SIM has a single Integrated Circuit Card Identifier (ICCID), which is set on the SIM during manufacture. The ICCID is a global unique identifier for the physical SIM and can be used to determine the SIM supplier.

An eUICC SIM can have multiple network profiles, each of which has its own ICCID. eUICC SIMs have an eUICC Identifier (EID) that identifies the physical SIM and SIM supplier.

Eseye customers who use eUICC SIMs must use the SIM eUICC Identifier (EID) to uniquely identify a SIM and determine the SIM supplier. The Integrated Circuit Card Identifier (ICCID) cannot be used for this purpose.

Background on ICCID and EID

Traditional Universal Integrated Circuit Card (UICC) SIMs store a profile from a single network operator. The profile contains the International Mobile Subscriber Identifier (IMSI), which enables the device to connect to the operator’s network (the home network). Multi-IMSI SIMs can store multiple IMSIs, enabling devices to switch to different home networks without physically changing the SIM.

Both single IMSI and multi-IMSI SIMs have a single ICCID for a SIM. The ICCID can be used to uniquely identify the physical SIM and determine the SIM supplier. The figure below shows a traditional multi-IMSI UICC SIM.

Figure 1 Traditional UICC SIM (multi-IMSI)

The GSMA remote SIM provisioning architecture (eSIM) introduced eUICC SIMs, which are capable of storing multiple network profiles (known as operational or step 2 profiles). A profile acts as a virtual SIM within the physical SIM container and has its own ICCID. The figure below shows an example of an eUICC SIM. It has a single EID and its current ICCID is that of the activated profile, which in this example is profile 2.

Figure 2 eUICC SIM with multiple profiles

The EID identifies the physical SIM and SIM supplier. It is set on the SIM during manufacture.

Notes on how the ICCID works on eUICC SIMs:

Who is affected by this issue?

If you use – or plan to use – eUICC SIMs, such as the AnyNet+ SIM, you need to be aware that the eSIM multi-profile capability changes how SIMs operate. In particular, if your IoT application relies on uniquely identifying a SIM or determining the SIM supplier, you must ensure that your modem firmware and communications software use the SIM EID rather than the ICCID.

Some customers with SIMs from multiple vendors use the ICCID to control device configuration, such as setting the Access Point Name (APN), based on the SIM supplier. For example, if a device contains an Eseye SIM, the device is configured to use an Eseye APN, such as eseye1. If the device contains a SIM supplied by another network operator, such as EE or Verizon, the device is configured to use an APN belonging to that operator.

Customers may also have device or cloud applications that use ICCID as a way to uniquely identify a device.

With eUICC SIMs, the SIM ICCID is that of the currently enabled profile. This means that the ICCID cannot be used to uniquely identify a SIM or the SIM supplier, as it changes when the SIM activates new profiles. The SIM EID must be used instead.

Note: the IMSI should not be used as a SIM identifier, as this also changes when the active profile changes. The AnyNet+ SIM holds multiple IMSIs within the bootstrap profile, so the IMSI may change even if the profile doesn’t change.

The eUICC Identifier (EID)

The eUICC Identifier (EID) is a unique global identifier for eUICC SIMs. Unlike the ICCID, it is not a Primary Account Number (PAN) as its main purpose is not the charging of services. The eUICC manufacturer (EUM) sets the EID for each SIM during manufacture.

An EID is a 32-digit number, containing information that identifies the SIM supplier as well as acting as a global unique identifier for the physical SIM.

For more information on the EID, visit the GSMA here.

How to retrieve and use the EID

Using AT commands to read from modems

Some modem manufacturers have updated their firmware to handle the requirements for eUICC SIMs. For example, Sierra Wireless has updated the AT+CCID command for some AirPrime modems so that it returns both the ICCID and the EID in its response. The response is in the format:

+CCID: <iccid>[,<eid>]

Consult your modem manuals or contact your modem vendor for information on using modem commands to obtain the EID.

Using AT commands to read from SIMs

If your modem doesn’t have a command to return the EID directly, you can use AT commands to obtain the information from the SIM. The table below shows the required commands and example responses. Consult your modem documentation for the exact format of the commands.

Command and example response


AT+CSIM=42, “01A4040010A0000005591010FFFFFFFF8900000200”

+CSIM: 4, "614A"


Select the eUICC Controlling Authority Security Domain (ECASD) using the Application ID (AID): A0000005591010FFFFFFFF8900000200


+CSIM: 40, “5A10890330233121700000000054211435429000”


Read data from the ECASD. The EID is included in the response string.

The EID is the 32-digit number starting at digit 5 in the returned string. It can be obtained by removing the first four and last four digits. In the example above, the EID is:


This is the unique global identifier for the SIM.

If the SIM is not an eUICC SIM, an error response is returned to the read command:

Command and example response



+CSIM: 4, “6D00”


Error response if the SIM is not an eUICC SIM


Identifying SIM supplier from the EID

The first section of the EID identifies the SIM supplier. For Eseye SIMs, this identifier is:


The first two digits are always 89 to indicate that this is a telecommunications product.

Managing non-eUICC and eUICC SIMs

If your IoT deployment contains devices with both traditional and eUICC SIMs, your communications firmware and application software must be able to handle both types of SIM. If you need to obtain unique SIM identifiers or determine the SIM supplier, we recommend using the following steps:


Advance notice of changes to supplier identification

While the supplier identification won’t change often, SIM manufacturers may release updated numbering schema on future batches. We will provide advance notice of any such changes to enable customers to update firmware and application software if required.

Automatic carrier configuration in modems

Some modems can be enabled to use automatic carrier configuration. If the ICCID changes, this might trigger the modem to update its configuration, which could cause problems for eUICC SIMs. Consult your modem vendor for more information on whether this type of option is enabled in your modems.

Paul Marshall

Founder & CCO


Paul is one of Eseye’s co-founders. With a background in senior design engineering, Paul’s focus is on ensuring his development, operations and support teams deliver solutions that work faultlessly in the field.

Paul was co-founder of CompXs, with Ian Marsden, and developed the world’s first IEEE 802.15.4 radio. Before CompXs, Paul was in senior radio design at Philips.

Need technical help?

Get the most from your Eseye IoT connectivity solution. Browse our technical support and api documentation, troubleshoot issues and learn about new functionality.

Visit the Eseye documentation site