Technical
10 min read23 Dicembre 2025

Omocodia in Italian Tax Code: What It Is and How It Works

Discover what omocodia is in the Italian Tax Code, why it occurs, how the Revenue Agency resolves it, and the digit-to-letter substitution table.

Technical aspects of the Tax Code
Technical aspects of the Tax Code

What is Omocodia

Omocodia is a phenomenon that occurs when two or more people, applying the standard Tax Code calculation algorithm, obtain the same identical code.

This happens because the Tax Code is calculated only based on: surname, first name, date of birth, gender, and municipality of birth. If all these data match for two different people, their codes would theoretically be identical.

The term comes from the Greek "homo" (same) and "code", literally meaning "same code".

Did you know?

In Italy there are approximately 35,000 omocodia cases. This number is relatively small compared to the 60 million Tax Codes issued.

When Does Omocodia Occur?

Omocodia is more likely to occur when:

  • Common names and surnames: Like Mario Rossi, Giuseppe Russo
  • Large cities: Where many people are born on the same day
  • Same birth date: Especially January 1st (common for unspecified dates)
  • Twins or siblings: With similar names born on the same day

Practical Example

Two men named Mario Rossi, both born on March 15, 1980in Rome, would have the same calculated Tax Code:

RSSMRA80C15H501X

To distinguish them, the Revenue Agency modifies one or more digits by replacing them with letters.

Omocodia Substitution Table

The Revenue Agencyresolves omocodia by progressively replacing certain digits with letters using this table:

Digit0123456789
LetterLMNPQRSTUV

Order of Substitution

Digits are replaced from right to left in this order of positions:

  1. Position 15 (last digit of municipality code)
  2. Position 14
  3. Position 13
  4. Position 12
  5. Position 11 (day - units)
  6. Position 10 (day - tens)
  7. Position 7 (year)

Example with Omocodia

The Tax Code RSSMRA80C15H501Xwith first-level omocodia becomes:

RSSMRA80C15H50MX

Where the 1 at position 15 is replaced by M.

Omocodia Levels

There can be up to 7 levels of omocodia, progressively replacing more digits:

LevelPositions ModifiedExample
0 (base)NoneRSSMRA80C15H501X
1Position 15RSSMRA80C15H50MX
2Positions 14-15RSSMRA80C15H5LMX
7 (max)All 7 positionsRSSMRAULCMRHRLMX

Practical Implications

For Citizens

  • A Tax Code with omocodia is perfectly valid
  • It cannot be calculated with standard calculators
  • It must be used exactly as issued by the Revenue Agency
  • It does not require any additional documentation

For Software Developers

  • Validation systems must account for omocodia substitutions
  • The control character is recalculated after substitutions
  • Both the original and omocodia code should be considered valid

Important

If your official Tax Code differs from the one calculated online, you likely have an omocodia code. Always use your official code as issued by the Revenue Agency.

How to Verify an Omocodia Code

To check if your Tax Code has omocodia:

  1. Calculate your "base" Tax Code using our calculator
  2. Compare it with your official Tax Code on your Health Card or certificate
  3. If they differ only in digit-to-letter substitutions, you have omocodia
  4. Verify the control character is still valid

Verify Your Tax Code

Our tool automatically recognizes and validates omocodia cases

Verify Your Tax Code

Frequently Asked Questions

Is an omocodia Tax Code less valid?

Absolutely not. An omocodia Tax Code has the same legal validity as any other. It's simply a modified code to ensure uniqueness.

Can I request a "normal" Tax Code?

No. If you have omocodia, the modified code is your only valid code. You cannot request a different one.

Will online services accept my omocodia code?

Properly designed systems should accept omocodia codes. If a service rejects your code, contact their support - it's likely a validation bug.