Any foreigner who needs to work, bank, rent, study, inherit, or access healthcare in Italy must get an Italian fiscal code, known as the codice fiscale. It is a free, permanent 16-character identifier issued by the Agenzia delle Entrate, and you can apply either in person at any tax office in Italy or through an Italian consulate in your home country. The process is straightforward, costs nothing, and for in-person applicants usually finishes in a single visit.
When You Actually Need One
You will be asked for a codice fiscale the moment you try to do almost anything official in Italy. The situations foreigners run into most often are:
- Starting a job — employers cannot process payroll or tax withholdings without it.
- Opening a bank account or getting a debit card.
- Signing a rental contract or buying property.
- Enrolling in the national health system (SSN).
- Registering at a university or with a professional certification body.
- Settling an Italian estate as a foreign heir.
Even buying a postpaid phone plan or signing an internet contract can trigger the requirement. It applies equally to EU citizens and non-EU nationals, and once assigned, the code is yours for life.
What You Need to Bring
Documentation splits along one line: EU/EEA citizens versus everyone else.
EU and EEA Citizens
Walk into any Agenzia delle Entrate office with a valid national identity card or passport. No visa, no residence permit, no additional paperwork beyond the application form.
Non-EU Citizens
Non-EU applicants must also show a legal basis for being in Italy. Any one of the following works:
- A valid passport with a visa, if a visa is required for your nationality
- An identity certificate with photo issued by Italian diplomatic authorities in your home country
- A valid residence permit (permesso di soggiorno)
- An Italian municipal identity card
If you are applying from outside Italy through a consulate, the permesso di soggiorno requirement does not apply. Your passport and, where relevant, visa documentation are enough.
The Form
Everyone uses the same form, the AA4/8, officially titled “Application for a tax code.” It asks for your full legal name, sex, date of birth, place of birth (city and country exactly as on your passport), and the reason you need the code. An English-language version is available from the Agenzia delle Entrate website.
Fill in every field carefully. A mismatch between the form and your passport is the most common reason for delays, particularly with transliterated names and place-of-birth spellings that vary across documents.
Applying at a Tax Office in Italy
If you are already in Italy, an in-person visit to a local Agenzia delle Entrate office is the fastest route. The agency has branches in every province, and you can find the nearest one through the office locator at agenziaentrate.gov.it.
Booking an Appointment
Some offices still take walk-ins, but many now require a reserved time slot. The agency runs two booking tools:
- PrenotazioneWeb, which lets you schedule an appointment for an upcoming day. You can book up to three appointments per day through the portal.
- Webticket, which lets you grab a same-day queue ticket online starting at 6:00 a.m., available until slots run out.
Booking ahead through PrenotazioneWeb is the safer bet in larger cities like Rome, Milan, and Naples, where walk-in lines can consume half a day.
At the Counter
A tax officer reviews your completed AA4/8, checks it against your original identity documents, and prints a paper certificate showing your assigned codice fiscale. It rarely takes more than 30 minutes once you are called. That paper certificate is legally valid immediately, so you can take it straight to a bank appointment or lease signing the same day. A plastic card is later mailed to your registered Italian address, but the paper works for everything in the meantime.
The service is free. No application fee, no processing charge, no cost for the card.
Applying From Abroad Through an Italian Consulate
If you are outside Italy, your local Italian consulate or embassy handles the request. Procedures vary a bit from one post to another, but the core requirements are consistent.
Documents
Most consulates ask you to submit the following in PDF:
- Form AA4/8, filled out digitally (hand-filled forms are often rejected), then printed, signed, and scanned
- A copy of your valid passport
- A copy of your driver’s license or another document proving you live within that consulate’s jurisdiction
- A signed affidavit explaining why you need the codice fiscale
The proof-of-residence document is a consular requirement, not a domestic one. Consulates use it to confirm you fall within their geographic jurisdiction.
How to Submit
Many consulates accept applications by email with all documents attached as PDFs. Some accept registered mail. A smaller number require in-person appointments booked through the Prenot@Mi portal. There is no single universal channel, so check your specific consulate’s website for its preferred method.
After processing, you usually receive your codice fiscale certificate by email as a digital PDF. Turnaround ranges from a few days to several weeks depending on the consulate’s workload. The digital certificate carries the same legal weight as a physical card and works for all transactions.
Getting a Code for a Child
Parents can request a codice fiscale on behalf of a minor using the same AA4/8 form with a few adjustments:
- Check the “Third Party Request” box.
- Enter code “10” in the “Request Type Code” field.
- Fill in the child’s residence in the “Registered Residence” field.
- Enter the child’s personal details exactly as they appear on the child’s passport.
Attach a copy of the child’s valid passport. If applying through a consulate, the parent submits everything and the child does not need to appear.
Fixing an Error or Replacing a Lost Card
Mistakes are common with transliterated foreign names. If your codice fiscale was issued with incorrect personal data, you can request a correction at any Agenzia delle Entrate office. Bring a valid ID and the incorrect card. When booking through PrenotazioneWeb, look for the category “Tax Code, Health Card, VAT Number — Changes” under fast services.
If your plastic card is lost or damaged, the same office issues a replacement. The code itself never changes; you just need a new physical card. Residents registered with the national health system get their code printed on the tessera sanitaria (health insurance card), which doubles as the fiscal code card and carries an expiration date. That expiration applies only to the card’s validity as a health document. The underlying codice fiscale is permanent.
Name Rules That Trip Up Foreign Applicants
The code is generated from the surname on your primary identity document, which for foreigners is almost always the passport. This creates a specific trap for married women. If your passport shows your married surname, the code will be built from that name. Should you later divorce, revert to your maiden name, and update your passport, the codice fiscale will need to be reissued to match. Italian law technically uses the maiden name (cognome da nubile) for women, but the operational rule for foreigners is simpler: whatever name appears on your passport at the time of application is what goes into the code.
If your name contains characters not in the Italian alphabet, the consulate or tax office will transliterate them. Check the spelling on your certificate before you leave the counter. Fixing it later means another office visit.