---
id: "it_subdivision_code"
kind: "pattern"
status: "draft"
is_pii: false
categories: ["geo"]
country: ["IT"]
langs: ["common"]
quality: 80
url: "https://registry.apicrafter.io/datatype/it_subdivision_code"
---

# Italian region and province code (ISO 3166-2:IT) (`it_subdivision_code`)

> **Draft.** Draft records have not been reviewed yet and may be incomplete or wrong; do not treat them as authoritative for legal or compliance decisions.

Code of an Italian region, province or metropolitan city from ISO 3166-2:IT, alone or with the country code. The 20 regions have two digits, such as IT-25 (Lombardia), IT-62 (Lazio) or IT-82 (Sicilia). The 106 provinces, metropolitan cities, free municipal consortia of Sicily and decentralised regional entities of Friuli Venezia Giulia have the two letters of their abbreviation (it_province_code), such as IT-MI or IT-RM; Valle d'Aosta has only its region code IT-23. ISO had not yet added the Sardinian provinces of 1 January 2026 (OT, OG, VS) in the version read for this record, and IT-SU still names Sud Sardegna; the regexp follows that list.

- Pattern of: `iso3166code`
- Personal data (PII): no
- Categories: Geographic identifiers (geo)
- Countries: Italy (IT)
- Languages: Common to most languages (common)
- Classification: categorical

## Detection

Regular expression (Python `re`):

```
^(?:IT-)?(?:2[135]|3[246]|4[25]|5[257]|6[257]|7[2578]|8[28]|A[GLNPQRTV]|B[AGILNORSTZ]|C[ABEHLNORSTZ]|EN|F[CEGIMR]|G[EOR]|I[MS]|KR|L[CEIOTU]|M[BCEINOST]|N[AOU]|OR|P[ACDEGINORTUVZ]|R[ACEGIMNO]|S[AIOPRSUV]|T[AENOPRSV]|UD|V[ABCEIRTV])$
```

## Examples

- `IT-25` — Lombardia
- `IT-RM` — Roma
- `IT-88` — Sardegna
- `MI` — Milano, without the country code
- `IT-AO` (invalid example) — Deleted in 2019; Valle d'Aosta is IT-23
- `IT-SD` (invalid example) — Code of Sud Sardegna from 2019, corrected to IT-SU in 2020

## Translations

- it: Codice di regione o provincia (ISO 3166-2:IT)
- ru: Код области или провинции Италии (ISO 3166-2:IT): Код области (две цифры, например IT-25) или провинции (две буквы, например IT-MI) по ISO 3166-2:IT.

## Sources

- wikipedia: <https://en.wikipedia.org/wiki/ISO_3166-2:IT>
- doc: <https://www.iso.org/obp/ui/#iso:code:3166:IT>

## Quality

Score 80/100. Missing: mapping (Wikidata, Schema.org, ...), detector coverage.

JSON: <https://registry.apicrafter.io/api/v1/datatypes/it_subdivision_code.json> · Edit: <https://github.com/apicrafter/metacrafter-registry/edit/main/data/datatypes/IT/geo/it_subdivision_code.yaml>
