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

# International Mobile Equipment Identity (IMEI) (`imei`)

Number that identifies a mobile device of 3GPP networks (GSM, UMTS, LTE, 5G) and of some satellite networks. It has 15 digits; the 8-digit Type Allocation Code (TAC) identifies the device model, the next 6 digits are the serial number given by the manufacturer, and the last digit is a Luhn check digit. It is often written as AA-BBBBBB-CCCCCC-D. The related IMEISV (imeisv) replaces the check digit with a two-digit software version number.

- 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{15}|\d{2}-\d{6}-\d{6}-\d)$
```

Check digit algorithm: `luhn`

## Examples

- `490154203237518` — Example from the Luhn check digit calculation on Wikipedia; TAC 49015420
- `49-015420-323751-8` — The same IMEI in the AA-BBBBBB-CCCCCC-D notation
- `352099001761481` — Older IMEI with a six-digit type approval code and a final assembly code
- `490154203237519` (invalid example) — Wrong check digit
- `35-209900-176148-23` (invalid example) — An IMEISV, which has a software version instead of a check digit

## Mappings

- autotype: `imei`
- fhir: `http://hl7.org/fhir/sid/imei`
- fta: `IMEI`
- google_dlp: `IMEI_HARDWARE_ID`
- gs1_ai: `8040`, `8041`
- stdnum: `imei`

## Metacrafter rules

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

- `imeifield` (field, `common/telecom.yaml`)
- `imeivalue` (data, `common/telecom.yaml`)
- `imeivaluewithdashes` (data, `common/telecom.yaml`)

## Supported by tools

- `autotype`
- `collibra`
- `databricks`
- `dataprep`
- `fta`
- `googledlp`
- `greatexpectations`
- `ibmknowledgecatalog`
- `metacrafter`
- `nightfall`
- `pythonstdnum`
- `snowflake`

## Translations

- ru: Международный идентификатор мобильного оборудования (IMEI): Номер, который идентифицирует мобильное устройство сетей 3GPP (GSM, UMTS, LTE, 5G) и некоторых спутниковых сетей. Состоит из 15 цифр — 8-значного кода типа устройства (TAC), 6-значного серийного номера и контрольной цифры по алгоритму Луна. Часто записывается в виде AA-BBBBBB-CCCCCC-D.

## Sources

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

## Quality

Score 100/100.

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