How the tax code and ID card fit together
Your tax code (codice fiscale) and your Electronic ID Card (CIE) are two of the most-used pieces of Italian identity, and they are not separate worlds. They overlap. The card carries the code, and a national database keeps the two pointing at the same person, which is exactly why the relationship between the tax code and ID card matters when you deal with public offices.
A quick way to picture it: the codice fiscale identifies you for tax and registry purposes, while the CIE is the physical document that proves who you are. The modern card simply bundles both jobs into one plastic rectangle with a chip inside.
- The tax code is printed on the front of the CIE, under your details
- The same code is written into the card's NFC chip
- Both records are tied together in the National Resident Population Registry (ANPR)
So when an office scans your card, it is not guessing your fiscal identity. It is reading a value that the State already assigned and recorded. Not magic, just a well-linked database.
In short
One identity, two layers: the codice fiscale is the fiscal identifier, the CIE is the document that carries and certifies it. The link is registered with the Italian Revenue Agency (Agenzia delle Entrate) and the national registry.
Where the tax code actually appears on the card
People flip the card over looking for a special label. There isn't one. The code sits in plain sight, in three different places, and each place exists for a different reason.
- Front of the card — printed in alphanumeric form, just below your personal data. This is the human-readable copy.
- Back of the card — encoded in the machine-readable zone and the barcode, so a reader can pull it without typing.
- NFC chip — stored digitally and accessible to NFC-enabled smartphones running the official CieID app.
Old paper ID cards never carried the codice fiscale. The electronic version does, which removed a small but constant annoyance: needing two documents where one now does the work.
Electronic ID Card (sample)
RSSMRA85C15H501S
16 characters: surname, name, date of birth, town of birth, check character.
Want to double-check the format before you trust what's printed? Our tax code validator confirms whether a code is structurally correct in a couple of seconds. Useful when the photocopy is faint or the card is worn.
Inside the electronic CIE: the chip that changed things
The CIE 3.0 is the version most residents hold today. Its core is a contactless microchip, and that chip is what turns a humble ID into a digital key.
What's actually stored on it:
- Your registry data (name, date and place of birth, residence)
- The tax code
- Two fingerprints
- A digital photograph
- Cryptographic certificates used for authentication
You read the chip by tapping the card against an NFC-enabled phone and entering the PIN that arrived (half by post, half at the registry office) when the card was issued. The official CieID app handles this on both Android and iOS. The card itself is valid for 10 years for adults, 5 years for minors aged 3 to 18, and 3 years for under-threes.
Here's the honest caveat. The technology is genuinely good, but the first PIN setup trips a lot of people up, and not every old phone reads the chip cleanly. If yours struggles, that's the device, not your card.
Good to know
The CIE is also a valid travel document across the EU and Schengen area — something a purely digital identity can never be.
Online services you unlock with the tax code and ID card
This is where the pairing earns its keep. Because the CIE carries the codice fiscale and can authenticate you digitally, one card opens a long list of public services — as a full alternative to SPID.
- Revenue Agency: tax return (730/Redditi), refunds, and your personal "tax drawer"
- INPS: pension position, contribution history, benefit applications
- Electronic Health Record: medical reports, prescriptions, choosing or changing your GP
- Municipality: certificates, change of residence, local permits
- School and university: enrolments, fee payments, exam booking
You log in two ways: tap the card on a phone with CieID, or use a card reader on a computer. Either way the system reads your tax code straight from the chip — no manual typing, no transcription slips.
Worth a small reality check, though. Not every regional portal has finished wiring up CIE login, so now and then you'll still be nudged toward SPID. The gap is closing fast, but it isn't fully closed.
The codice fiscale also threads through the health card (tessera sanitaria), which shares the same identifier. If your card is on its way or temporarily missing, you can look up the data behind the Italian health card and keep your appointments moving.
Generate or check your tax code
Before you book a new card, make sure the codice fiscale you'll declare is the right one.
Calculate nowRequesting a CIE, step by step
You apply at the registry office (Anagrafe) of the municipality where you live. The flow is short:
- Book an appointment with your municipality (most offer an online calendar)
- Bring your old ID card if it's a renewal, plus your tax code or health card
- Bring a compliant passport photo, or have one taken at the desk where available
- Pay the fee — around €22.20 for standard issue
The card is printed centrally and posted to the address you choose, usually within about six working days. And if a clerk reads your tax code aloud while filling the form, listen carefully — that's the moment a typo can sneak in.
If the tax code on your card is wrong
It happens. A surname with an apostrophe, a foreign town of birth, a mistyped date — any of these can produce an incorrect code on the card. Fixing it is straightforward, but don't ignore it.
- Confirm your correct code with the Italian Revenue Agency (Agenzia delle Entrate) (or run it through our verification tool)
- Report the error to your municipal registry office and ask for correction
- A corrected CIE is then issued with the right data
Not sure who a code belongs to, or what a string of 16 characters decodes to? The reverse lookup breaks a codice fiscale back down into birth date, sex and town of birth — handy for spotting an obvious mismatch on the card.
Why it matters
A wrong tax code on the CIE can break online logins, block refunds and stall paperwork at the worst moment. Check your data the day the card arrives, not the day you need it.
For the bigger picture on documents and digital identity, see our guides on the tax code and SPID and the documents you need for a tax code.
Frequently asked questions
Is the tax code the same thing as the ID card number?
No. They're different identifiers that live on the same card. The codice fiscale is your fiscal code; the CIE number is the serial of that specific document. The relationship between the tax code and ID card is one of association, not equivalence — the card simply carries the code.
Where exactly is the tax code printed on the CIE?
On the front, in alphanumeric form just under your personal details, and again in machine-readable form on the back. It's also stored in the NFC chip, which is what online services read.
Can I use the CIE instead of SPID to log in?
Yes, for most national services. Tap the card on an NFC phone with the CieID app, or use a reader on a computer. A few regional portals still prefer SPID, but the list shrinks every month.
What do I do if the code on my card is incorrect?
Verify the correct code with the Italian Revenue Agency, report the error at your municipal registry office, and request a corrected card. Until the new CIE arrives, keep the official confirmation of your real code to hand for any urgent procedure.
Does the old paper ID card show the tax code?
No, only the electronic CIE does. That's one of the practical reasons the paper version was phased out — the CIE merges identity and tax code into a single document.
Do I need a special device to read the chip?
Any reasonably recent smartphone with NFC will do, paired with the CieID app and your card PIN. On a desktop you'll need a contactless card reader. Older phones without NFC simply can't read it.
Check your tax code and ID card details
Confirm the codice fiscale before your CIE is printed — it takes seconds and saves a reissue.
Calculate now