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.

Free 5 to 30 days €80 to USD 338 only if you hire a representative

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.

Free Same day No appointment in most offices

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.

Free Fully online

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.

Free Often automatic

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.

Free Nothing to file

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.

Free 5 to 30 days €80 to USD 338 only if you hire a representative

Check your own consulate first. Several large ones handle the whole thing by email and never ask you to come in: London answers in five working days, Houston in about thirty, and Washington states plainly that the service is free. Look for "codice fiscale" on your consulate site.
Prepare what they ask for: form AA4/8 completed and signed, a copy of your passport, proof that you live in that consular district (a driving licence or a utility bill), and a short written reason for the request.
If your consulate turns you down, which since March 2025 happens in some offices to property buyers and to anyone living outside their district, use the second route: authorise a person in Italy.
The delegate route: you sign the AA4/8 and fill in the DELEGA box at the bottom naming them. They take it to any Agenzia delle Entrate office with their own ID and a copy of yours. No notary is needed.

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.

Free Same day No appointment in most offices

Download form AA4/8 (button below) and fill it in. Tick "attribution of the tax code" in the first section.
Bring your passport or national ID card. Non-EU citizens should also bring the residence permit if they already have one.
Go to any Agenzia delle Entrate office. Most take walk-ins; booking online only saves you the queue.
Leave with the certificate of attribution, printed on the spot. The health card follows by post if you are entitled to one.

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.

Free Fully online

Log in to Fast It (button below), the consular services portal, with your account.
Request the attribution of the codice fiscale from the services section.
Download the certificate yourself: since 2025 no consular officer needs to be 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.

Free Often automatic

Complete pre-enrolment on Universitaly (button below). The platform generates a codice fiscale for your application.
Check the code you were given with the calculator on this site: they should match character for character.
Confirm it in Italy once you arrive. Until the Revenue Agency confirms it, some contracts (a rental, for example) may not accept it.

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.

Free Nothing to file

Entering for work (decreto flussi, family reunification): the Sportello Unico per l'Immigrazione assigns the code during the nulla osta procedure.
Applying for a residence permit for another reason: the code arrives through the Questura, with the permit file.
You may first receive a provisional numeric code of 11 digits. It becomes a definitive 16-character code when the file is complete.

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:

The Revenue Agency publishes the editable PDF and the instructions in several languages, English included, on its official page.

Form AA4/8, filled in: an example

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.

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

Fill in AA4/8. Tick "attribution", copy your details exactly as printed on your passport.
Sign the authority if someone files for you, and send them a scan of your passport.
They file it at any Agenzia delle Entrate office. No fee, no appointment in most offices.
You receive the certificate of attribution, the document banks and notaries accept as proof.

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.