Our Newsletter

Codice Fiscale for Foreign Citizens: 5 Easy Application Steps

Posted on May 30th, 2020

by Expat Living in Rome


Codice Fiscale for Foreign Citizens: 5 Easy Steps

How to get your Italian tax code from abroad or inside Italy

Updated: October 2026 | Reading time: 8 minutes

Obtaining a codice fiscale for foreign citizens is the first essential step when relocating to Italy. The codice fiscale is Italy’s personal tax identification number. Whether you plan to work, study, rent an apartment, open a bank account, or buy property, this 16-character alphanumeric code is mandatory for living in the country.

This guide explains how obtaining a codice fiscale for foreign citizens works in practice — from applying abroad through an Italian consulate to visiting an Agenzia delle Entrate office once you arrive. Need help navigating Italian bureaucracy? Reach out to our Legal & Relocation Desk.

1. What Is the Codice Fiscale?

The Italian tax code is an alphanumeric identifier issued by the Agenzia delle Entrate (Italian Revenue Agency). While used to track tax obligations, a codice fiscale for foreign citizens functions as a universal ID number required for signing a residential lease, activating utilities, enrolling in university, and accessing public healthcare.

⚠️ Important Distinction: Merely holding a codice fiscale does not automatically make you an Italian tax resident. Tax residency in Italy is determined by separate legal criteria, such as physical presence over 183 days per year, habitual abode, or official municipal registry (Anagrafe) status.

2. How to Apply From Abroad

If you have not yet relocated, securing a codice fiscale for foreign citizens before departure prevents immediate administrative friction upon arrival.

Option A: Through an Italian Consulate

Consulates can issue tax codes to foreign applicants residing in their district. To apply, you generally submit:

📄 A completed, digitally typed, and signed Form AA4/8

🪪 A clear photocopy of your valid passport

🏠 Proof of residence within the consular district (e.g., utility bill or driver’s license)

✍️ A signed affidavit stating your specific reason for needing the code

Always verify submission rules on your local Italian consulate’s website. Processing through consular channels can take up to 30 days.

Option B: Delegate a Representative in Italy

The fastest route for non-residents is granting Power of Attorney to a representative in Italy, such as a relocation specialist or attorney. Your delegate can submit Form AA4/8 directly to the Agenzia delle Entrate on your behalf, bypassing consular delays.

3. How to Apply Inside Italy

If you are already inside the country, who issues your codice fiscale for foreign citizens depends on your nationality and immigration status — there is no single issuing office, and the right route is the one that matches your situation.

EU / EEA Citizens

EU citizens can apply in person at any local Agenzia delle Entrate office. Bring your completed Form AA4/8 and a passport or national ID card valid for foreign travel. Most offices process the request on the spot. Appointments must be booked via the official Agenzia delle Entrate booking portal.

Non-EU Citizens

If you are applying for a residence permit (permesso di soggiorno) for work, study, or family reunification, your code is usually assigned during immigration processing by the Sportello Unico per l’Immigrazione (Prefecture) or the Questura. But it is not always automatic in practice: a codice fiscale can be assigned through several different procedures depending on your situation, and if yours hasn’t arrived — or you need it urgently — the Agenzia delle Entrate can issue one directly. See the stuck-in-limbo question in Section 5.

Non-EU citizens in Italy without an automatic immigration filing (e.g., short-stay visitors) must book an appointment at the Agenzia delle Entrate with their passport and proof of lawful stay (entry stamp, visa, or permesso receipt). In practice, wait times and office practices vary a lot from city to city — if you find yourself bounced between offices, see the stuck-in-limbo question in Section 5 below.

🚨 Avoid This Common Mistake: Do not email [email protected]. This address is exclusively for the Florence territorial office. You must contact the specific local Agenzia office designated for your municipality.

4. Required Documents Checklist

Preparing accurate documentation ensures your codice fiscale for foreign citizens application is approved without delay:

✅ Universal Requirements for All Applicants

🔹 Completed Form AA4/8 (Available on the Agenzia website)

🔹 Original and photocopy of a valid Passport

📌 Status-Specific Requirements

🔹 EU Citizens in Italy: Passport or National ID card.

🔹 Non-EU Citizens in Italy: Visa, Schengen entry stamp, or residence permit receipt.

🔹 Consulate Applicants: Proof of residence in consular jurisdiction + reason affidavit.

🔹 Students: Pre-enrollment applicants may have their code generated via the UNIVERSITALY portal.

5. Key Questions Answered

How long does it take to get a codice fiscale?

In-person applications at the Agenzia delle Entrate are issued the same day. Consular processing ranges from 10 to 30 days depending on backlog.

Do I need it before signing a lease?

Yes, lease registration normally requires it. However, under Resolution 5/E (Feb 2023), residential leases can temporarily be registered using your name, birth details, and foreign address if your official code is still pending.

What if offices won’t give me a codice fiscale while my permesso is pending?

This is the most frustrating — and most common — standstill expats report: the Agenzia says the code comes with the permesso, and the immigration office says to wait. The official government integration portal (Integrazione Migranti, updated October 2026) is explicit on this point: foreign nationals residing legally in Italy who do not yet have a codice fiscale may request one directly at any Agenzia delle Entrate office, submitting form AA4/8 together with a valid identity document or the receipt of their residence permit application. If it happens to you:

1. Go to an Agenzia delle Entrate office — a different one, if your local office has already refused you — with completed form AA4/8 and your permesso application receipt (ricevuta) or passport. Ask them to issue the code, and also to check whether a provisional or permanent codice fiscale has already been assigned to you in the system.

2. If the request is denied, ask for the denial in writing, specifying which office is competent for your case and what the correct procedure is. (A patronato — the free welfare-assistance offices found in most Italian towns — can also intervene on your behalf at any point, at no cost.)

3. Forward that written response to the Questura handling your permesso, asking them to verify whether a codice fiscale has already been assigned in the immigration system — and if so, to provide official confirmation of it.

For urgent paperwork like a lease, remember the 2023 registration workaround described above, which lets registration proceed while your code is pending. For the permesso itself, long waits can be chased through the Poste Italiane tracking service for your kit, or formally raised through a patronato or an immigration lawyer.

Does the codice fiscale cost anything?

No. Issuance is free, both at the Agenzia delle Entrate and through consulates. If anyone offers to “buy” you a code faster, walk away — it’s a standard public service.

What if my name or personal details change?

The code is calculated from your name and birth data and follows you for life. If you legally change your name (for example after marriage) or need to correct your data, the Agenzia updates the record — the code itself stays the same.

Special Cases: Who Issues Your Codice Fiscale?

EU citizens apply directly using form AA4/8 at any Agenzia delle Entrate office, or through an Italian consulate in their home country before they move.

Non-EU citizens with a work or family permit usually receive their codice fiscale automatically from the Questura (police headquarters) as part of the permesso di soggiorno process — check the paperwork you got with your permit before applying again.

People granted international protection (asylum seekers and refugees) are assigned a codice fiscale by the Police Headquarters or Border Police, depending on how they entered the procedure.

Unaccompanied minors receive theirs through the Revenue Agency, which issues the code at the request of the Local Health Authority (ASL).

Non-residents who need a code for property, inheritance, or tax matters get the physical card from the Agenzia delle Entrate office responsible for the relevant tax domicile — not every office can serve non-residents, so check before you go.

📩 Get Italy-Savvy Before You Need To Be 🇮🇹

One weekly email with the bureaucratic changes, deadlines, and expat updates that actually affect your life in Italy. No spam, unsubscribe anytime.

💌 Subscribe to Our Newsletter ✨

Need Help With Your Italian Paperwork?

From residency permits to citizenship files, our team assists expats every day. Reach out for a free consultation.

⚖️ Legal Assistance

Citizenship files, residency registration, document review & apostilles.

Free Consultation

📦 Relocation Assistance

Housing search, registered leases, moving logistics & settling-in support.

Free Consultation

🧾 Tax Assistance

Italian & cross-border tax filings, codice fiscale & compliance.

Free Consultation

[email protected]


Contact info

Roma Italy