EuroCalc
9 min read

Codice Fiscale Italy: Complete Guide for Foreigners 2026

The codice fiscale is the 16-character alphanumeric ID that opens every door in Italian life — bank account, SIM card, rental contract, utilities, hospital visit, even buying a sofa on credit. It is free, takes 15 minutes at an Agenzia delle Entrate counter, and is the single most important paperwork step for any expat moving to Italy. This guide explains exactly how to get one in 2026 — from Italy or abroad — what documents you need, and the dozen things you'll need it for in your first month.

What is the codice fiscale

The codice fiscale is a 16-character identifier issued by the Agenzia delle Entrate (Italian Revenue Agency). Six letters are derived from your surname and first name, two digits from your birth year, one letter for your birth month, two digits for the day (women add 40), four characters for your municipality of birth (or country code starting with Z for foreign-born), and one final check letter. So MRARSS90E15F205X is Mario Rossi born 15 May 1990 in Milan.

Unlike a tax ID in many countries, the codice fiscale is required for non-tax transactions too — you cannot open a bank account, sign a phone contract, register at a doctor, or sign a residential lease without one. Italian-born residents get theirs at birth via the Anagrafe; foreigners must request it explicitly.

The tessera sanitaria is a plastic card that includes your codice fiscale on the back and your healthcare entitlement on the front. You get the tessera automatically after registering with the SSN (Italian national health service) once you have a residenza. Before that you have only the paper codice fiscale certificate.

Getting it from inside Italy

Walk into any Agenzia delle Entrate office with your passport (and visa or permesso for non-EU citizens). Take a numbered ticket for 'attribuzione codice fiscale' or 'servizi al contribuente'. Fill out form AA4/8 (available at the counter or downloadable from agenziaentrate.gov.it) with name, place and date of birth, and address. The clerk prints the paper certificate on the spot — usually 5–15 minutes once your number is called.

Most large cities (Milan, Rome, Naples, Turin) have multiple offices; prenotazione online via the AgenziaEntrate app or website cuts queue time from hours to minutes. As of 2026, several offices accept walk-ins only on Tuesday and Thursday mornings — check before going. The service is free; reject any intermediary asking more than EUR 30.

If you have SPID or CIE, you can request the codice fiscale entirely online via the Agenzia delle Entrate portal — but SPID itself requires a codice fiscale to register, so this route only works if you somehow already have a temporary one (e.g., from a previous visa application).

Getting it from outside Italy

Before moving to Italy, request the codice fiscale from the nearest Italian consulate or embassy. Most consulates have an online form (look for 'modulo richiesta codice fiscale') and accept email submissions with passport scan attached. Processing takes 4–8 weeks; the consulate emails the certificate or invites you to collect it in person.

Some consulates (Berlin, Zurich, London, Paris) issue codici fiscali same-day if you walk in with passport and a printed AA4/8. Others (high-volume locations like NYC and São Paulo) take 6–12 weeks. If you have a job offer, your future Italian employer can often request the codice fiscale on your behalf — much faster than the consular route.

Online services that 'sell' codici fiscali for EUR 25–60 are legitimate intermediaries; they fax/email the AA4/8 to the Agenzia and receive the certificate within 3–5 working days. Worth it only if you cannot wait for the consulate and cannot travel to Italy first.

What you need it for

Banking: every conto corrente application requires the codice fiscale, even for fintech accounts (Revolut Italy, N26, Wise). Without one you cannot pass anti-money-laundering checks.

Telecom: Italian SIM cards (TIM, Vodafone, Iliad, WindTre) and home internet require the codice fiscale on the contract. Iliad SIMs are sold in vending machines but still demand the code at activation.

Housing: every residential lease (contratto di locazione) registered with the Agenzia delle Entrate names both parties by codice fiscale. Without one you cannot legally rent — only Airbnb-style short-term stays bypass this.

Employment: your codice fiscale appears on every busta paga, every INPS contribution record, every CUD/CU annual statement. Hiring you without it is impossible.

Healthcare: registering with the SSN, booking specialists via CUP, picking up prescriptions, all require the codice fiscale. Hospitals will treat you in an emergency without one but bill you afterward.

Daily life: IKEA delivery, Amazon Italy invoicing, gym subscriptions, Esselunga loyalty cards, even a Trenitalia annual pass — all ask for the codice fiscale.

Common errors and fixes

Surname inversion: the Agenzia generates the code assuming the first name in your passport is your given name. Spanish, Portuguese and Brazilian naming conventions cause frequent inversions — Maria de Souza Silva might be coded as if 'de Souza' were the first name. Always check the certificate against your real name and request correction immediately if wrong.

Missing or wrong place of birth: foreigners born in countries without standard ISTAT codes sometimes get assigned a generic Z000 code. This is technically valid but causes form-rejection errors with some banks. Request the proper Z-prefixed country code (e.g., Z103 for Switzerland, Z112 for Germany).

Duplicate codes: when two people share name, birthdate and birthplace, the Agenzia generates a different check letter for the second person. If your check letter is contested, request the 'certificato di attribuzione' which is the official proof.

Net Salary Calculator

Now compute your Italian net salary

With your codice fiscale in hand, the next number you'll want is what actually lands on your busta paga. Use the EuroCalc Italian net salary calculator to convert RAL to net after INPS and IRPEF.

Open net salary calculator

Frequently asked questions

Does my codice fiscale expire?+

No — it is a lifetime identifier. The plastic tessera sanitaria expires (typically 6 years) but the underlying codice fiscale on the back never changes.

Can I get a codice fiscale before moving to Italy?+

Yes — request it at the nearest Italian consulate before you move. This is strongly recommended because you'll need it to sign your first rental contract and open a bank account upon arrival.

Do EU citizens need a visa to get one?+

No. EU/EEA/Swiss citizens just need a valid passport or national ID card. Non-EU citizens need a valid visa or permesso di soggiorno.

What if my codice fiscale is wrong?+

Bring the certificate plus your passport back to any Agenzia delle Entrate office — corrections are processed same-day and a new certificate issued for free. Update your bank, employer and SSN registration with the corrected code.

Can children get a codice fiscale?+

Yes — parents can request it for minors. Required for pediatric SSN enrollment, schools, and asilo. The application is form AA4/8 with the child's passport and a parent's ID.

Related guides