Sentiero

What Is the Codice Fiscale, and How Do You Get One?

Before you can truly settle into Italy, even for a short stay, you'll likely encounter the codice fiscale – Italy's essential tax code.

Level A2 · Updated 2026-07-02
A 19th-century painting of a bustling Italian piazza with people going about their day, some interacting with a government building in the background.
Quick answer

The codice fiscale is Italy's 16-character tax and ID code, required for almost everything: a SIM card, a rental contract, a bank account, medical care. It's free — apply at any Agenzia delle Entrate office in Italy, or at an Italian consulate abroad. Bring your passport.

The codice fiscale (pronounced KOH-dee-cheh fees-KAH-leh) is Italy's unique tax identification number, similar to a Social Security Number in the US or a National Insurance Number in the UK. It's a sixteen-character alphanumeric code that identifies you to the Italian tax authorities (Agenzia delle Entrate). You'll need it for almost any official or financial transaction, even seemingly small ones.

01What does a Codice Fiscale look like?

Your codice fiscale is generated based on your name, surname, date of birth, place of birth, and gender. The first six characters come from your surname and name, then two numbers for the year of birth, one letter for the month, two numbers for the day (plus 40 for females), four characters for the municipality or foreign state of birth, and a final control character. It's a clever system, but don't worry, you don't need to calculate it yourself!

Culture note

It's everywhere!

Unlike some countries where a tax ID is only for, well, taxes, the codice fiscale is ubiquitous in Italy. It's used as a general personal identifier for almost any interaction with public services or commercial entities. Think of it less as just a tax number and more as your key to participating in Italian daily life.

02Why do I need a Codice Fiscale?

You'll be surprised how often this little code pops up. Here are some common situations where it's required:

ItalianMeaningHear
Acquistare una SIM card
/ak.kwiˈsta.re ˈu.na sim kaːrd/
To buy a SIM card (for your phone)
Aprire un conto in banca
/aˈpri.re un ˈkon.to in ˈbaŋ.ka/
To open a bank account
Affittare un appartamento
/af.fiˈtta.re un ap.par.taˈmen.to/
To rent an apartment
Acquistare una macchina o moto
/ak.kwiˈsta.re ˈu.na ˈmak.ki.na o ˈmɔ.to/
To buy a car or motorcycle
Accedere al servizio sanitario nazionale
/atˈtʃɛ.de.re al serˈvi.tsjo sa.niˈta.rjo nat.tsjoˈna.le/
To access the national health service
It's the first step to feeling truly 'local' in Italy.

03How do I get a Codice Fiscale?

There are two primary ways to obtain your codice fiscale if you're not an Italian resident:

At an Italian Consulate or Embassy abroad:* This is often the easiest method if you're planning your trip in advance. Contact the Italian consulate in your home country. You'll typically need to fill out a form, provide your passport, and they will issue the certificate. It can sometimes be done by mail.

* ***In Italy at the Agenzia delle Entrate:*** Once you're in Italy, you can visit a local office of the Agenzia delle Entrate (Italian Revenue Agency). Bring your passport and a completed application form (Modello AA4/8). Be prepared for a wait, and remember that not all staff may speak English, so having a few Italian phrases or a translator app can be very helpful.

From my own chaos · A true story

The day I got my codice fiscale

When my girlfriend and I moved to Rome for six months, we booked our appointment at the Agenzia delle Entrate and showed up with our passports. Two guards at the door turned us away: we needed photocopies of our passports, not the real ones. We argued for a while — we literally had the originals — before they sent us to a print shop down the street. We came back with the copies; the guards barely glanced at them and didn't even keep them. Inside, a stack of forms, all in Italian we couldn't read, until a kind stranger filled them in for us. We waited about an hour for our slot — and then they asked for the real passports, which I'd left at home. I had to sprint back to get them. Lesson learned: bring the originals and photocopies, and pack your patience.

Can I generate a *codice fiscale* online?
While there are online tools that can simulate a codice fiscale for you, these are not official and will not be accepted by Italian authorities. You must obtain yours through an Italian consulate/embassy or the Agenzia delle Entrate to receive a valid, officially registered number.
Is the *codice fiscale* a physical card?
It can be! Historically, it was a plastic card. Nowadays, it's often issued as a paper certificate with your details and the code. Either form is valid. What's most important is the 16-character alphanumeric code itself.
Do I need a *codice fiscale* just for a tourist visit?
For a simple tourist visit, probably not. But if you plan to buy a local SIM card, rent a car for a longer period, or engage in any transaction beyond basic tourism, it becomes necessary. It's always a good idea to have one if you anticipate more than just sightseeing.

Sort it at the counter

At the Agenzia delle Entrate. Type each line, or tap the mic and say it.

  1. Say you need a codice fiscale.

    RevealHo bisogno del codice fiscaleI need a tax code.
  2. Ask where the Agenzia delle Entrate is.

    RevealDov'è l'Agenzia delle Entrate?Where's the tax office?
  3. Say you'd like an appointment.

    RevealVorrei un appuntamentoI'd like an appointment.
  4. Ask whether you need to fill in a form.

    RevealDevo compilare un modulo?Do I have to fill in a form?

Tip — tap 🎙 to say it, 🔊 to hear it. Speaking practice needs a browser that supports speech input.

— Aleksander, da Roma
Practice it for real

Now try it yourself — out loud.

Learn practical phrases for daily life in Italy.

Practice this in Sentiero →
Les på norsk →