Codice Fiscale: What It Is and How to Get One in Italy 

You cannot complete a property purchase, accept an inheritance or register utilities in Italy without a codice fiscale. For many foreign buyers and heirs, the requirement surfaces late, often when the notary mentions it days before the deed is due to be signed. By then, an avoidable mistake can delay a completion date or complicate a registration.

This guide explains what the Italian tax code is, who needs one, how to obtain it from abroad and what can go wrong. It is written primarily for non-resident buyers and investors, and for heirs of Italian property. Those planning a longer-term move will find the same principles apply, although residency raises further questions of its own.

What Is a Codice Fiscale?

A codice fiscale is a 16-character alphanumeric code, issued by the Agenzia delle Entrate, that identifies you for tax and administrative purposes in Italy.

It is often translated as “Italian tax code”, but that undersells it. The code links you to every deed, tax filing and registry entry in the country. Notaries, banks, the land registry and utility providers all rely on it to confirm who you are.

Once issued, the code stays with you for life, save in exceptional cases such as the correction of the personal data from which it was generated (for example this may occur in case of divorce). You do not need a new one for each transaction, which is why obtaining it correctly the first time matters.

How the code is built (and why errors matter)

The code is generated from your personal data: surname, first name, date of birth, sex and place of birth. Letters and numbers derived from these details are combined with a final control character.If you were born outside Italy, the place-of-birth element is a code beginning with “Z” that identifies your country of birth.

This means any discrepancy in your data feeds directly into the code. A spelling variation, a transliterated name or a different order of forenames can produce a code that does not match your passport. Italian public registers are unforgiving of such mismatches.

The preventative approach is simple. Check that every detail matches your passport exactly before the application is submitted, not after the deed has been drafted.

Why online “codice fiscale calculators” are not valid

Many websites offer free calculators that produce a code from your personal details. These tools can be useful for understanding how the code is structured. They are not a legal substitute for the real thing.

Only the code issued by the Agenzia delle Entrate is valid. A calculated code may be wrong, or it may differ from the one registered in your name. Using it in a deed or tax filing can lead to rejected registrations and costly corrections.

If a document asks for your codice fiscale, use the code on your official certificate and nothing else.

Who Needs a Codice Fiscale in Italy?

Anyone who buys, inherits, rents out or pays tax on property in Italy, or who opens an Italian bank account, needs a codice fiscale.

The requirement is not limited to residents. A non-resident with no intention of living in Italy still needs a code for any property, banking or tax event. The main situations are:

  • Buyers: holiday-home purchasers and investors acquiring Italian real estate.
  • Heirs and legatees: anyone receiving assets from an Italian estate.
  • Investors and landlords: those receiving rental income or dealing with Italian tax authorities.
  • Tenants: a lease cannot be registered with the Agenzia delle Entrate without the tenant’s codice fiscale.
  • Residents and future residents: anyone registering a residence, employment or elective residence in Italy.

Do I need a codice fiscale to buy a house in Italy?

Yes. A buyer cannot sign the notarial deed without one.

The notary must record the codice fiscale of every party in the deed of sale. The code is also needed to register the deed, pay registration and other transfer taxes, and set up utilities for the property. Without it, the transaction simply cannot proceed.

Do I need a codice fiscale to inherit property in Italy?

Yes. Each heir needs a personal code, and the deceased’s code is required as well.

The declaration of succession (dichiarazione di successione) is filed with the Agenzia delle Entrate within 12 months of the date of death and identifies the deceased and every heir by their codice fiscale. The same codes are then used for the voltura catastale, the update of the land registry that transfers ownership into the heirs’ names. When the declaration is filed online, the voltura is normally requested in the same filing (except in areas that use the tavolare land-book system).

Heirs living abroad often discover this requirement only after the estate has opened. Obtaining the code early avoids delays in a process that already carries statutory deadlines. Our guide to Italian estate administration, probate and inheritance assets explains the wider procedure.

Do spouses and co-buyers each need their own?

Yes. Every named party to a deed needs an individual code.

Co-ownership, whether between spouses, partners, relatives or business associates, requires a codice fiscale for each person who will appear on the title. A joint application is not possible. If one co-buyer’s code is missing on the day of the deed, the whole signing may have to be postponed.

How Do I Get a Codice Fiscale?

There are three routes: in person in Italy, through an Italian consulate abroad, or through a lawyer acting under a power of attorney.

The right choice depends on where you are, how much time you have and how much risk you are prepared to carry. The table below summarises the differences.

In Italy (Agenzia delle Entrate)Italian consulate abroadLawyer with power of attorney
Who appliesYou, in personYou, at or through the consulateYour lawyer, on your behalf
Travel to ItalyRequiredNot requiredNot required
Typical speedOften same dayLonger; varies by consulatePrompt once the power of attorney is in place
Main riskTravel and office availabilitydirectlyMust be resident in that consulate’s district; processing times vary Choosing the right representative
Best forBuyers already visiting ItalyThose with time before a deadlineFixed completion dates and remote clients

Applying in Italy at the Agenzia delle Entrate

The most direct route is to attend a local office of the Agenzia delle Entrate with a completed form AA4/8 and a valid identity document. The form must state why the code is needed (for example, a property purchase).  For non-EU citizens, this is normally a passport. EU citizens may use a passport or national identity card.

Offices often issue the code on the same day, together with a certificate of attribution. Appointment rules and local practice vary, so check the current requirements with the relevant office beforehand.

This route suits buyers who are already in Italy for viewings or negotiations. It is less convenient if you would otherwise have to travel solely for this purpose.

Applying from abroad through an Italian consulate

Italian consulates can attribute a codice fiscale to  foreign nationals resident in their consular district. You complete the form, provide a copy of your passport and submit it to the consulate, which registers the code through the Agenzia delle Entrate’s system and issues the certificate of attribution.

The practical caveats are timing and consistency. Processing times differ significantly between consulates, and some require an appointment or direct non-resident foreign nationals to appoint a representative in Italy instead. Because policies change, confirm the current position with your local consulate before relying on this route.

If your completion date is fixed, a consulate application leaves limited room for correction if something goes wrong.

Applying through a lawyer with a power of attorney

A lawyer can obtain the code for you without your travelling to Italy. You grant a power of attorney (procura) authorising the lawyer to submit the application, and the lawyer handles the paperwork and the follow-up with the authorities. Our article on applying a power of attorney (procura) in Italian practice explains how this instrument works.

This route is also a preventative measure. A lawyer can verify that your data matches your passport, confirm that the code is correct before it is used in a deed and coordinate directly with the notary. That removes the most common causes of last-minute delay.

The choice of representative deserves care. A power of attorney gives someone legal authority to act in your name, so it should be granted only to a professional whose interests are aligned with yours.

If you are buying or inheriting from abroad and would like the code handled before it becomes urgent, book a free consultation with De Tullio Law Firm and we will advise on the most suitable route.

Can I Get a Codice Fiscale If I Don’t Live in Italy?

Yes. Residence in Italy is not a condition for obtaining a codice fiscale.

The system is designed for non-residents who have dealings with Italy, from property purchases to inheritances. The practical question is not whether you can obtain the code, but how to do so accurately and on time.

Applying without guidance carries three recurring risks:

  • Incorrect data: transliterated or inconsistent names create a code that does not match your passport and may need to be corrected later.
  • Delays before a signing date: an application started late can hold up a deed that has already been scheduled with the notary and the seller.
  • Using the estate agent as your representative: agents are often willing to help, but they usually have a commercial interest in the sale closing. That is a conflict of interest, and it is not an arrangement we recommend.

Independent legal advice at the outset avoids all three.

How Long Does It Take, and Does It Cost Anything?

The code itself is free. Timing depends on the route you choose.

The Agenzia delle Entrate does not charge for issuing a codice fiscale. In person, the code is often issued on the same day. Through a consulate, it takes longer, and the timescale depends on the individual consulate and its workload. Through a lawyer with a power of attorney, the time needed is mainly that required to prepare and sign the power of attorney itself.

Professional or notarial fees may apply if you use a representative, but the code carries no fee in its own right. The more significant cost is the cost of delay. A postponed deed can put a deposit, a negotiated price or a financing arrangement at risk.

Apply at the start of the purchase or the opening of the estate, not the week before the signing. Timescales and procedures change, so confirm them at the time of application.

Does Having a Codice Fiscale Make Me a Tax Resident in Italy?

No. A codice fiscale does not, on its own, make you an Italian tax resident or create a tax liability.

This is a common concern, and it is understandable. The code is an identifier. It tells the authorities who you are; it does not determine what you owe.

Tax consequences arise from other factors: where you are resident under Italian law, the income you receive and the property you own. Since 1 January 2024 (Legislative Decree 209/2023), an individual is an Italian tax resident if, for most of the tax year (183 days, or 184 in a leap year, counting part-days), he or she has a residence or domicile in Italy – domicile now meaning the place where personal and family relationships are mainly centred – or is simply physically present in Italy. Registration in the civil registry (anagrafe) now creates only a presumption of residence, which can be rebutted. Owning a holiday home, for instance, may bring local property taxes (IMU) without changing your residency status, provided you do not spend most of the year in Italy. 

Before buying, inheriting or moving, take tax advice that reflects your own circumstances. Our overview of inheritance law and taxes sets out how inheritance-related taxation works in practice.

What Happens If My Codice Fiscale Is Wrong, Lost or Duplicated?

Errors, losses and duplicates can all be corrected through the Agenzia delle Entrate, but doing so takes time that a fixed deed date may not allow.

Three situations arise most often:

  • Incorrect personal data: if a name, date or place of birth was recorded wrongly, the code may be based on faulty information. The Agenzia delle Entrate can correct the record on presentation of supporting documents.
  • Lost certificate: you can request a duplicate certificate of attribution from the Agenzia delle Entrate. The code itself does not change.
  • Duplicated codes (omocodia): in rare cases, two people generate the same code. The authorities resolve this by replacing certain digits with letters, so your official code may differ from the one you would calculate yourself.

The impact can be significant. A deed, registration or tax filing that carries the wrong code may be rejected or later challenged, and corrections after the event are slower and more expensive than checking beforehand. This is the clearest illustration of preventative law in this area: verifying the code against your passport before signing costs very little.

Do Companies, Trusts and Non-Individuals Need a Codice Fiscale?

Yes. Companies and other entities need their own tax code to hold property or deal with the Italian authorities.

Investors sometimes buy through a company or another entity. In that case, the entity itself requires a codice fiscale, which is applied for using different forms from those used by individuals. The legal representative signing on its behalf will also need a personal code.

Buying through an entity raises additional checks. These include confirming the entity’s legal status, verifying the signatory’s authority, and considering the tax and succession consequences of holding Italian property in this way. The structure should be assessed before the purchase, not after it.

How Can De Tullio Law Firm Help?

A codice fiscale is a simple document, but an error in it can affect a deed, a registration or a tax filing. We help international clients avoid that risk.

Our services include:

  • obtaining the code under a power of attorney, without your travelling to Italy;
  • checking that the data in your code matches your passport and the deed;
  • coordinating with the notary so that the code is in place before the signing date; and
  • advising on the wider purchase, inheritance and tax implications.

If you are planning to buy property or are dealing with an Italian inheritance, book a free consultation with De Tullio Law Firm and we will explain the steps ahead and the most suitable way to proceed.

Get All Our FREE Guides for Foreigners Planning to Buy, Sell or Live in Italy

Our PDF guides give you all the knowledge you need to move your Italian dream forward with confidence

Never miss out on the latest news affecting foreign property buyers in Italy

Subscribe to our FREE newsletter and receive essential updates straight to your inbox

Giandomenico De Tullio, Managing Partner

Got questions about buying in Italy?

Claim your FREE no strings attached consultation and let us give you the answers you need

Scroll to Top