Skip to content
TriesteVillas

Codice fiscale from abroad: how to get one to buy in Italy

A buyer living abroad usually gets a codice fiscale through a delegate at an Agenzia delle Entrate office. Consulates take it on only in limited cases.

7 min readPublished 22 November 2026Drafted with AI

What is a codice fiscale, and when will you need it?

The codice fiscale is the Italian tax code. It has 16 characters, letters and digits, built from your surname, first name, date of birth and place of birth. The Agenzia delle Entrate, the Italian Revenue Agency, says it identifies you in dealings with the public administration. It does not expire.

For a buyer, the point is simple. The pages of several Italian consulates name buying property in Italy as one of the reasons a foreigner needs the code, and they say how those buyers should apply. That answer is the heart of this guide.

The Agency publishes no processing time for a non-resident. Ask for the code before you start viewing houses, not once an offer is on the table.

Can I just use an online codice fiscale calculator?

No. The Agency's page states that the only valid code is the one it issues, never one generated by software or by procedures it does not manage.

The temptation is understandable. The code is built from personal data, and many websites will assemble a string in a second. But a string the Agency has not assigned to you is only a string.

Which route should a buyer living abroad use?

For a foreigner who does not live in Italy and needs the code to buy a property, the consulates we read give one answer: appoint a representative, who applies at an office of the Agenzia delle Entrate in Italy on your behalf.

The consulates of Barcelona and Paris, and the embassy in Warsaw, put it almost word for word. People who need the code to buy property in Italy, or for commercial or financial activity, can delegate a representative to ask the Agency for it. Warsaw gives the notary as an example of who that representative can be. The legal basis they cite, in Recife and Edinburgh, is article 1 of the Ministerial Decree of 17 May 2001, no. 281.

The other routes, the consulate and PEC, are covered below. They exist, but for this kind of buyer they are the exception.

This guide is for buyers who are not Italian citizens. If you are an Italian citizen living abroad, read Italians abroad buying a home in Italy.

How does the delegate route work?

The request is made on form AA4/8, the Agency's application for a codice fiscale. The instructions say it can be filed at any Agenzia delle Entrate office, including through a delegate.

What the sources say about the paperwork:

  • The delegate shows their own identity document and a copy of yours. The office keeps copies of everything.
  • The form must be filled in block capitals, in every part. You sign it as the applicant; an unsigned form is void.
  • Box D (Quadro D), your foreign residence, is compulsory for anyone not living in Italy. State, region or county, town, postcode and address are written in full, without abbreviations.
  • Names are written as in your identity document, but without special characters. The instructions give the example of Müller, which is written Mueller.
  • The Barcelona consulate asks for a procura speciale, a special power of attorney, and adds that a property purchase needs a specific deed for the delegate. Paris also mentions a procura speciale. Ask your notary what form it should take, and whether it needs legalising abroad. We have not read a source on that.

When does the consulate take the application?

Rarely, for this kind of buyer.

Recife, Barcelona, Stuttgart and Miami use almost the same wording. A non-resident foreigner can apply to the consulate in the country of residence only when the code is needed for procedures to be done online, or when the person cannot appoint a delegate. Recife, Barcelona, Miami and Edinburgh add that the consulate then forwards the request to the Agency.

Paris and Edinburgh add a second limit: they deal only with people living in their own district. Paris, Edinburgh and Warsaw also list a property purchase among the cases for which they do not accept applications.

If a consulate does take your request, Barcelona's page lists a printed, signed AA4/8, a copy of an identity document, the reason for the request and a copy of the Spanish residence card. All of it goes as PDFs, one email per request. The same page gives an average handling time through the consulate of 30 days. It is an average, not a promise.

The Agency says consulate. The consulates say delegate. Who is right?

Both, in their own way.

The Agency's page on the codice fiscale says residents abroad can ask the Italian diplomatic or consular representation in their country of residence. The AA4/8 instructions say the same, or any Agency office. Neither text separates a foreign buyer from an Italian emigrant.

The consulates do separate them. Their pages draw the line for non-Italians who live abroad, and the line sends property buyers to a delegate.

So read the website of the consulate that covers your country before you plan anything. Its page is the one that decides how it will treat you. If it says nothing about foreigners, write to it before you send documents.

Can I apply by PEC instead?

The Agency's page says that a person without a codice fiscale can send the completed and signed AA4/8 by PEC to the PEC addresses of its offices.

PEC stands for posta elettronica certificata, Italy's certified email. You need access to a PEC mailbox to use this route. The sources we read do not say whether a foreign non-resident buyer can rely on it: the Agency's page does not address the point, and no consulate page we read presents PEC as a way to submit the application. Put the question to the Agency office, or to the professional who will act for you.

You attach an identity document. For EU citizens the Agency's page adds that a digitally signed form does not need it.

Does it matter whether I am an EU or a non-EU citizen?

It changes the identity document you can attach. The Agency's page lists:

Document the Agency accepts
EU citizen A valid identity document. Not needed if the form is signed digitally.
Non-EU citizen One of: a valid passport (with visa, where one is required), an identity statement with photo issued in Italy by the diplomatic or consular mission of your country, a valid residence permit, an Italian municipal identity card.

Most of the non-EU list presupposes a stay in Italy: the residence permit, the municipal card and the identity statement issued in Italy. For a buyer abroad the passport is the document that applies.

Where is the code sent, and how long does it take?

The Agency's guide says the code is sent by ordinary post. For non-residents it goes to the domicilio fiscale, the tax address, that you give when you apply.

The instructions define that address for people living abroad as the place where they earn their income or, if the income comes from several places, where the highest part is earned. Someone with no tax address indicates where they stay. Because the code travels by ordinary post, check that post reaches that address.

On timing, the Agency states no figure for non-residents, and we will not invent one. Barcelona and Paris give about 30 days for requests that go through the consulate.

What if the code I am given is not the one I expected?

The code on file at the Agency is the one that counts. Whatever you calculated yourself does not.

The Agency's FAQ explains omocodia, two people whose data produce the same code. The Agency then assigns each of them a new code, computed from the original. The FAQ also says the Ministry of the Interior can assign a provisional numeric code instead of the alphanumeric one, in exceptional cases such as a presumed omocodia, and that a foreign citizen in that position should go to an Agency office to resolve it. That is how a numeric code can turn up.

The Agency also offers an online check, "Verifica codice fiscale", that compares a code with the personal data on record. Use it before you hand the code to a notary or a bank.

What do I need to have ready?

  • A valid identity document of the kind in the table above.
  • Form AA4/8, in block capitals, signed by you, with the foreign residence section filled in.
  • A representative in Italy and the authority for them to act. Ask the notary about its form.
  • The delegate's own identity document and a copy of yours.
  • A tax address that will receive the post.
  • A PEC mailbox, only if you decide to try that route.
  • The instructions of your consulate, if you think you fall within its limited cases.

Once you have the code, keep it to hand. The Agency's own guide notes that it does not expire.

Buying in Trieste? The next step is the offer, and the sums. Read the honest numbers on purchase taxes, and browse the homes we sell.


This article is for information only and is not legal or tax advice. For your specific case, write to richieste@triestevillas.com or WhatsApp +39 331 8940822.

Looking for a home?

Homes in Trieste, Friuli-Venezia Giulia and across the border, with the real numbers on costs and taxes.

Browse the properties →

Still curious

Ask the question this page didn't answer.

Answers by Claude, TriesteVillas' AI concierge. It can be wrong — and says so. Conversations are recorded and can be reread by our team.

Keep reading

From the portfolio

The homes for sale closest to what this guide covers.