How to get an official codice fiscale
The code is free and the procedure depends on who you are and where you are. Find your situation below, then read the detail.
Find your route in 10 seconds
You are abroad and need the code for something in Italy
Buying property, an inheritance, a bank account or a court case: you have two free routes, your consulate or someone in Italy filing for you. Start with the consulate.
What to bring: Form AA4/8 signed by you, a copy of your passport, proof of address in the consular district, and a stated reason. For the delegate route, the DELEGA box filled in and their ID.
One caveat worth knowing: in March 2025 the Revenue Agency added a notice that a foreign citizen applying for a FIRST tax code must appear in person so their identity can be verified, which sits awkwardly with the delegate route that its own form still describes. No official source resolves the contradiction. In practice the consular route avoids it entirely, which is another reason to try it first.
You are already in Italy, or moving there
File form AA4/8 in person at any Agenzia delle Entrate office and walk out with the certificate the same day.
What to bring: Form AA4/8 and a valid identity document. Nothing else, and no fee.
You are an Italian citizen living abroad (AIRE)
Apply online through the Fast It consular portal and download the certificate yourself, with no consular officer involved.
You are enrolling at an Italian university
Check Universitaly first: pre-enrolment usually generates the code for you, so there may be nothing to apply for.
This segment changed the most: students used to queue at consulates, now the platform handles it. Do not pay anyone for this.
You are arriving through a work or residence permit
You do not need to apply: the code is issued to you as part of the immigration procedure itself.
If an online form rejects your 11-digit provisional code, that is expected: those codes are built for public administration systems, not web forms. Wait for the definitive one.
First, are you sure you need to apply?
You do NOT need to apply
- A code was assigned to you before, and you just cannot find it
- You have an Italian health card (tessera sanitaria): the code is on it
- You pre-enrolled at an Italian university through Universitaly
- You entered Italy through a work or residence permit procedure
You DO need to apply
- You are buying property or inheriting in Italy and never had a code
- You are moving to Italy and no procedure has issued one
- You need it for a court case or a bank and none was ever assigned
- You are opening a business or signing a contract as a non-resident
Two situations get confused constantly. If you have never been assigned a code, you need to apply, and this page is for you. If a code was already assigned and you simply do not have it to hand, you do not need a new application: you need to retrieve it. Italian residents can find it on their health insurance card or request a certificate of attribution online; everyone else can work out what it looks like with the calculator and confirm it against the Revenue Agency's verification service. Applying twice for the same person does not produce a second code.
Route 1: you are in Italy
The simplest case. Take form AA4/8 and your identity document to any office of the Agenzia delle Entrate. No appointment is strictly required in many offices, though booking online saves waiting. Issuance is immediate and free: you leave with a printed certificate of attribution showing your code. The plastic card, if you are entitled to one, arrives by post later.
If you are arriving through an immigration procedure, you may not need to do anything at all: people entering for work receive the code through the Sportello Unico per l'Immigrazione, and people applying for a residence permit receive it through the Questura, as part of those processes.
Route 2: you are abroad, and what really changed in 2025
You will read in a lot of places that Italian consulates "stopped issuing" the codice fiscale in March 2025. That is not accurate, and it matters, because believing it can cost you money for nothing.
What happened is that a number of consulates published notices tightening who they serve: they now ask that you actually live in their consular district, that you state a reason for the request, and some of them, Marseille and Edinburgh among others, explicitly stopped accepting applications from people who need the code to buy property, pointing them to the delegate route instead. Several consulates also send students to Universitaly, which issues the code during pre-enrolment.
But plenty of large consulates run an active, free and fully remote service. London states that applicants "are NOT required to come to the Consulate" and send the certificate by email within five working days. Houston handles it remotely and accepts property buyers who attach the preliminary purchase agreement. Washington says the service is "free of charge". New York and Boston take applications by email with the signed AA4/8, a passport copy and an affidavit stating the reason. Buenos Aires and Rosario also operate remotely. The Ministry of Foreign Affairs still lists the consular route first, not as an exception.
So the honest answer is: it depends on your consulate, and you have to check yours. The policies diverged in 2025 and there is no single rule any more. Start there, because it is free and you keep the paperwork in your own language and time zone.
The second route: authorise someone in Italy
If your consulate does not take your case, any person in Italy can file the form for you. This is not a legal representation with a notary: the AA4/8 itself contains a DELEGA box where you name the person and authorise them "to submit the form on your behalf and to collect any certificate issued by the office". The official instructions are explicit that the delegate only needs to show their own identity document and a copy of yours, and that you, the applicant, must sign the form yourself. Nothing else.
One contradiction to be aware of, because no official source resolves it: in March 2025 the Revenue Agency added a notice to its own site saying that EU and non-EU citizens applying for their first tax code must book an in-person appointment so their identity can be verified. Read literally, that would empty out the delegate route in exactly this case, yet the Agency has not withdrawn it and the form still carries the DELEGA box. If you are choosing between the two routes, this is one more argument for trying the consulate first.
Form AA4/8, section by section
The form looks intimidating and is mostly irrelevant to a first application. It is organised in blocks:
- Type of request. For a first code, tick attribution of the tax code. The other options cover changes of data, duplicates and death notifications.
- Personal details. Surname, first name, sex, date and place of birth, exactly as they appear on your passport. This is the block that generates your code, so transcription errors here follow you for years.
- Address in Italy, if you have one, and address abroad, which is the block non-residents complete.
- Previous tax codes, only if one was ever issued to you.
- Signature, plus the details of whoever signs on your behalf (a parent for a minor, a representative acting under your authority).
The Revenue Agency publishes the editable PDF and the instructions in several languages, English included, on its official page.
The form is only in Italian and most of the PDF is a privacy notice. These are the boxes you actually fill in, with a worked example: a US citizen living abroad who asks a contact in Italy to file it.
Tick T only if you are filing for someone else (a parent for a child). Filing for yourself through a representative is still D: the representative is covered by the delega at the bottom.
Tick box 1. The other boxes are for changes of data, death notices, certificates and duplicates.
Exactly as printed on your passport. If it shows two surnames, write both.
Your country of birth if you were born outside Italy, not the city. Leave the province box empty.
Day, month, year. Watch the order: Italian forms use DD/MM/YYYY.
Only if you have an address in Italy. If you do not, leave the whole block empty and fill in Quadro D.
This is the block non-residents complete: your address abroad, exactly as you would write it on an envelope.
Only if a code was ever assigned to you before. If this is your first, leave it empty.
…a presentare il modello per suo conto e a ritirare l'eventuale certificazione rilasciata dall'ufficio
Here you authorise a person in Italy to file the form for you and to collect the certificate. They must have an Italian codice fiscale.
The delegate signs here; you sign in the Sottoscrizione box above. Attach a copy of your passport and of the delegate's ID.
This delega block is the whole business model of the paid services: what they sell is a person in Italy to write in these two lines. If you know anyone there, they can do it for free.
The application, end to end
What you get, and what comes next
The immediate output is the certificate of attribution: a PDF or printout stating that the code belongs to you. That document is what banks, notaries and foreign institutions accept as proof. Separately, if you register with the Italian national health service you will receive the tessera sanitaria, the plastic card carrying the same code, posted to your registered address. People not entitled to health cover receive a simpler card with the code only.
Once you have the code, keep it: it never expires and never changes, even if you leave Italy, change your name through marriage or move country. The card expires; the code does not.
Frequently asked questions
Can I get a codice fiscale without going to Italy?
Yes, and there are two ways. Your Italian consulate can still issue it, free of charge, and several large ones (London, New York, Boston, Houston, Washington, Buenos Aires) handle it entirely by email without you setting foot there. The alternative is to authorise someone in Italy to file form AA4/8 for you. Policies changed in March 2025 and now vary a lot between consulates, so check your own before assuming anything.
How long does it take?
In Italy it is immediate: you walk out of the office with the certificate. From abroad it depends on the consulate: London states five working days, Houston around thirty, and other offices vary. A representative filing for you in Italy usually resolves it within days.
Do I have to pay for it?
No. Issuance is free through every official channel. Services charging 80 to 200 euros are selling representation in Italy, which has real value if you have nobody there, but the code itself costs nothing.
What documents do I need?
Form AA4/8 and a valid identity document: a passport for non-EU citizens, a national ID card for EU citizens. Depending on your status you may also need a residence permit or visa.
I am an Italian citizen living abroad. Is my route different?
Yes, and it is easier. If you are registered with AIRE you can request the code online through the Fast It portal, and since 2025 you can download the certificate of attribution there without going through a consular officer.