Buying property in Italy: why you need a codice fiscale
You cannot buy a property in Italy without an Italian codice fiscale — even if you live abroad and never plan to move. The code is recorded in the purchase offer, the preliminary contract and the notarial deed, and the notary cannot complete the sale without it. This guide explains where in the purchase process the code is needed, how non-residents obtain one (including through a delegate in Italy), and the mistakes to avoid. It is general information, not legal advice.
CodiceChiaro editorial team · Published 23 October 2026 · Last updated 23 October 2026
Written and checked by our editorial team against the official sources listed at the bottom of this page.
Why do property buyers need a codice fiscale?
Italian notarial deeds identify the parties by their codice fiscale: the notary (notaio) records the buyer's and seller's codes in the deed, and the sale is registered against those identifiers with the land and tax registries. Without a code, the notary cannot draw up the final deed, and the preliminary checks connected to the sale — cadastral and mortgage searches on the property — are also run against identified parties. The requirement applies to everyone, Italian or foreign, resident or not: it is about identifying the parties to a registered act, not about where you live.
You will keep using the same code after the purchase: utility contracts for the property (electricity, gas, water), the local property-tax position, and any future sale or inheritance all reference it. One code, assigned once, serves for all of it — which is why it pays to get it right at the start.
How do non-residents get a codice fiscale?
At an Italian consulate
If you are abroad, apply at the Italian consulate for your place of residence with form AA4/8 and your passport. The consulate forwards the request to the Agenzia delle Entrate. Processing times vary by consulate, so start well before the date set for the preliminary contract — the code is needed from that step, not only at the final deed.
Through a delegate in Italy
You can also authorise someone in Italy — often the estate agent, the notary's office or a professional helping with the purchase — to file the AA4/8 for you, with a signed delegation and a copy of your identity document. Our Italian guide on the delega explains exactly how the delegation section of the form works; whoever assists you with the purchase will know the routine, because foreign buyers use it constantly.
In person, if you are in Italy
If you are already in Italy — for viewings, for example — any Agenzia delle Entrate office can assign the code at the counter, on the spot, with the same form and your passport. The assignment is free in every channel.
At which step of the purchase is the code needed?
- Purchase offer (proposta d'acquisto): the buyer's code is stated in the offer that the seller accepts.
- Preliminary contract (compromesso): the code identifies the parties in the registered preliminary agreement.
- Final deed (rogito): the notary records the code in the notarial deed and the sale is registered against it.
- After completion: utilities, property taxes and future acts keep referencing the same code.
Practical consequence: the code must exist before the compromesso, not at the last minute before the rogito. If you are buying from abroad, put the codice fiscale application at the top of the checklist, in parallel with the property search — it costs nothing and removes a classic source of delay.
Calculated or assigned: which code goes in the deed?
Only the assigned one. An online calculator derives the code your details should generate, and in the great majority of cases it matches. But where two people share near-identical details (homocody), the Agenzia assigns a varied code — and the deed, the registries and every later act must carry the official version. Use the calculator to know what to expect; use the certificate of attribution (certificato di attribuzione) for everything that gets signed or registered. If the code on your documents does not match the certificate, tell the notary before signing, not after.
A necessary note: this is information, not legal advice
Buying property involves taxes, possible restrictions and registry rules that depend on the property, your nationality and your situation — this guide covers only the codice fiscale, in general terms. For the purchase itself, work with a notary (in Italy the notaio is a public official who acts for both parties) and, where your situation is not straightforward, an independent legal or tax adviser. Nothing on this page replaces their advice on your specific transaction.
Frequently asked questions
Can a foreigner buy property in Italy without a codice fiscale?
No. The buyer's codice fiscale is recorded in the purchase offer, the preliminary contract and the notarial deed; without one, the notary cannot complete the sale. Non-residents are fully entitled to be assigned a code for this purpose.
How can I get a codice fiscale if I don't live in Italy?
Three routes: at the Italian consulate in your country of residence, in person at an Agenzia delle Entrate office if you are in Italy, or through a delegate in Italy (for example the professional assisting with your purchase) filing form AA4/8 with your signed delegation. All routes are free.
Can someone in Italy apply on my behalf?
Yes. The AA4/8 form has a delegation section: you sign it, attach a copy of your identity document, and your delegate files the request in Italy. Estate agents and notaries' offices do this routinely for foreign buyers.
How long does it take to get the code for a purchase?
In person at a tax office, it is issued on the spot. Through a consulate or a delegate, allow from a few days to a few weeks depending on the office. Apply before the preliminary contract (compromesso), which already requires the code.
Does having a codice fiscale make me tax resident in Italy?
No. The codice fiscale is an identification number; it does not by itself make anyone an Italian tax resident. Tax residence depends on separate criteria (registration, domicile, physical presence). If you are unsure about your position, ask a tax professional — and do not let anyone sell you the code as a 'residency document'.
Useful tools
- Codice fiscale calculator (English) — Preview the code generated by your details before the official assignment arrives.
- Codice fiscale checker — Formally validate the code on your certificate of attribution before signing.
- Codice fiscale decoder — Decode a codice fiscale into the birth data it contains.
Note: this guide is for information only. The legally valid codice fiscale is issued exclusively by the Agenzia delle Entrate; for your specific case, the competent office's instructions prevail.
Official sources
Related guides
- Codice fiscale for foreigners: how to get your Italian tax code — How foreign citizens get an Italian codice fiscale: who needs it, documents, the AA4/8 form, applying at a tax office or consulate, timelines and costs.
- Comprare casa: quando serve il codice fiscale? — Chi compra casa in Italia deve avere un codice fiscale, anche se risiede all'estero: dove serve nella compravendita e come ottenerlo per il rogito.
- Delega per il codice fiscale: come far presentare la pratica a un'altra persona — Non puoi andare all'Agenzia di persona? Con la delega nel modello AA4/8 un'altra persona può presentare la richiesta e ritirare la certificazione.
CodiceChiaro — CodiceChiaro editorial team