Skip to content
Try it yourselfCodice fiscale calculatorYour 16-character code, with every step explained.Open tool

Omocodia happens when two people would end up with the same codice fiscale. The Agenzia delle Entrate then gives one of them a different code by swapping one or more digits for letters. If your code has a letter where you’d expect a number, this is why. You can check how your own code was built with the codice fiscale calculator.

Why two people can share a code

The first 15 characters of a codice fiscale come from five things: surname, first name, date of birth, sex and place of birth. Different people can share all five once they’re squeezed into code form.

Take two men called Mario Rossi, both born in Rome on 1 January 1980. The surname becomes RSS, the name MRA, the date 80A01 and Rome H501. Both get RSSMRA80A01H501, and the same check letter, U. It doesn’t even need identical names: Marco Rossi and Mirco Rossi both shorten to MRC.

How the swap works

The code has seven positions that hold digits: two for the year, two for the day, three for the place. When a clash happens, the Agenzia delle Entrate replaces digits with letters, starting from the rightmost digit and moving left, using this table:

Digit 0 1 2 3 4 5 6 7 8 9
Letter L M N P Q R S T U V

After each swap the check letter is recalculated, because it depends on every other character. For our second Mario Rossi, the last digit of the place code (1) becomes M:

Code
First Mario Rossi RSSMRA80A01H501U
Second Mario Rossi RSSMRA80A01H50MM
A third, if needed RSSMRA80A01H5LMX

Notice that the final letter changed each time: U, then M, then X. That’s the recalculated check letter, not part of the swap.

What it does not change: the letters still decode to the same birth date and place. A validator converts L back to 0, M back to 1 and so on before reading the code.

How to know which code is yours

You can’t work it out from your details. A calculator, including ours, gives you the base code. Whether the Agenzia delle Entrate assigned you that one or a variant depends on who registered before you. Your real code is the one printed on:

  • your tessera sanitaria (health card),
  • the certificate of attribution you got from the Agenzia delle Entrate,
  • your payslips and tax forms.

If a form rejects your code, check it with the validator first: a typo is far more common than omocodia. To confirm that a code exists and belongs to you, use the Agenzia delle Entrate’s free Verifica codice fiscale service, linked below.

How common is it?

We haven’t found an official figure for how many codes contain omocodia letters, so we won’t quote one. It is rare for most people, and a little less rare for very common name and surname pairs born in large cities.

Official sources

Last updated 24 Nov 2026

Found a mistake or have a question? Contact us · How we check our numbers