Nothing happens in Italy without it. The landlord wants it on the lease, the bank before it will open an account, the ASL before it gives you a family doctor, and your energy supplier before it connects the flat. The codice fiscale is the Italian tax code, a 16-character mix of letters and numbers, and getting it should be the first administrative job on your list.
The good news: the Agenzia delle Entrate lists no fee for it, and it is a once-in-a-lifetime job.
What is a codice fiscale and who needs one?
It is your personal identifier for the Italian tax authority, the Agenzia delle Entrate. Sixteen characters are derived from your surname, first name, date and place of birth and sex. It never expires.
Every adult who does anything long-term in Italy needs one: renting or buying, working, opening a bank account, joining the health service, signing up for electricity, internet or a phone line, or paying Italian tax. Even if you stay only a few months, a landlord or an employer will ask. The Agenzia notes that the code is required to register with the ASL and choose a doctor.
Where do you apply for a codice fiscale?
You have two routes:
- In Italy: at any local office of the Agenzia delle Entrate. EU citizens can use any office in the country.
- Before leaving: at the Italian consulate in the country where you live. The Agenzia says non-residents apply to the consular authorities.
For a first codice fiscale, the Agenzia requires that you appear in person, by appointment, so that your identity can be checked. Book the slot online or by phone; the Agenzia does not publish a standard waiting time, and it varies by office, so do not leave it for your last week.
What documents do you need for a codice fiscale?
For an EU citizen the list is short:
- The AA4/8 form, the request for assignment of a tax code, completed and signed. You state the reason for your request and your tax address, which is where the card will be sent.
- A valid identity card or passport that allows travel abroad.
Non-EU nationals, which includes British citizens since Brexit, bring a passport with a visa if required, or a residence permit, or a consular identity certificate with photo. They must also show they have the right to stay in Italy, even temporarily. In some cases the application goes through a different office: the Agenzia says non-EU nationals arriving for work or family reunification apply at the Sportello Unico per l'Immigrazione (single immigration desk), and those who need a residence permit through the Questura.
The AA4/8 asks for a "tax address" and a reason for the request, two boxes people often hesitate over. If you are unsure what to write, or your situation is unusual (no address yet, a non-EU spouse, a company director abroad), Moovy, Hello Expat's AI assistant, can talk it through with you before you fill the form, so that you arrive with the right answers.
How long does it take, and what happens after the appointment?
At the appointment, the office checks your documents and your form. The Agenzia then sends the card by post. If you live in Italy it goes to your home; if not, to the tax address you gave. The Agenzia gives no standard delivery time, so ask the clerk what to expect and what proof of the code they can hand you on the day, in case a landlord or a bank is waiting.
Once the code is yours, use it for everything on your checklist. Our moving to Italy guide shows the order, and residence in Italy for EU citizens is usually next.
What mistakes should you avoid?
- Turning up without an appointment. For a first codice fiscale, in-person appointments are the rule.
- Using a code from an online calculator. It is not valid unless the Agenzia has assigned it.
- Leaving errors on the card. A wrong name spelling or birthplace will later block a lease or a bank account. Have it corrected at an Agenzia office with valid ID.
- Losing the card and panicking. A duplicate can be requested online or at an Agenzia office. In the meantime, your number does not change.
- Confusing it with the health card. The tessera sanitaria shows your code, but it arrives only after you are registered with the health service. Our guide to healthcare in Italy covers that step.
Do British and Swiss citizens follow the same process?
Not exactly. British citizens are non-EU nationals now, so they must prove their right to stay. For those who come to work or join family, the single immigration desk issues the code; for those applying for a residence permit, the Questura does. Otherwise they go to an Agenzia office with their passport and proof of the right to reside. Our article on moving to Italy from the UK puts these steps in context.
For Swiss citizens, the Agenzia does not single them out. Bring your Swiss passport, which is the document the leaflet lists for a foreign national who stays legally in Italy, and ask the consulate if you want it before departure.
A last practical point: keep a photo of the card on your phone. You will type those 16 characters more times than you expect, and Italians will, helpfully, read them out to you in letters ("A come Ancona, B come Bologna").
How is the code built, and who asks for it?
It is not random, which is why a free calculator can reproduce it and why an official one is still needed. The standard structure is three letters from your surname, three from your first name, two digits for your year of birth, a letter for the month, two digits for the day (with 40 added for women), four characters identifying your birthplace (a municipality or a foreign country) and a final check letter. A mistake in any of these, such as a surname with a hyphen or a foreign birthplace entered wrongly, produces a code that does not match your documents. That is the reason the Agenzia insists on checking your identity in person the first time, and why errors are corrected at an office with valid ID.
Who asks for it, and when?
The list is longer than most newcomers expect. EURES points out that it is needed for a lease, for opening a bank account and for taking a job. The Agenzia adds the health service: you cannot register with the ASL or choose a family doctor without it. In practice you will also give it to your electricity, gas and internet suppliers, to a notary if you buy property, and to the Comune for most certificates. A partner in an Italian company needs one as well, even if he or she lives abroad.
If you do not yet live in Italy, the codice fiscale for foreigners is often the first piece of a longer plan: some people request it at the consulate months in advance, so that the lease, the bank and the tax registration can all start the day they land. Our moving to Italy guide shows where it sits in the order of steps.
Can you apply for a codice fiscale from abroad?
Yes, but the route depends on where you live. The Agenzia states that non-resident individuals apply to the Italian consular authorities of their country of residence. EU citizens living in Italy can walk into any Agenzia office with an appointment. The AA4/8 form asks for your tax address: if you are still abroad, that is the address where the card will be sent, so write it with care, and use one where mail actually reaches you.
Consulates have their own booking systems and waiting times, which the Agenzia does not publish. If time is short, a booking at an Agenzia office on your first week in Italy is usually the quicker route; check availability before you travel.
What if the card is lost, damaged or wrong?
Your number never changes, only the paper or plastic that carries it. A lost or stolen card is replaced with a duplicate, which the Agenzia lets you request online or at an office. Errors on the card, for example a misspelled surname, are corrected at an Agenzia office with valid identification. Fix them early: the number is copied into your lease, your bank file and your health registration, and mismatches create exactly the sort of problem you came to Italy to leave behind.
Once your health registration is complete, the card you will carry daily is the tessera sanitaria, which shows the same code and is sent by the Agenzia delle Entrate. It is also what pharmacies and clinics ask for.