---
id: "imsi"
kind: "datatype"
status: "stable"
is_pii: true
categories: ["telecom", "pii"]
langs: ["common"]
quality: 100
url: "http://registry.apicrafter.io/datatype/imsi"
---

# International Mobile Subscriber Identity (IMSI) (`imsi`)

Number stored on a SIM card that identifies a subscription in a mobile network (3GPP TS 23.003, ITU-T E.212). It starts with the 3-digit mobile country code (MCC) and the 2- or 3-digit mobile network code (MNC) of the home network, followed by the mobile subscription identification number (MSIN). It has at most 15 digits; most IMSIs have 15, and some older ones have 14.

- Personal data (PII): yes
- Categories: Telecommunications (telecom), Personally identifiable information (pii)
- Countries: global
- Languages: Common to most languages (common)
- Classification: identifier

## Detection

Regular expression (Python `re`):

```
^\d{14,15}$
```

## Examples

- `310150123456789` — United States; MCC 310, MNC 150, MSIN 123456789 (python-stdnum documentation)
- `429011234567890` — Nepal; MCC 429, MNC 01 (python-stdnum documentation)
- `460001357924680` — China; MCC 460, MNC 00, MSIN 1357924680 (Wikipedia)
- `3101501234567890` (invalid example) — 16 digits, longer than an IMSI can be
- `310-150-123456789` (invalid example) — Separators are not used

## Mappings

- stdnum: `imsi`

## Metacrafter rules

2 rules: 1 match the field name, 1 match values.

- `imsifield` (field, `common/telecom.yaml`)
- `imsivalue` (data, `common/telecom.yaml`)

## Supported by tools

- `dataprep`
- `greatexpectations`
- `metacrafter`
- `pythonstdnum`

## Translations

- ru: Международный идентификатор мобильного абонента (IMSI): Номер, записанный на SIM-карте и идентифицирующий подписку в мобильной сети (3GPP TS 23.003, МСЭ-Т E.212). Начинается с 3-значного мобильного кода страны (MCC) и 2- или 3-значного кода сети (MNC), за которыми следует номер абонента (MSIN). Содержит не более 15 цифр.

## Sources

- wikipedia: <https://en.wikipedia.org/wiki/International_mobile_subscriber_identity>
- doc: <https://www.3gpp.org/DynaReport/23003.htm>

## Quality

Score 100/100.

JSON: <http://registry.apicrafter.io/api/v1/datatypes/imsi.json> · Edit: <https://github.com/apicrafter/metacrafter-registry/edit/main/data/datatypes/any/telecom/imsi.yaml>
