Spain vs Portugal: where to buy a home
Since 25/05/2026 a buyer who has never been tax resident in Portugal pays a flat 7.5% IMT there, partly refunded only if they become resident within two years or let at a moderate rent. On a €300,000 home that means €24,900 in tax, against €18,000 on a resale home in Madrid and €19,500 in the Canary Islands. Spanish prices are also rising more slowly: 12.2% in a year against 16.5% in Portugal.
Next step: All new builds in Spain: development catalogue
Spain and Portugal are often weighed up together: the same peninsula, mild winters and short flights from most of Europe. For a foreign buyer they differ most in three things: the tax you pay on the day you buy, how fast prices are moving and what the home costs you every year. Every figure on this page comes from the fact file we share with our sister site flatin.pt, so both sites quote the same numbers.
Purchase taxes on a €300,000 home
Since 25/05/2026 Portugal charges anyone who is not and never has been tax resident there a flat 7.5% IMT on the full price, with no tax-free band and no relief for young buyers. With stamp duty of 0.8%, a non-resident pays €24,900 in tax on a €300,000 home.
Spain taxes residents and non-residents alike. A resale home pays one regional transfer tax (ITP): 6% in Madrid, 6.5% in the Canary Islands, 7% in Andalusia and 7.75% in Murcia. On the same €300,000 that is €18,000 in Madrid, €19,500 in the Canaries, €21,000 in Málaga and €23,250 in Murcia. Notary and land registry at state scales add about €718.
On request, Portugal refunds the gap between the flat rate and its ordinary scale, up to €10,894.50 in this example, if the buyer becomes tax resident there within two years, or lets the home at a moderate rent starting within six months and for at least three of the next five years. A resident buying a main home in Portugal pays €12,942.04, less than in any of the seven Spanish regions in the table. So the Spanish advantage belongs to the buyer who keeps living abroad: for a resale holiday home or a future retirement home bought from your current country, Madrid, the Canaries, Andalusia and Murcia cost less in tax. The buying costs calculator gives the figure for any Spanish town and price.
Purchase taxes on the example home (€300,000)
| Spanish region | ITP, resale | Tax, resale | Tax, new build (price before VAT) |
|---|---|---|---|
| Comunidad de Madrid | 6% | €18,000 | €32,250 |
| Canarias | 6.5% | €19,500 | €24,000 |
| Andalucía | 7% | €21,000 | €33,600 |
| Región de Murcia | 7.75% | €23,250 | €34,500 |
| Illes Balears | 8% | €24,000 | €34,500 |
| Comunitat Valenciana | 9% | €27,000 | €34,200 |
| Cataluña | 10% | €30,000 | €34,500 |
| Portugal, buyer | IMT and stamp duty |
|---|---|
| Never tax resident in Portugal | €24,900 |
| Resident, second home | €14,005.50 |
| Resident, main home | €12,942.04 |
| Resident aged up to thirty-five, first main home | €0 |
Sources: flatin.pt IMT calculator API (AT tables, Ofício 40129/2026; DL 97/2026) · Autoridade Tributária e Aduaneira (Portal das Finanças) — CIMT art. 17 n.10–12 (Decreto-Lei 97/2026) · Autoridade Tributária e Aduaneira (Portal das Finanças) — Tabela Geral do Imposto do Selo, verba 1.1 · BOE — DLeg 1/2010 Comunidad de Madrid · BOE — DLeg 1/2009 Canarias (tributos cedidos) · BOE — Ley 5/2021 Tributos Cedidos Andalucía · BOE — DLeg 1/2010 Región de Murcia · flatin.es MCP purchase_costs (BOE regional texts; RD 1426/1989 & 1427/1989 aranceles incl. 21% VAT) · BOE — RD 1426/1989 (notarios) and RD 1427/1989 (registradores), computed by flatin.es · BOE — DLeg 1/2014 Illes Balears · BOE — Ley 13/1997 Comunitat Valenciana (as amended) · BOE — DLeg 1/2024 Cataluña (Codi tributari, llibre sisè)
Buying a new build
For a new home bought from the developer, Spain charges VAT of 10% plus stamp duty (AJD) instead of ITP. On the mainland a new build priced at €300,000 before VAT pays €32,250 in Madrid and €34,200 in Valencia, more than the €24,900 a non-resident pays in Portugal. The Canary Islands use their own tax, IGIC, at 7% for a second home, so the same new build pays €24,000, less than in Portugal. Portugal charges no VAT to the buyer of a home: IMT and stamp duty apply as on resale. Spanish developers usually quote prices without VAT, so check what the quote includes before you compare.
Sources: BOE — Ley 37/1992 IVA art. 91.Uno.1.7º · BOC/BOE — DLeg 1/2025 Canarias (TR IGIC y AIEM)
House prices per m² in Spain and Portugal
Spain's housing ministry (MIVAU) publishes the average appraised value; Portugal's statistics office (INE) publishes the median price of completed sales. The fair pair is appraisal against appraisal: €2,355/m² in Spain (Q2 2026) and €2,278/m² in Portugal (09/2026).
On the coast Spain often comes out cheaper. València appraises at €2,972.8/m² and Málaga at €3,320.5/m², while homes in Porto sold at a median €3,631/m² in the year to Q2 2026. Alicante appraises at €2,279.2/m² and Murcia at €1,579.6/m². In the Algarve homes sold at €3,338/m²; the Costa Blanca appraises at €2,299.39/m², the Costa del Sol at €3,536.01/m² (zone figures cover only towns with more than twenty-five thousand inhabitants). These pairs set an appraisal against a sale price, so read them as an order of magnitude and not as an exact gap. At regional level the picture turns: the Comunidad de Madrid appraises at €4,089.6/m², Greater Lisbon sells at €3,757/m².
Prices and price growth: Spain and Portugal
| What | Spain | Portugal |
|---|---|---|
| Country, price per m² | €2,355/m²appraisal, mean | €2,278/m²bank appraisal |
| Price index, year on year | 12.2%transaction index | 16.5%transaction index |
| Comunidad de Madrid / Greater Lisbon, per m² | €4,089.6/m²appraisal, mean | €3,757/m²sale price, median |
| Costa del Sol / Algarve, per m² | €3,536.01/m²appraisal, mean | €3,338/m²sale price, median |
| València / Porto, per m² | €2,972.8/m²appraisal, mean | €3,631/m²sale price, median |
| Málaga / Porto, per m² | €3,320.5/m²appraisal, mean | €3,631/m²sale price, median |
Appraisals and sale prices measure different things, so read the regional and city rows as an order of magnitude. Spain: Q2 2026; Portugal: sale prices in the year to Q2 2026, bank appraisal 09/2026.
Sources: MIVAU — VDP006 valor tasado por provincia (CC BY 4.0) · INE PT — Inquérito à Avaliação Bancária na Habitação (via RTP/idealista reporting) · MIVAU — Estadística de Valor Tasado de Vivienda, tabla municipios >25.000 hab. · INE PT — indicator 0012234 (apartments: 0012235), Metodologia 2022 · INE PT — indicator 0012234 (Total, H1) · MIVAU valor tasado, aggregate computed by flatin.es · INE ES — Índice de Precios de Vivienda (base 2025) · INE PT — Índice de Preços da Habitação (destaque 22.09.2026)
How fast prices are rising
Both statistics offices publish a house price index on the Eurostat method, and this is the cleanest comparison of all. In the year to Q2 2026 prices rose 12.2% in Spain and 16.5% in Portugal. In Spain new homes rose 7.4% and resale homes 12.9%. By region: Andalusia 11.9%, the Canary Islands 11%, Madrid 12.9%, Valencia 13%, the Balearics 13.7% and Murcia 14.4%. A market that rises more slowly gives you more time to compare, visit and negotiate.
Annual taxes: IBI in Spain, IMI in Portugal
Both countries have a municipal property tax. Spain's IBI is generally 0.4% to 1.1% of the cadastral value and each town hall sets its rate: in 2025 it was 0.428% in Madrid, 0.451% in Málaga, 0.5784% in Valencia and 0.62795% in Alicante. Portugal's IMI is 0.3% to 0.45% of the VPT, the tax value of the property. The two bases are calculated in different ways and both usually sit well below the market price, so the rates do not compare. What counts is the bill for a specific home: ask the seller for the last IBI receipt.
A non-resident owner in Spain who does not let the home also pays income tax on an imputed rent. For a home with a revised cadastral value of €100,000, the imputed income is €1,100 and the tax €209 a year for an EU resident, €264 for others. Portugal has no such tax. Our guide to non-resident owner taxes explains the return.
Wealth tax applies above €700,000 of net wealth under state rules, and it is rebated at 100% in Andalusia and 100% in Madrid; the national solidarity tax only starts above €3,000,000 of net wealth. In Portugal the AIMI surcharge applies above €600,000 of tax value per person.
Sources: BOE — TRLRHL (RDLeg 2/2004) art. 72.1 · Ministerio de Hacienda SGFAL tipos IBI, via flatin.es · Autoridade Tributária e Aduaneira (Portal das Finanças) — CIMI art. 112 · derived from TRLIRNR art. 25 / LIRPF art. 85 · BOE — Ley 19/1991 Patrimonio; Ley 38/2022 ITSGF · Autoridade Tributária e Aduaneira (Portal das Finanças) — CIMI art. 135-A to 135-F
Letting the home
In Spain rent caps on new leases apply only in areas that a region declares stressed. Valencia, Andalusia, Murcia, Madrid, the Balearics and the Canary Islands have declared none. In contracts signed under the current housing law the yearly rise is limited by the INE reference index (2.57% in 10/2026). In Portugal rents up to €2,300 a month pay 10% income tax from 01/01/2026 until 31/12/2029; other rents pay 25%.
Sources: INE ES — Índice de Referencia de Arrendamientos de Vivienda · Diário da República — DL 97/2026 (EBF art. 45-C; art. 2 n.2); CIRS art. 72
Mortgages
Interest rates are close: Spanish home mortgages averaged 3.08% (08/2026, with an average term of 26 years) and new Portuguese loans, renegotiations included, 3.06% (09/2026). One-year Euribor, the usual reference for variable loans, stood at 3.239% in 10/2026. Spain puts most mortgage costs on the bank: the lender pays the notary for the loan deed, the registration of the mortgage, the gestoría and the stamp duty on the mortgage, and you pay only the appraisal. In Portugal the borrower pays stamp duty of 0.6% on the loan and 4% on the interest.
Sources: INE ES — Estadística de Hipotecas · Banco de Portugal (BPstat) via simula.pt · Banco de España — Euribor publication 03.11.2026 · Autoridade Tributária e Aduaneira (Portal das Finanças) — Tabela Geral do Imposto do Selo, verbas 17.1.4 and 17.3.1
Residency: a home no longer brings a permit
Spain closed its golden visa on 03/04/2025, for property and for every other investment route. Portugal stopped accepting property for its investment permit (ARI) on 07/10/2023. In both countries you need another route.
Spain's non-lucrative residence asks for €2,400 a month plus €600 for each family member. Its digital nomad visa asks for €2,442 a month, less than the €3,680 of Portugal's D8. Portugal's D7 for people living on their own income asks for less than Spain: €920 a month for the first adult. If you move to Spain to work, the Beckham regime taxes Spanish-source income at 24% (47% above a ceiling) for 6 tax years and is open to employees, remote workers and entrepreneurs. Portugal's IFICI (20% for 10 years) covers only qualifying activities such as research, innovation and listed skilled jobs. Both regimes are for people who were not tax resident in the country in the previous 5 years. The visas and residency guide lists the Spanish routes.
Sources: BOE — LO 1/2025; La Moncloa press note · Diário da República — Lei 56/2023; AIMA · BOE — RD 1155/2024 art. 62.1; IPREM Ley 31/2022 DA 90ª · Consulado General de España (exteriores.gob.es), Ley 14/2013 art. 74 bis · Decreto Regulamentar 4/2022 / MNE · Diário da República — Portaria 1563/2007 × RMMG 2026 €920 · BOE — LIRPF art. 93; AEAT · Autoridade Tributária e Aduaneira (Portal das Finanças) — EBF art. 58-A; Portaria 352/2024/1 (amended 52-A/2025/1)
Winter on the Spanish coast
The January average is 13.3 °C in Málaga, 13.6 °C in Marbella and 12.1 °C in Valencia (AEMET normals). Our shared fact file has only annual averages for Portugal, so there is no matching figure to set beside these.
Sources: AEMET normals via flatin.es
Paperwork for a foreign buyer in Spain
You need an NIE, the tax number for foreigners; the fee is €9.84. If you buy a resale home from a non-resident seller, you hold back 3% of the price and pay it to the tax office on the seller's behalf. The guide to buying a home in Spain takes you through the steps from reservation to deed.
Sources: BOE — Orden PJC/617/2025 · BOE — TRLIRNR art. 25.2
Questions buyers ask
Is it cheaper to buy a home in Spain or in Portugal?
Appraisal against appraisal, Spain stands at €2,355/m² and Portugal at €2,278/m². In the coastal cities Spain often comes out lower: València appraises at €2,972.8/m² and Málaga at €3,320.5/m², while Porto sold at €3,631/m². The Spanish figures are appraisals and the Portuguese ones sale prices, so treat the city gap as approximate.
How much tax does a foreigner pay when buying in Spain and in Portugal?
On a €300,000 resale home Spain charges €18,000 in Madrid, €19,500 in the Canary Islands and €21,000 in Andalusia, the same for residents and non-residents. Portugal charges a buyer who has never been resident €24,900, with a refund of up to €10,894.50 if they become resident within two years or let at a moderate rent.
Can I get residency by buying property in Spain or Portugal?
No. Spain ended its golden visa on 03/04/2025 and Portugal stopped accepting property on 07/10/2023. In Spain the usual routes are non-lucrative residence (€2,400 a month) and the digital nomad visa (€2,442 a month).
Are house prices rising faster in Spain or in Portugal?
Faster in Portugal. The official house price indices, both on the Eurostat method, rose 16.5% in Portugal and 12.2% in Spain in the year to Q2 2026.
Does a non-resident owner pay tax every year in Spain?
Yes: IBI to the town hall and, if the home is not let, income tax on an imputed rent. For a revised cadastral value of €100,000 that tax is €209 a year for an EU resident and €264 for others.
Figures from the fact file shared by flatin.es and flatin.pt, collected on 25/11/2026 · Updated 25/11/2026