Codice Fiscale for Foreign Property Buyers in Italy: How to Get Yours
Short answer: if you are a foreigner buying property in Italy, you must have a codice fiscale (Italian tax identification code) before you can sign the purchase. It is free, it does not make you tax-resident in Italy, and you can get it from abroad through an Italian consulate, in Italy at the Agenzia delle Entrate, or through a professional (lawyer or notary) acting for you. You will need it for the preliminary contract, the final deed, your Italian bank account and the utility contracts on the property. Start early: plan on having the code in hand 6–8 weeks before any fixed signing date, because a missing codice fiscale is one of the most common reasons a completion date slips.

What is a codice fiscale, in plain English?
The codice fiscale is a 16-character alphanumeric code that identifies you in every interaction with the Italian public administration and in most private legal transactions. It is calculated from your surname, first name, date of birth and place of birth. Think of it as the Italian equivalent of a tax identification number, except that it is used far more widely: healthcare, banking, contracts, utilities and, of course, buying a house. The full explanation is on our codice fiscale in English page.
Getting one does not mean you become an Italian tax resident, and it does not by itself create any tax bill. It is an identifier, not a status. If you were born outside Italy, your code contains the letter Z followed by a three-digit country code in the birthplace section.
Why a property buyer cannot skip it
- The deed cannot be registered without it. The notary (notaio) will ask for your codice fiscale before the final signing (rogito). The sale is recorded at the Agenzia delle Entrate using this code.
- The preliminary contract (compromesso) requires it too, and earlier than most buyers expect. Every buyer named in the purchase needs their own code before the compromesso, not just before the final deed.
- Your Italian bank account needs it. You will almost certainly open an Italian account to pay the deposit, the balance and the purchase taxes.
- Utilities and contracts on the property (electricity, gas, water, internet, condominium records) are issued in your name using the codice fiscale.
First, a check for non-EU buyers: reciprocity
Before the code even matters, one legal point applies to many non-EU buyers: under the Italian reciprocity rule (article 16 of the Preleggi), a foreign citizen may buy property in Italy if an Italian citizen could buy property in the buyer’s own country under equivalent conditions, or if an international treaty applies. EU/EEA and Swiss citizens are not affected, and many non-EU nationalities are covered by treaties or pass the reciprocity test easily, but the notary is required to verify it for your specific nationality. Ask your notary to confirm reciprocity for your passport at the very start, in parallel with the codice fiscale application.
How to get a codice fiscale: three routes
| Route | Where | Typical timing | Cost |
|---|---|---|---|
| 1. Italian consulate | Your country of residence | Days up to about a month; reported ranges vary by consulate | Free |
| 2. Agenzia delle Entrate | In person in Italy | Usually issued the same day, at the appointment | Free |
| 3. Delegate (lawyer / notary / professional) | Filed in Italy on your behalf | Often 1–2 working days once filed | Professional fee |
Route 1: through the Italian consulate
If you are not in Italy, your consulate can issue the codice fiscale for residents in its district. You normally complete form AA4/8, attach a copy of your passport or national ID, and prove your address. Many consulates accept applications by email or post, but procedures vary, so check your consulate’s website first. One honest warning: officially, consular issuance for foreign non-residents is aimed at cases where an Italian procedure requires the code, and some consulates will point buyers toward the delegate route instead: if yours does, that is normal, not a refusal of your purchase. This is the most common route for overseas buyers, and usually the slowest, so start before you even make an offer if you can.
Route 2: in person at the Agenzia delle Entrate
If you are already in Italy, book an appointment at any Agenzia delle Entrate office and bring the AA4/8 form and a valid passport (or, for EU citizens, a national identity card). Non-EU citizens are usually also asked for their residence permit or visa. The code is normally issued on the spot, together with a printed certificate.
Route 3: delegate someone in Italy
A lawyer, the notary handling your purchase, or another professional can apply on your behalf with the signed AA4/8, a written delegation (delega) and copies of both IDs; professionals file through the Agency’s Entratel channel. For overseas buyers this is often the fastest practical option, because your Italian professional is already preparing the purchase paperwork. Two things to confirm in advance: that the specific office accepts a delegated first application (the Agency’s current guidance for first codes for foreign citizens often includes an in-person identity check, and practice differs between offices), and whether a certified email (PEC) filing is acceptable in your case. Italian citizens can also file by PEC themselves; for foreign buyers the delegate normally handles it.
Planning rule: never sign a preliminary contract with a fixed completion date before the codice fiscale is actually in your hand. Work backwards from the signing date and start the application 6–8 weeks earlier; consulate queues are the single most common cause of slipped completions.
Documents you will need
- Valid passport (or EU identity card)
- Completed AA4/8 application form
- Proof of address in your home country (for consulate applications)
- Residence permit or visa, if you are a non-EU citizen applying in Italy
- For delegated applications: signed delegation plus copies of your ID and the delegate’s ID
Check your code before you rely on it
Names with apostrophes, multiple surnames, married names and dates written in US format (month first) are frequent sources of errors on certificates issued quickly at a counter or by post. An error here will follow you into the deed, the land registry and your bank account, and correcting it later means another appointment at the Agenzia delle Entrate.
Before you sign anything, compare the code on your certificate with the code your personal details should produce. You can work out the expected code with our free codice fiscale calculator and run a formal check with the verification tool: if the two do not match, get the certificate corrected before completion, not after.
Watch out for one specific trap: your codice fiscale is calculated from the name exactly as it appears on your passport. If the property deed uses a slightly different version of your name (a middle name added or dropped, a married surname), the codes will differ and the mismatch can block registration. Keep one spelling of your name across passport, codice fiscale application and purchase documents.
After you have the code: what happens at the purchase
- Preliminary contract (compromesso): your codice fiscale is written into the agreement and used to register it; registration tax is paid against it.
- Final deed (rogito): the notary verifies your identity and code, reads the deed, and registers the sale at the Agenzia delle Entrate and the land registry (Catasto) under your code. If you cannot travel, the deed can be signed for you by an attorney under a formal power of attorney (procura), arranged through your notary or consulate: the codice fiscale is still required in your name, in advance.
- After completion: the same code keys your property tax records (IMU and local taxes are assessed and paid against it), the utility contracts and any future sale or succession. Keep the certificate safe; if you lose it, a duplicate can be requested from the Agenzia delle Entrate and the code itself never changes.
Not resident and not enrolling in the Italian health service? Then you receive the code on a paper certificate (or green tesserino), not on a tessera sanitaria, and that is all a buyer needs. The wider picture for anyone relocating, not just buying, is in our codice fiscale for foreigners guide.
Frequently asked questions
Do I need a codice fiscale before making an offer on an Italian property?
You can view properties and even make an informal offer without one, but you cannot sign the preliminary contract or the final deed, and every co-buyer needs their own code before the preliminary contract. Because consulate applications can take weeks, apply as soon as you start searching seriously, ideally 6–8 weeks before any planned signing.
Does a codice fiscale make me tax-resident in Italy?
No. The code is only an identifier. Tax residence depends on where you actually live and your personal circumstances, not on holding a codice fiscale.
Can I get a codice fiscale if I do not live in Italy?
Yes. Non-residents routinely obtain one to buy property, open a bank account or deal with an inheritance. Apply at your Italian consulate or delegate a professional in Italy.
I am not an EU citizen. Is there anything else to check before buying?
Yes: reciprocity. Under article 16 of the Preleggi, your ability to buy depends on whether Italians can buy in your country on equivalent terms, or on an applicable treaty. Your notary must verify it for your nationality, so ask at the start, in parallel with the codice fiscale application.
How much does it cost?
The code itself is issued free of charge by the consulate and by the Agenzia delle Entrate. You only pay if you choose to use a lawyer, notary or agency to apply for you.
What if the code on my certificate is wrong?
Ask the Agenzia delle Entrate to correct it before you sign the deed. Bring your passport and explain which personal detail was recorded incorrectly. A wrong code in the deed causes problems at registration and with the land registry, so it is far easier to fix beforehand. You can spot most errors by calculating your expected code and comparing.
Do both spouses need one if we buy together?
Yes. Every person who appears on the deed as a buyer needs their own codice fiscale, including each spouse or co-owner, and they need it before the preliminary contract, not just the final deed.
Is the codice fiscale the same as the tessera sanitaria?
No. The tessera sanitaria is the health card issued to people enrolled in the Italian health system; it carries the codice fiscale printed on it, but foreign property buyers who are not residents simply receive the code on a paper certificate, which is all they need for the purchase.
Sources
Agenzia delle Entrate, tax identification number for foreign citizens and form AA4/8 (agenziaentrate.gov.it); Italian consular network, codice fiscale services (esteri.it); article 16, Disposizioni preliminari al codice civile (reciprocity).
Related: codice fiscale explained · codice fiscale for foreigners · calculator · verification tool