Skip to content
ITALYZA

Living & settling

The Italian Codice Fiscale, Explained

What the Italian tax code (codice fiscale) is, why you need it, and the general ways newcomers obtain one, before or after arriving in Italy.

By Italyza Editorial TeamUpdated 2 min read

A vintage delivery truck at a street market in ItalyPhoto: Gareth Williams · CC BY 2.0

In short

  • The codice fiscale is a 16-character code identifying you for tax and administrative purposes in Italy.
  • You need it to rent, open a bank account, get a phone contract, register for healthcare, and work.
  • It is built from your name, date of birth, sex, and place of birth (a country code if born abroad, Z236 for Pakistan).
  • It comes from the Agenzia delle Entrate system: at a Revenue Agency office, through an Italian consulate abroad, or from the Questura or Sportello Unico during immigration procedures.
  • Your details must match your passport exactly, or the code will differ.

The codice fiscale is a 16-character alphanumeric code that identifies individuals for tax and administrative purposes in Italy. Despite its name, you need it for far more than taxes; it is one of the first things to sort out when you move.

Try it: calculate or check a code with our free codice fiscale calculator. It applies the official algorithm, but only the Agenzia delle Entrate issues your official code.

At a glance

Question Answer
What is it? A 16-character code that identifies you for tax and administrative purposes
Who issues it? The Agenzia delle Entrate system: its offices, Italian consulates, the Questura, or the Sportello Unico
What is it for? Rent, bank accounts, phone contracts, healthcare, and work
Born in Pakistan? Your place-of-birth code is Z236
Want to check one? Use our free codice fiscale calculator

What it is used for

You will typically be asked for your codice fiscale when you:

  • sign a rental contract;
  • open a bank account;
  • get a mobile phone contract;
  • register with the National Health Service;
  • enrol at some universities or start a job;
  • make many online purchases or bookings.

How the code is built

The code is derived from your surname, first name, date of birth, sex, and place of birth (for people born abroad, a code for the country). Because it is calculated from personal data, the details used must match your passport exactly. A spelling difference can produce a different code and cause problems later.

How newcomers usually obtain it

The codice fiscale is issued by the Agenzia delle Entrate (Italian Revenue Agency). Depending on your situation, you may obtain it:

  • at an Agenzia delle Entrate office in Italy: first-time applicants must book an in-person appointment and bring the request form with their passport and visa or permit documents;
  • through the Italian embassy or consulate in your country, in some cases before travelling;
  • through immigration procedures: the Questura assigns one when you apply for or renew a residence permit, and the Sportello Unico per l'Immigrazione assigns one to people entering for work or family reunification.

Check whether you already have one before applying again.

Milan Cathedral illuminated at night
Milan · Photo: Nxr-at, CC BY-SA 4.0

The physical card

You may first receive a paper certificate with your code. The code is later printed on the health card (tessera sanitaria) if you register with the National Health Service. The code itself is what matters for most purposes.

Tips

  • Keep a photo of your code certificate on your phone.
  • Make sure your name is written exactly as in your passport, including middle names.
  • If you notice an error, ask the Agenzia delle Entrate to correct it early, before you sign contracts.

See Your first weeks in Italy for where the codice fiscale fits among your other early tasks.

Official sources

Related guides

  • Living & settling

    Health Insurance for International Students in Italy

    What health cover a non-EU student needs for the Italian visa and the residence permit, how private insurance compares with enrolling in the national health service (SSN) for €700 a calendar year, and how to register at the local health office.

    6 min readUpdated 28 November 2026

  • Living & settling

    Student Housing in Italy: Residences and Private Rooms

    Where international students live in Italy: DSU residences and who gets them, university housing services, private rooms with rent ranges by city, contracts, deposits, scams to avoid, and the proof of accommodation the visa needs.

    7 min readUpdated 28 November 2026

  • Living & settling

    Renting a Home in Italy: A Guide for Newcomers

    How renting works in Italy: contract types, deposits, registration, what to check before you pay, and how to avoid the most common rental scams targeting newcomers.

    3 min readUpdated 26 October 2026

Talk through your options with us

Share your goals and background, and we will help you understand the routes that may be relevant and the next practical step.