Foreign nationals get a codice fiscale through the Agenzia delle Entrate, either at a local office in Italy or through a delegated representative if they cannot travel. Many applicants going through immigration channels receive it automatically via the Sportello Unico per l’Immigrazione (SUI) or the Questura, sometimes first as a provisional numeric code. Consulates can forward requests in limited cases, and every valid application runs through Model AA4/8.
TL;DR:
- Foreigners applying through immigration channels often receive a provisional numeric code first, which converts to the permanent alphanumeric codice fiscale after permit issuance.
- Non-residents or those not involved in immigration procedures should visit an Agenzia delle Entrate office or delegate a representative for official and reliable issuance.
- Consulates can assist only in limited cases within their districts; delegation becomes necessary if outside these parameters or for speed.
- Always verify your codice fiscale through official channels before using it for banking or property transactions to avoid delays or rejections.
- Building the codice fiscale request into your property purchase timeline ensures smooth processing and prevents costly delays at closing.
Table of Contents
- Where Foreigners Officially Get a Codice Fiscale
- What Documents and Forms Do You Need?
- Can You Apply for a Codice Fiscale From Abroad?
- Provisional Code vs. Permanent Codice Fiscale: What’s the Difference?
- Why You Shouldn’t Trust Online Codice Fiscale Calculators
- Why Buyers Need the Codice Fiscale Before Closing on a Property
- Fixing Duplicate Codes and Common Application Errors
- Building the Codice Fiscale Into Your Property Purchase Timeline
- The Real Cost of Getting the Codice Fiscale Wrong
- How Living Italy Handles the Codice Fiscale Process for You
- Official Resources for Codice Fiscale Applications
- Sources
- FAQ
Where Foreigners Officially Get a Codice Fiscale
There are four legitimate paths to an Italian tax code, and picking the right one depends entirely on your immigration status and whether you’re already in the country.
Agenzia delle Entrate offices are the default route for anyone not going through an immigration procedure. Non-residents can walk into any local office, or the Centro Operativo di Pescara handles specific non-resident cases like EU VAT refund applicants. Booking an appointment ahead of time is recommended; walk-ins are accepted but wait times vary by city and season.
Sportello Unico per l’Immigrazione and Questura handle the automatic route. If you’re applying for a residence permit, the tax code is often generated through a telematic link between the Ministry of Interior and the Agenzia delle Entrate database, so you never need to visit a tax office separately. What you get first is typically a numeric provisional code tied to your permit application, not the final alphanumeric version.
Consular and diplomatic channels exist, but they’re narrower than most guides suggest. Consulates can forward requests only for applicants residing in their consular district, and even then only in defined cases outlined by individual consulates.
Your next move depends on where you sit right now:
- Already have a visa or permit application in progress? Check with the SUI or Questura handling your case before doing anything else.
- Buying property or opening a bank account with no immigration process underway? Go straight to an Agenzia delle Entrate office or arrange a delegate.
- Living outside Italy with no immediate travel plans? Contact your local consulate first to see if you fall within its narrow eligibility window.
What Documents and Forms Do You Need?
Every request runs through Model AA4/8, the standard form for attribution, data changes, and duplicate corrections, available on the Agenzia delle Entrate’s mini-guide page.
- A valid identification document. A passport is the safest bet; a national ID card works for EU citizens. Bring a visa or permesso di soggiorno if your case is tied to residency.
- The completed AA4/8 form, signed and matched to the documents you’re presenting.
- A signed delegation letter if someone else is filing on your behalf, plus photocopies of both the applicant’s and the representative’s ID.
- Attestations from a diplomatic mission, when a consulate is involved in verifying identity remotely.
Minors need a parent or guardian’s signature on the AA4/8 alongside their own ID documents. Unaccompanied minors and applicants in irregular immigration situations should expect additional scrutiny and, in some cases, a request for supplementary proof of identity from the office handling the file.
Pro Tip: Photocopy every document twice before your appointment. Offices routinely keep one copy, and having a spare saves you a second trip if anything gets misplaced in processing.
Can You Apply for a Codice Fiscale From Abroad?
Yes, but the consular route is narrower than it looks online. Consulates can only submit requests for applicants who reside in their specific district, and even then only for defined case types they publish themselves. If your case doesn’t fit, delegation is the more reliable path.
To delegate:
- Sign the AA4/8 form and a formal delegation letter naming your representative in Italy.
- Send scanned copies of your ID, the signed AA4/8, and the delegation letter to your representative.
- Your representative presents the originals or notarized copies at an Agenzia delle Entrate office and files on your behalf.
- Confirm completion by asking your representative for the issued code, then verify it independently with the Agency.
Consular processing can add weeks depending on the mission’s workload, and some cases still require a final step to be completed inside Italy. Budget for delays, especially if your representative needs to coordinate around office appointment availability.
Provisional Code vs. Permanent Codice Fiscale: What’s the Difference?
A numeric provisional code, issued through SUI or Questura during permit processing, lets you access certain immediate services, like initial health system registration in specific cases. It’s a placeholder, not a full identifier.
The permanent alphanumeric codice fiscale, issued by the Agenzia delle Entrate, is what you actually need for banking, property purchases, and notarized acts. The numeric code typically converts once your residence permit is issued and the Agency’s database is updated through its link with the Ministry of Interior.
- Numeric provisional: works for limited administrative steps during permit processing.
- Alphanumeric permanent: required for contracts, deeds, and most financial transactions.
- Conversion trigger: issuance of your residence permit, which syncs to the Agency’s records.
By the Numbers: Applicants going through SUI or Questura commonly receive their numeric provisional code at the same time their permit application is lodged, according to the Agenzia delle Entrate, with conversion to the permanent code following once the permit itself is finalized.
If your provisional code never converts automatically, that’s your cue to visit an Agenzia delle Entrate office directly and request the definitive version.
Why You Shouldn’t Trust Online Codice Fiscale Calculators
Third-party calculators can replicate the algorithm that generates the code’s string of letters and numbers, but they’re not issued by the Agenzia delle Entrate and carry no legal standing. Banks, notaries, and public offices only recognize codes that come through official attribution.
Using a calculator-generated code instead of a verified one can quietly stall an entire transaction. Bank onboarding gets rejected. Notarized deeds get postponed. Tax filings bounce back for correction. None of this becomes obvious until you’re already mid-process and someone flags the mismatch.
Pro Tip: Before signing anything involving your codice fiscale, especially a preliminary property contract, ask your notary or the Agenzia delle Entrate to confirm the code is officially on record. It takes minutes and prevents weeks of rework.
- Request verification directly at an Agenzia delle Entrate office, or by written correspondence for straightforward cases.
- Never rely on a calculator output for banking, notarization, or property transactions.
- Treat verification as a mandatory step, not an optional formality, before any legal act.
Why Buyers Need the Codice Fiscale Before Closing on a Property
Banks require a codice fiscale to open a non-resident account, and notaries won’t finalize a deed without one attached to your file. It’s paired with proof of funds, identification, and any preliminary purchase agreement you sign along the way.
Practitioners generally advise securing the code as early as possible in a purchase timeline, since banks and notaries both depend on it to move a transaction forward. If your residency status is also changing during the purchase, check how that ties into visa and residency requirements before you assume the codice fiscale alone covers everything.
- Build in a buffer of several weeks if you’re delegating the request from abroad.
- Pair your codice fiscale application with proof-of-funds documentation early, since notaries often ask for both together.
- Confirm with your bank which version of the code, provisional or permanent, they’ll actually accept before you rely on it.
Fixing Duplicate Codes and Common Application Errors
Omocodia happens when two people share identical anagraphic data (same name, birth date, and birthplace pattern), which the algorithm resolves by generating overlapping codes. It’s more common than most applicants expect, particularly with common surnames.
- If your office flags a duplicate, you’ll typically receive a provisional numeric code first while the Agency’s records are cross checked.
- Visit an Agenzia delle Entrate office in person with your ID to request the unique definitive code. Bring any documentation the office previously issued you.
- Corrections for data errors (misspelled names, wrong birthdates) follow the same AA4/8 process, and offices generally resolve straightforward cases within a routine office visit.
- If an office requests additional proof beyond standard ID, that’s usually a sign to bring in a local representative or legal advisor familiar with the specific case type.
Building the Codice Fiscale Into Your Property Purchase Timeline
For international buyers, the sequence matters as much as the paperwork. Get the codice fiscale first, then open a non-resident bank account, then arrange financing, then instruct your notary. Skipping ahead almost always creates a bottleneck downstream.

Clients should have their passport, proof of funds, and delegation paperwork ready before initiating the request, especially when buying remotely. Delegating to a trusted local representative early keeps the transaction on schedule rather than waiting on a personal trip to Italy that may not fit your timeline.
The Real Cost of Getting the Codice Fiscale Wrong
The biggest delays I’ve seen traced back to property deals almost never come from the codice fiscale process itself. They come from buyers assuming a calculator-generated code, or an outdated provisional number, would be good enough at the notary’s desk. One remote buyer’s closing slipped by nearly a month after a bank rejected an unverified code mid-transaction, forcing a scramble to get the proper document reissued.
The fix is boring but effective: request or verify your code through official channels the moment you start seriously considering a purchase, not once you’re staring at a closing date.
— MG
How Living Italy Handles the Codice Fiscale Process for You
If you’d rather not chase appointments, delegation letters, and consular eligibility rules yourself, advisory firms can assist with the process. They do not issue the codice fiscale—that is the Agenzia delle Entrate’s role. Such firms manage the surrounding tasks: preparing your document checklist, coordinating a delegated request when you can’t travel, and liaising directly with notaries and banks so the code lands in your file before it becomes a bottleneck.

This matters most for remote buyers and investors who need certainty on timing, not just a completed form. The codice fiscale request should be sequenced alongside bank account setup, financing, and notary scheduling to avoid stalling your closing date. If you’re planning a purchase and want the administrative side handled properly from the start, see how Living Italy structures a property purchase and get a clear picture of what your specific timeline requires.
Official Resources for Codice Fiscale Applications
Start with the Agenzia delle Entrate’s English-language guide for foreign citizens and the mini-guide with the AA4/8 form. For document notarization needs during delegation, this guide to notarizing documents for overseas use covers apostille requirements clearly.
FAQ
How Can Foreigners Get a Codice Fiscale in Italy?
Apply at any Agenzia delle Entrate office, delegate a representative in Italy, or go through SUI or Questura if you’re mid-way through an immigration procedure; consulates can help only in limited district-based cases.
How Is the Codice Fiscale Structured for Foreign Nationals?
It’s an alphanumeric code encoding your name, birth date, gender, and birthplace, generated by the same algorithm for citizens and foreign nationals alike, though only the Agenzia delle Entrate’s issued version carries legal standing.
Where Can I Find or Verify My Codice Fiscale as a Foreigner?
Check your residence permit or Agenzia delle Entrate documentation if you have one, or request verification directly from the Agency; never rely on a third-party calculator for official use.
How Do I Get the Numeric Provisional Codice Fiscale?
It’s typically issued automatically through SUI or Questura when you submit a residence permit application, converting to the permanent alphanumeric code once your permit is finalized.
Does Living Italy Issue the Codice Fiscale for Clients?
No. Only the Agenzia delle Entrate issues it, but Living Italy manages document prep, delegation, and coordination with notaries and banks so the process doesn’t delay a property purchase.
Recommended
- Italy’s Second Home Taxes: What International Buyers Pay
- Property Taxes in Italy
- 60–80% LTV: Secure a Mortgage for Foreign Buyers in Italy Faster
- Italy Buyer Agent for Foreigners Explained
The information provided here is general in nature and does not replace professional assistance. Reading this content does not create a professional-client relationship.