Investing in property in Spain is open to anyone, whatever their nationality. What does not exist is special tax treatment for foreigners who buy a home: they pay the same taxes as everyone else and, if they do not live in Spain, some that apply only to non-residents. Here we explain, in general terms, which taxes and costs arise when you buy, own, let and sell a home in Spain, and why your tax residence changes almost everything. The exact figures depend on your circumstances and on the autonomous community (region), so the last step is always a tax adviser.
Can a foreigner invest in property in Spain?
Yes. There is no general restriction on foreigners buying a home in Spain. What you need is an NIE (Número de Identidad de Extranjero, the foreigner identification number), which the Policía Nacional assigns to foreigners with economic, professional or social interests in Spain. Without it you cannot sign at the notary or pay the purchase taxes.
An important warning: buying a home no longer entitles you to live in Spain. The residence visa for investors, the so-called golden visa, was abolished with effect from 3 April 2025 by Organic Law 1/2025 of 2 January. We explain the alternatives in our guide to property investment in Spain for foreigners.
Resident or non-resident: the difference that changes everything
For income tax, what counts is not your nationality but where you are tax resident. Under the IRPF law, you are resident in Spain, among other cases, if you spend more than 183 days here in the calendar year or if Spain is the main centre of your activities or economic interests.
- If you are resident, you pay IRPF (Impuesto sobre la Renta de las Personas Físicas, personal income tax).
- If you are non-resident, you pay IRNR (Impuesto sobre la Renta de no Residentes, non-resident income tax) on what you earn or own in Spain.
Double taxation treaties between Spain and your country can change the outcome. That is why your adviser should know both systems.
Taxes when buying a home in Spain
The tax depends on whether the home is new or resale:
- Resale home bought from a private individual: you pay Impuesto sobre Transmisiones Patrimoniales (ITP, transfer tax). It is a tax devolved to the autonomous communities, and each one sets its own rates. In Catalonia it is managed by the Agència Tributària de Catalunya.
- New-build home bought from the developer (first transfer): you pay VAT (IVA) plus Impuesto sobre Actos Jurídicos Documentados (AJD, stamp duty) on the deed.
On top of the taxes come the purchase costs: notary, Land Registry (Registro de la Propiedad) and, if you use one, the gestoría (administrative agency). If you take out a mortgage, there will also be a valuation and costs linked to the loan. Ask your adviser for a full calculation before making an offer, because these amounts are not included in the advertised price.
Taxes on owning a home
- IBI (Impuesto sobre Bienes Inmuebles, property tax): charged every year by the town council to the owner, whether or not they live in Spain.
- Residents: if the home is not your main residence and you do not let it, IRPF includes deemed income calculated on the cadastral value.
- Non-residents: the Agencia Tributaria (Spanish tax agency) explains that non-resident individuals with urban properties for their own use or left empty pay IRNR on deemed income, even if they receive nothing from them.
- Wealth tax (Impuesto sobre el Patrimonio): it can also affect non-residents for the assets they hold in Spain. It depends on the value and on the rules that apply each year.
If you let the home
Rental income is taxed in Spain, whether you are resident (IRPF) or not (IRNR). There are also two types of letting to tell apart:
- Long-term letting: governed by the Urban Leases Act (Ley de Arrendamientos Urbanos, Law 29/1994) and Law 12/2023 on the right to housing. The latter allows stressed residential market areas to be declared, where rents on new contracts are capped. In Catalonia many municipalities have been declared, and the list is reviewed.
- Holiday letting: regulated by each autonomous community and each town council, and it requires a licence or registration. In Catalonia, Decree-law 3/2023 set urgent planning measures for tourist-use homes, and Barcelona City Council has announced that it will not renew the 10,000 licences that expire in 2028. If you are interested in investing in holiday apartments, in Valencia or anywhere else, ask the town council first whether that property can have a licence. Do not take it for granted.
Taxes when selling
- Capital gain: if you sell for more than it cost you, you pay tax on the difference, under IRPF or IRNR depending on your residence.
- Withholding for non-residents: when the seller is not resident, the buyer must withhold part of the price and pay it to the tax authorities on account of the seller's tax (form 211).
- Plusvalía municipal: some town councils charge the seller a tax on the increase in value of urban land.
Are there tax incentives for foreigners investing in Spain?
Not for buying a home. You will see adverts talking about "tax advantages for foreign investors", but there is no general tax reduction for being a foreigner and buying a house.
What does exist is a special IRPF regime (article 93 of the law) for people who move to live in Spain for an employment contract, to be a company director, for an entrepreneurial activity or as highly qualified professionals for start-ups. It has strict requirements and has nothing to do with buying a property. If you think it might apply to you, check with a tax adviser.
So why does Spain attract investors? For lifestyle and use rather than tax reasons. We look at this, risks included, in why invest in property in Spain, without promises.
- Bedrooms
- 4
- Bathrooms
- 1
- Built area
- 187
- Plot area
- 9,900
Frequently asked questions
What does "finca raíz" mean in Spain?
The Spanish-language expression "finca raíz" (real estate) is not used in Spain: people say "inmuebles" or "bienes inmuebles", and the Catastro (land registry for tax purposes) classifies them as urban or rustic. If you are looking for a country house with land, Spanish listings usually call it a "finca rústica" or simply a "finca".
Do foreigners pay more tax when buying a home in Spain?
Not when buying: the purchase taxes depend on the type of home and the autonomous community, not on your nationality. The difference comes later, if you are not tax resident, with IRNR.
Do I need a tax adviser to invest in property in Spain?
It is not compulsory, but it is the most sensible thing to do. An adviser calculates all the taxes and costs in your case, checks the treaty with your country and tells you which returns you will have to file each year.
Can you buy without living in Spain?
Yes. All you need is the NIE and a means of payment. You can sign in person or through a power of attorney granted before a notary.
If you are thinking about a home in Terres de l'Ebre, see how we help buyers: viewings in your language, help with the NIE, coordination with lawyers and the notary, and no fees for the buyer on the properties we manage.
Share this article
