Datatypes › Italy › Geographic identifiers

Italian ISTAT municipality code

ID it_istat_comune

DatatypeNot PIIidentifier

Statistical code of an Italian municipality (six digits), province or metropolitan city (three digits) or region (two digits) assigned by the Italian National Institute of Statistics (ISTAT), the three forms that Wikidata P635 stores. The code of a comune is the code of its province followed by a 3-digit number, as 015146 for Milan in province 015. A metropolitan city has the code of the province it replaced plus 200, so Milan is 215. On 1 January 2026 the reform of Sardinia gave its provinces the codes 112 to 119 and its metropolitan cities 312 (Sassari) and 318 (Cagliari, formerly 292), and the Sardinian comuni got new codes. Spreadsheets often lose the leading zero of a municipality code (45003 for 045003), and registers of public contracts put the three-digit code of the region in front (012058091 for Rome in Lazio); both are spellings found in files, not forms of the code.

Categories
Geographic identifiers
Countries
Italy
Languages
Common to most languages
Wikidata
P635
Quality
100/100
Metacrafter rules
1 rule (1 by field name, 0 by value)
Supported by tools
metacrafter

Regular expression

^(?:\d{2}|\d{3}|\d{6})$

Python re syntax.

Test a value

Examples

ValueDescription
015146 Milan
058091 Rome
312 Metropolitan city of Sassari, since 1 January 2026
12 Lazio region
15146 invalid The leading zero of the province code is missing

Translations

LanguageNameDescription
ItalianCodice ISTAT del comuneCodice statistico ISTAT di un comune (sei cifre), di una provincia o città metropolitana (tre cifre) o di una regione (due cifre).
RussianКод ISTAT коммуны ИталииСтатистический код ISTAT коммуны (шесть цифр), провинции или метрополитенского города (три цифры) или области (две цифры).

Sources

Use this record