Codice catastale vs ISTAT code: what the comune codes mean
Every Italian comune has an ISTAT code and a codice catastale. See what each is for, where the official lists live, and which one goes in your tax code.
By Muhammad ShoaibPublished 27 Nov 2026Updated 27 Nov 20265 min read
- codice-catastale
- istat
- comuni
- codice-fiscale

Every Italian comune has two different codes, and the one inside your codice fiscale is the codice catastale: a letter followed by three digits, such as H501 for Rome. The ISTAT code is a separate, numeric identifier used in official statistics. In the codice catastale vs ISTAT code question, the answer is that they come from different bodies, follow different formats and aren't interchangeable.
Codice catastale vs ISTAT code: two codes, two jobs
The two codes come from different bodies and serve different jobs. The Agenzia delle Entrate's code is the short one that goes into the codice fiscale. ISTAT's code identifies territories for statistics, by province and region. Each comune carries both, and a table that pairs them, like the one in our comuni tool, is a convenience built from both files.
At the time of writing, checked on 2026-11-27 against the ISTAT, Agenzia delle Entrate and ANPR pages listed below, the official files reflect 2026 changes, so the date of the list you use matters.
ISTAT publishes the list of codes for comuni, provinces and regions. Its page shows 7,894 comuni as of 21 February 2026, and says it was last updated on 26 February 2026.
The ISTAT page doesn't give one general digit format for every unit. It spells out the structure only for Sardinia's new codes: province codes have three digits, and municipal codes have six, made of the province code plus a progressive number from 001. In our own comuni dataset every ISTAT code has six digits, and the first three are the province code as ISTAT lists it (058 for Rome, for example).
ISTAT codes are about statistics. They aren't what goes into a codice fiscale.
The codice catastale: the one in your codice fiscale
The Agenzia delle Entrate describes the Codice dei Comuni d'Italia e degli Stati esteri as a code created to abbreviate comune names, with roots in the cadastral field, and used in administrative coding and in the codice fiscale. For a comune it is a letter and three digits, running from A001 to A999, then B001 and on. The page says the first assignment covered codes from A001 to M206.
Many people call it the Belfiore code. The Agenzia delle Entrate page we read doesn't use that name, so we use "codice catastale" here.
Foreign states have codes too, in the same family: Z plus three digits, where the first digit points to the continent. That is why a person born abroad has a Z code in the place field of their codice fiscale.
Merged, renamed and recoded comuni
Codes change when comuni do. Two examples from 2026:
- A merger. ISTAT says Castegnero and Nanto, in the province of Vicenza, merged into Castegnero Nanto on 21 February 2026, which brought the count to 7,894. In our dataset, the old comuni had the codici catastali C056 (Castegnero) and F838 (Nanto), and the merged comune appears with M439. We took these from the ANPR archive; ISTAT's own list of the merged comune's code should be checked on its page.
- Sardinia. ISTAT says Sardinia's territorial reform led to new codes, applied to official statistics from 1 January 2026. Municipal codes were recoded completely, and ISTAT publishes a file that maps old codes to new ones. If you have an older list of Sardinian ISTAT codes, check it against that file.
The merger touched both kinds of code, while the Sardinian reform concerns the ISTAT side. We haven't confirmed from an official page how a birthplace in a since-merged comune is handled in every case, so for an old or unusual birthplace ask the Agenzia delle Entrate.
Where the official lists are
- ISTAT: the codes of comuni, provinces and regions, plus lists of name changes and suppressed comuni since 1861.
- Agenzia delle Entrate: the comuni and foreign states archive, downloadable, which the page marks as updated to 17 April 2026. It also holds a list of variations.
- ANPR: table 03, the comuni archive, a CSV file on the technical area of the national registry, updated 4 June 2026 from ISTAT, Agenzia delle Entrate and Ministry data. The page doesn't list the fields of the file, so we can't say what exactly it contains.
The three dates differ, so a mismatch between lists isn't automatically an error. It may only be a different update.
Worked example: Rome and a codice fiscale
Look up Roma in our comuni dataset, which merges the ISTAT and ANPR files. It lists the ISTAT code 058091 and the codice catastale H501.
Take the invented code RSSMRA85C12H501J, for a person born in Rome. Our decoder splits it and reports the place field as H501, which maps to Roma. You'll find 058091 nowhere in that code. If you typed 058091 into a codice fiscale form, the format check would fail, since a place field must be a letter and three digits.
Common mistakes
- Putting the ISTAT code into a codice fiscale. The codice fiscale takes the catastale code only.
- Using a list that is out of date. Mergers and the Sardinian recoding show that lists change within a single year.
- Treating the pair as permanent. A comune that merges stops existing under its old pair of codes.
- Mixing up foreign-born codes. A person born abroad has a Z code, not a comune code.
- Trusting a single third-party table. Compare against the ISTAT or Agenzia delle Entrate list before you use a code in a filing.
Check it with the tool
Find any comune's codes in our comuni tool, or run the full calculation in the codice fiscale calculator. To read an existing code, paste it into the tax code decoder. For how the place code fits among the other fifteen characters, see our guide to how the codice fiscale is calculated.
This article is general information, not tax advice; figures were checked on 2026-11-27 against the sources below.