How the tax code and SPID digital identity work together
The tax code and SPID digital identity are two halves of the same login, and one cannot work without the other. Your tax code (codice fiscale) is the number that names you; SPID, Italy's Sistema Pubblico di Identità Digitale, is the credential that proves it's really you. So before you ever pick a provider or upload a document, that 16-character code on your card is already doing the quiet, foundational work behind the scenes.
The logic is simple. Your codice fiscale uniquely identifies you inside the Italian tax system, and SPID layers a secure login on top of it, using that same code as the key that ties every online session back to a real person.
Your tax code is the access key
Every time you sign in with SPID, the system reads your codice fiscale to pull your records from the Tax Registry (Anagrafe Tributaria) and confirm who you are. The code isn't just paperwork — it's the bridge between your identity and the data behind it.
One thing trips people up constantly. You need a definitive tax code — the full 16-character alphanumeric version — to apply. A provisional code (the 11-digit numeric one issued in some situations) won't pass. Convert it first, then come back to SPID.
Not sure the code you're holding is even correct? It's worth a thirty-second check, because a single wrong character will get your application bounced. You can validate your tax code online before you start, and save yourself a rejected request later.
What SPID actually is
SPID is Italy's Public Digital Identity System. With a single set of credentials, citizens and businesses log into thousands of services run by the public administration — and a growing number of private companies too.
Think of it as one master key replacing the drawer full of usernames and passwords you used to keep. That's the whole point: fewer logins, stronger security.
Why people bother getting one
- Single sign-on: one identity opens the door to thousands of services
- Strong security: multi-factor authentication, not just a password
- Always on: access from any device, any hour, no office hours
- No queues: handle paperwork from your sofa instead of a waiting room
- Free to start: basic issuance costs nothing with most providers
Who can get SPID
Any adult Italian citizen can apply, provided they have a few essentials lined up:
- A valid Italian identity document
- An Italian health card (tessera sanitaria) or tax code card
- A personal email address
- An Italian mobile number for one-time codes
Foreign nationals who live in Italy can get SPID as well — they just need a valid identity document issued by an Italian authority. The system was built to be inclusive of residents, not only those born here.
How to get SPID, step by step
Setting up SPID is straightforward. Most of it happens online, with one identity check that you can do by webcam, in person, or with an electronic card you may already own.
The main steps
- Pick an identity provider: choose one of the accredited managers (more on these below)
- Register: enter your personal details and your codice fiscale
- Upload your documents: ID and health card, photographed clearly
- Verify your identity: by webcam, in person, or via CIE/CNS
- Set your credentials: a username and a strong password
- Activate: confirm, and you're ready to log in everywhere
Ways to verify who you are
The identity check is the one part you can't skip. Providers offer several routes, so you can pick whichever fits what you already have:
- Online with CIE: using the Electronic Identity Card and a smartphone with NFC
- Online with CNS: with an active National Services Card
- Video call: a live check with a provider operator
- In person: at an authorized office, document in hand
- Digital signature: instant, if you already hold one
The webcam route, honestly
Video recognition is convenient, but it isn't always instant — slots can be booked out, and some providers charge a small fee for it. If you own a CIE and an NFC phone, the fully self-service path is usually faster and free.
The documents you'll need
SPID stands or falls on identity verification, so the paperwork has to be in order before you begin. Gather everything first. Half-finished applications are the most common reason people give up.
Mandatory documents
- A valid identity document:
- Identity card (paper or electronic)
- Passport
- Driver's license (accepted by some providers only)
- Health card or tax code proof:
- Italian health card (tessera sanitaria) with chip
- Tax code card
- Tax code assignment certificate from the Italian Revenue Agency (Agenzia delle Entrate)
Contact details
- A personal email: yours alone, not shared, used for all communications
- An Italian mobile number: needed to receive the one-time codes (OTP)
Watch the details
The name, surname, date of birth, and tax code you type during registration must match your documents exactly. Even a tiny discrepancy — an accent, a hyphen, a transposed letter — can get the whole request refused. If you're unsure your code is right, check it against the official rules before you submit. A short read on the documents required for the tax code clears up most edge cases.
Identity providers, and how to choose
Identity providers are the companies accredited by AgID (the Agency for Digital Italy) to issue SPID. They all deliver the same standard, so the differences come down to recognition methods, the quality of their app, and whether anything costs extra.
The main providers
Poste Italiane (PosteID)
Free; verify at a post office or online. The most widely used option.
Aruba
Free online recognition by webcam, with a polished app.
InfoCert
Several recognition routes, handy if one method won't work for you.
Namirial
Quick online verification, often among the fastest to activate.
What to weigh up
Honestly, for most people any accredited provider does the job. But a few things are worth a glance:
- Which recognition methods they offer (does free webcam suit you?)
- Whether premium recognition or extra services carry a fee
- How responsive their customer support is
- The day-to-day feel of the mobile app you'll be opening constantly
The three security levels
SPID isn't one-size-fits-all. It comes in three security levels, each matched to the sensitivity of what you're doing.
Level 1
Username and password. Fine for low-risk tasks like viewing non-sensitive information.
Level 2
Username and password plus a one-time code or app confirmation. This covers most public services, from tax returns to booking a medical appointment.
Level 3
Credentials plus a physical device such as a smart card. Reserved for the highest-risk operations, like a qualified digital signature.
Which one will you actually use?
Level 2 is the everyday standard. It's what nearly every public administration service asks for, and it strikes the right balance between being secure and not getting in your way.
What you can access with SPID
Once it's active, SPID opens up thousands of online services across the public administration and a steadily growing list of private companies. Here's where it earns its keep.
Public services
- INPS: pensions, unemployment, bonuses, your contribution statement
- Italian Revenue Agency (Agenzia delle Entrate): tax returns and your personal tax drawer (cassetto fiscale)
- INAIL: workplace accident and occupational illness claims
- Municipalities: registry certificates and local tax payments
- Regional health systems: appointments and regional services
- Electronic Health Record: test results and your clinical history
- NoiPA: for public sector employees
Private services
It's no longer just government. More and more private firms accept SPID to confirm identity:
- Banks and financial institutions
- Insurance companies
- Private universities
- E-commerce and online platforms
A lot of these services display your data drawn from your codice fiscale, so it pays to know your code is accurate. If you only have someone's details and want to reconstruct the code, you can work backwards from a tax code to cross-check the personal data it encodes.
Common problems with SPID and the tax code
Applying for SPID usually goes smoothly. When it doesn't, the culprit is often the codice fiscale. Here are the snags people hit most — and how to clear them.
Your tax code doesn't match your documents
If the personal data on your ID differs from what's encoded in your tax code, the request gets rejected. The fix: find the error and correct it through the registry office or the Italian Revenue Agency (Agenzia delle Entrate). A quick online check beforehand catches most of these.
You only have a provisional tax code
You can't apply for SPID with a provisional code (the 11-digit numeric one). Obtain the definitive 16-character code first, then proceed.
Your health card has expired
Your codice fiscale never expires, but the tessera sanitaria printed with it does. Request a new card from your local health authority (ASL), or use the tax code assignment certificate instead. If you're unclear on how the card and the code relate, the guide on the tax code and your ID card spells it out.
Frequently asked questions
Do I need a tax code before I can apply for SPID?
Yes. The codice fiscale is a hard prerequisite, and it has to be the definitive 16-character version, not a provisional one. SPID uses your tax code as the underlying identifier, so without a valid code there's simply nothing for the system to verify against.
How does the tax code and SPID digital identity relationship actually work at login?
When you sign in, SPID authenticates you and passes your codice fiscale to the service you're accessing. The service then uses that code to look up your records. In short, SPID proves it's you, and your tax code tells the system which records are yours.
Can foreign residents in Italy get SPID?
They can. The requirement is a valid identity document issued by an Italian authority, plus an Italian tax code and mobile number. Plenty of non-citizens living in Italy use SPID daily for health, tax, and municipal services.
Is SPID free?
Basic issuance is free with most identity providers. Some charge a small fee for specific recognition methods — webcam verification, for instance — or for higher-tier services. If cost matters, the self-service CIE route is the one to look at first.
What happens if my tax code is wrong?
A mismatch between your code and your documents will get the application refused, every time. Check the code before you apply: you can verify it online in seconds. If something's off, correct it with the Italian Revenue Agency (Agenzia delle Entrate) before you start the SPID process.
Which security level do I need?
For everyday use, Level 2. It's what the vast majority of public services request, and it adds a one-time code on top of your password. Level 3, with a physical smart card, is only needed for high-stakes operations like a qualified digital signature.
Can I have more than one SPID identity?
You can, in fact, hold SPID identities from different providers at the same time, all tied to the same codice fiscale. Some people do this for redundancy. For most users, though, one is plenty.
Check your tax code before you start SPID
Get the tax code and SPID digital identity process right the first time — confirm your codice fiscale is correct, so your application sails through instead of bouncing back.
You can also explore the official rules straight from the Italian Revenue Agency (Agenzia delle Entrate).
