How to get an Italian codice fiscale

Facts checked on November 8, 20265 min read

The codice fiscale is Italy's tax code. You need it for almost every contract you sign in Italy, from your lease to your phone plan. Here's how to get one from abroad or after you arrive.

What is a codice fiscale?

It's a 16-character code made of letters and numbers. It's built from your surname, first name, date and place of birth. Italian public offices use it to identify you.

The code doesn't expire. If you leave Italy and come back years later, you keep the same one.

When will you need it?

SituationWhy you're asked for it
Renting an apartmentLeases longer than 30 days a year must be registered with the Agenzia delle Entrate, and registration needs the tenant's tax code.
Phone or internet contractItalian providers usually ask for it when you sign up.
Bank accountItalian banks ask for it to open an account.
UniversityUniversities usually ask for it when you enrol.
DoctorYou need it to register with the local health authority (ASL) and choose a family doctor.
WorkYour employer needs it to pay you.

How do you get one before you leave?

From abroad, you have two routes.

1. The Italian consulate in your country. People living abroad can submit form AA4/8 to their Italian consulate. Rules now differ from one consulate to another:

  • Since 2025, consulates such as Boston and Edinburgh accept requests only if you need the code for an online procedure, or if nobody in Italy can apply for you.
  • Others, such as London, take requests through an online appointment and email you the certificate within 5 working days.

Check the "codice fiscale" page of your own consulate before you apply.

2. Someone in Italy applies for you. A delegate can take your form to any Agenzia delle Entrate office. They bring their own ID, a copy of yours and your signed delegation.

How do you get one in Italy?

The Agenzia delle Entrate (Italian Revenue Agency) assigns codes at its local offices.

  1. Fill in form AA4/8. It's on the Agenzia's website, with instructions in English. Choose "allocation of tax code" and your applicant type, such as "non-resident student" or "person temporarily living in Italy".
  2. Ask for the card at the same time. If you aren't entitled to the Italian national health service (SSN), tick the box for the tax code card.
  3. Book an appointment. Use the "first tax code request" option in the Agenzia's online booking. You can also contact an office by email or phone.
  4. Go in person. Bring the signed form and your identity document. Foreign citizens applying for their first code must attend in person, so staff can check their identity.
  5. Get your certificate. You receive a certificate of attribution (certificato di attribuzione del codice fiscale). The card follows by post.

Can you apply online?

Not for a first code. The Agenzia says foreign citizens applying for the first time must book an in-person appointment. Its online area also needs Italian digital credentials (SPID, CIE or CNS), which new arrivals don't have.

If you're a student, ask your university's international office first. Some universities have an arrangement with their local Agenzia office.

Is it different for EU and non-EU citizens?

Yes. The office and the documents depend on your citizenship.

EU citizensNon-EU citizens
Where to get itAny Agenzia delle Entrate office, or the Italian consulate in your countryThe Questura (police) when you apply for a residence permit, the immigration desk (Sportello Unico) if you come for work or family reunification, or an Agenzia office
Identity documentPassport, or an ID card valid for travelPassport with visa (if you need one), or a residence permit
Extra proofThe reason for your requestThe reason, plus proof that you're allowed to stay in Italy

What if you're a non-EU citizen?

If you apply for a residence permit, the police assign your codice fiscale as part of that process. If you enter for work or family reunification, the immigration desk first gives you a temporary numeric code. You get the permanent one with your residence permit.

You may need the code sooner, for your lease, a bank account or a phone contract. In that case, book an Agenzia appointment and bring your passport and visa. For stays over 90 days, read our guide for non-EU students on visas and permits.

The number, the certificate or the card: what's the difference?

  • The number is the 16-character code itself.
  • The certificate of attribution is the official document that proves your code. You get it when the code is assigned.
  • The tessera sanitaria (health card) carries your code. It goes by post to people registered with the SSN and usually arrives in about 3–4 weeks.
  • The tax code card (tesserino del codice fiscale) is for people not entitled to the SSN. It's posted to the address you give on the form, so use an Italian address where you can receive mail.

EU citizens visiting Italy can use the European Health Insurance Card (EHIC) from their home country for healthcare.

Lost your card? You can ask for a duplicate online or at any Agenzia office.

When does Beesprint need your codice fiscale?

It's one of the documents you need to rent with us, and we need it to register your lease. You don't need it before you arrive:

  • Send it to us within 30 days of your arrival.
  • After that, a €50 penalty applies for each week of delay.
  • Send a document or the card, such as your certificate of attribution. The number alone isn't accepted.

Book your Agenzia appointment as soon as you know your arrival date. The full rules are in our booking conditions.

Sources

All checked November 2026.