Article · updated 22 August 2026

The tax number comes first: NIE, NIF and codice fiscale

You cannot buy property in Spain, Portugal or Italy without a local tax identifier — and getting one is the slowest step most buyers never plan for.

Why this comes first

In Spain, Portugal and Italy you cannot sign a purchase deed, and mostly cannot open a bank account, without a local tax identifier. It is free or nearly free everywhere, it never expires, and applying costs you nothing but time — so get it long before you get serious about a property, because appointment queues are the one part of the process you cannot pay to accelerate.

Spain: the NIE

The Número de Identidad de Extranjero identifies any foreigner to the Spanish tax and property systems. Apply with form EX-15 at a national-police foreigners' office in Spain (appointment via the official cita previa system) or at a Spanish consulate in your home country — the consulate route is slower on paper but often faster in practice, because big-city police appointments are scarce. A lawyer with power of attorney can obtain it for you. You will need it for the deed, the bank account, the utilities and every tax filing afterwards.

Portugal: the NIF

The Número de Identificação Fiscal comes from the tax office (Finanças) and can be issued on the spot in person. Non-EU/EEA residents generally need a fiscal representative in Portugal to obtain and hold one; EU residents do not. Several online services and any Portuguese lawyer can arrange it remotely. As everywhere in this article: the NIF is a tax identity, not a residence status — holding one obliges you to nothing except being identifiable when you do transact.

Italy: the codice fiscale

Italy's tax code is issued by the Agenzia delle Entrate, free, and computable from your name and birth data — but only the officially issued one counts. Apply at any Agenzia office in Italy or through an Italian consulate. Foreign buyers usually let their notary or lawyer request it as the first step of the purchase.

France: nothing in advance

France is the exception: there is no pre-purchase tax number for foreigners. A numéro fiscal is created when you first interact with the French tax system — typically your first property-tax bill. The notary handles buyer identification for the deed itself.

While the paperwork runs

The waiting weeks are the right time to decide where you are actually buying. The quiz turns how you want to live into a weighted profile, and the map re-ranks all ~51,000 municipalities under it — climate risk, services, vitality and market, from official data rather than listing photos.

This article is general information, not legal, tax or financial advice. Rules change and vary by region — verify against the official sources linked above, and use a local professional for your own purchase. Last reviewed 22 August 2026.

More articles