What it costs to buy a home in Spain (2026): taxes and fees, region by region
On top of the price, a buyer in Spain pays a purchase tax set by the region, plus notary, Land Registry and usually lawyer fees. A resale home pays transfer tax (ITP): 6% in Madrid, 7% in Andalusia, 9% in the Valencian Community and 10% to 13% in Catalonia. A new build pays 10% VAT plus AJD stamp duty instead. On a €300,000 resale second home the tax alone is €18,000 in Madrid and €30,000 in Catalonia.
Key facts
- Resale homes pay ITP; new homes from the developer pay 10% VAT plus AJD stamp duty.
- The tax is charged on the higher of the price and the Catastro's reference value.
- Each region sets its own rates: ITP is 6% in Madrid, 7% in Andalusia, 9% in Valencia and 10% to 13% in Catalonia.
- Residents and non-residents pay the same purchase taxes; a main home can pay less.
- The buyer files form 600 with the regional tax agency within 30 working days to two months of the deed.
- Notary and Land Registry fees follow official national scales; a lawyer is optional.
How much does it cost to buy a home in Spain?
It depends mostly on the region, because each region sets its own purchase tax. For a €300,000 resale home bought as a second home, ranked from cheapest to dearest:
| Rank | Place | Buyer | Taxes | Fees, typical | Total on top | Share of price |
|---|---|---|---|---|---|---|
| 1 | Spain, Madrid | Resale, second home, price €300,000 | €18,000 | €4,148.54 | €22,148.54€20,348.54 to €24,248.54 | 7.38% |
| 2 | Spain, Andalusia | Resale, second home, price €300,000 | €21,000 | €4,148.54 | €25,148.54€23,348.54 to €27,248.54 | 8.38% |
| 3 | Spain, Valencian Community | Resale, second home, price €300,000 | €27,000 | €4,148.54 | €31,148.54€29,348.54 to €33,248.54 | 10.38% |
| 4 | Spain, Catalonia | Resale, price €300,000 | €30,000 | €4,148.54 | €34,148.54€32,348.54 to €36,248.54 | 11.38% |
The share of the price is the figure to compare. A single range such as “10% to 15%” is often quoted for the whole of Spain; the table shows why one number does not fit: Madrid comes in below that range and Catalonia inside it. The costs by price guide repeats the table at five prices for every region.
The calculator covers four regions: the Comunidad de Madrid, Catalonia, the Valencian Community and Andalusia. The Basque Country and Navarre have their own tax systems, and the Canary Islands use IGIC instead of VAT; they are not covered.
Which taxes does a buyer pay?
One of two sets, depending on who sells:
| Home | Taxes | Who sets the rate |
|---|---|---|
| Resale (second-hand), from any seller | Transfer tax (ITP) | The region |
| New, first sale by the developer | VAT (IVA) at 10% plus stamp duty (AJD) on the deed | VAT: the state. AJD: the region |
The rule comes from the VAT law: the first sale of a finished home by its developer carries VAT, while second and later sales are exempt from VAT (Ley 37/1992, article 20.Uno.22), and a sale that carries VAT is outside ITP (Real Decreto Legislativo 1/1993, article 7.5).
The buyer pays ITP and AJD (articles 8 and 29). Both are charged on the higher of the price and the reference value (valor de referencia) that the Catastro publishes for each property (article 10.2). VAT is charged on the price.
The two guides on the taxes:
- ITP transfer tax by region, including which region has the lowest rate;
- stamp duty and VAT on new builds.
What are the rates in each region?
| Region | Resale ITP | New build AJD (general rate) | Guide |
|---|---|---|---|
| Madrid | 6% | 0.4% to 0.75%, banded by value | Madrid |
| Catalonia | 10% to 13%, by slice | 1.5% | Barcelona and Catalonia |
| Valencian Community | 9%, 11% above €1 million | 1.4% | Alicante, Valencia and the Costa Blanca |
| Andalusia | 7% | 1.2% | Málaga, Marbella and the Costa del Sol |
Two changes in the last two years matter for anyone comparing older figures. Catalonia moved to its rising scale on 27 June 2025, and the Valencian Community cut its rates on 1 June 2026, from 10% to 9% for ITP and from 1.5% to 1.4% for AJD.
What does a new build cost?
VAT plus AJD comes to more than ITP in every region covered. For a €300,000 new build bought as a second home:
| Place | Buyer | Taxes | Fees, typical | Total on top | Share of price |
|---|---|---|---|---|---|
| Spain, Madrid | New build, second home, price €300,000 | €32,250 | €4,148.54 | €36,398.54€34,598.54 to €38,498.54 | 12.13% |
| Spain, Catalonia | New build, price €300,000 | €34,500 | €4,148.54 | €38,648.54€36,848.54 to €40,748.54 | 12.88% |
| Spain, Valencian Community | New build, second home, price €300,000 | €34,200 | €4,148.54 | €38,348.54€36,548.54 to €40,448.54 | 12.78% |
| Spain, Andalusia | New build, second home, price €300,000 | €33,600 | €4,148.54 | €37,748.54€35,948.54 to €39,848.54 | 12.58% |
On a new build bought as the buyer’s main home, some regions charge much less AJD: the Valencian Community charges 0.1% on any main home. On an off-plan purchase, VAT is due on each stage payment as it is paid (Ley 37/1992, article 75.Dos).
Who pays less?
The reductions almost all depend on the home being the buyer’s main home, lived in within 12 months and for 3 years:
- Main homes. Madrid takes 10% off the tax on a main home up to €250,000, an effective rate of 5.4%. Andalusia charges 6% on one up to €150,000.
- Young buyers. Andalusia charges 3.5% to buyers under 35 on a main home up to €150,000. Catalonia charges 5% to buyers aged 35 or under, and Valencia 6% or 8% to buyers under 35, both with an income limit.
- Large families and disability. Each region has its own lower rates.
The reduced rates guide sets out every condition.
Do non-residents pay more?
No. Residence and nationality do not change the purchase tax in any region covered. Non-residents do face some extra steps:
- a foreigner’s identity number (NIE) before signing;
- a traceable payment, recorded in the deed;
- if the seller is also non-resident, the buyer keeps back 3% of the price and pays it to the Agencia Tributaria within one month (Real Decreto Legislativo 5/2004, article 25.2). That money comes out of the seller’s proceeds, not the buyer’s pocket.
A tax on non-EU buyers has been proposed but was not law on 2 November 2026. The non-resident buyers guide covers all of this, and the moving to Spain guide explains what changes if the buyer is about to move.
What is the buying process in Spain, step by step?
- NIE. A foreign buyer gets one first; the deed cannot be registered without the buyers’ tax numbers (Ley Hipotecaria, article 254.2).
- Deposit contract (arras). With “arras o señal”, the buyer may withdraw by losing the deposit, or the seller by returning it doubled (Código Civil, article 1454).
- Deed (escritura) at the notary. The transfer is made in a public deed (article 1280). The price is paid at signing, and the notary’s fee falls due.
- Purchase tax. The buyer files form 600 with the region’s tax agency: within 30 working days in Madrid (Real Decreto 828/1995, article 102.1), one month in Catalonia and the Valencian Community, and two months in Andalusia. On a new build, VAT has already been paid to the developer.
- Land Registry. The deed is registered once the tax is paid: “Ninguna inscripción se hará … sin que se acredite previamente el pago de los impuestos” (Ley Hipotecaria, article 254.1). The registry’s fee falls due.
What do the notary, registry and lawyer cost?
The notary and the Land Registry charge under official national scales, a sliding rate on the value with VAT added, so their fees are the same in every region. A lawyer or gestoría is optional and charges a market rate. The calculator shows each one as an estimate with a range. The fees guide sets out both scales and who pays what.
The seller, not the buyer, normally pays the municipal plusvalía tax on the land’s increase in value (Real Decreto Legislativo 2/2004, article 106). When the seller is an individual not resident in Spain, the law makes the buyer pay it in the seller’s place (article 106.2).
How do the regions compare head to head?
- Madrid vs Barcelona: Madrid’s tax is lower for almost every buyer.
- Costa Blanca vs Costa del Sol: the Costa del Sol is cheaper on resale homes, the Costa Blanca on a new-build main home.
What these guides do not cover
- Regions other than Madrid, Catalonia, the Valencian Community and Andalusia. The Balearic Islands (Mallorca), the Canary Islands and Murcia are not covered yet.
- Mortgage costs, the yearly IBI property tax and income tax on letting.
- Purchases by companies, such as a limited company (SL), commercial property and land.
Places
- Buying a home in Madrid (2026): ITP, stamp duty and fees on top of the price
A resale home in Madrid pays 6% transfer tax (ITP) on the higher of the price and the cadastral reference value. A main home worth up to €250,000 gets 10% off the tax bill, so 5.4% in effect. A new build pays 10% VAT plus AJD stamp duty of 0.4% to 0.75% depending on its value. Notary, registry and lawyer fees come on top.
- Buying a home in Barcelona and Catalonia (2026): ITP, stamp duty and fees
A resale home in Barcelona or anywhere in Catalonia pays transfer tax (ITP) by slice: 10% on the value up to €600,000, 11% up to €900,000, 12% up to €1,500,000 and 13% above. Buyers aged 35 or under, large and single-parent families and some others pay 5% on a main home if their income is low enough. A new build pays 10% VAT plus 1.5% AJD stamp duty.
- Buying a home in Alicante, Valencia and the Costa Blanca (2026): taxes and fees
A resale home in Alicante, Valencia, Castellón or anywhere on the Costa Blanca pays 9% transfer tax (ITP) for purchases from 1 June 2026, down from 10%. Above €1,000,000 the rate is 11% on the whole value. A new build pays 10% VAT plus AJD stamp duty: 0.1% if it is the buyer's main home, 1.4% otherwise.
- Buying a home in Málaga, Marbella and the Costa del Sol (2026): taxes and fees
A resale home in Málaga, Marbella or anywhere in Andalusia pays a flat 7% transfer tax (ITP) on the higher of the price and the cadastral reference value. A main home worth up to €150,000 pays 6%, or 3.5% if the buyer is under 35. A new build pays 10% VAT plus 1.2% AJD stamp duty, or 1% for a main home up to €150,000.
Taxes and fees
- Spain's transfer tax (ITP) in 2026: rates by region, who pays and when
ITP is the tax the buyer pays on a resale home in Spain. It is charged on the higher of the price and the Catastro's reference value, at a rate set by the region: 6% in Madrid, 7% in Andalusia, 9% in the Valencian Community since 1 June 2026, and 10% to 13% by slice in Catalonia.
- Stamp duty and VAT on a new build in Spain (2026): IVA and AJD by region
A new home bought from its developer pays 10% VAT (IVA) on the price and stamp duty (AJD) on the deed, instead of transfer tax. The general AJD rate is set by each region: 0.75% in Madrid above €180,000, 1.5% in Catalonia, 1.4% in the Valencian Community and 1.2% in Andalusia, with lower rates for main homes and some buyers.
Buyer situations
- Reduced transfer tax in Spain (2026): young buyers, main homes and families, by region
Every region covered here charges less transfer tax on some main homes. Madrid takes 10% off the bill on a main home up to €250,000. Andalusia charges 6% on a main home up to €150,000, and 3.5% if the buyer is under 35. Catalonia charges 5% to buyers aged 35 or under, and Valencia 6% or 8% to buyers under 35, both with an income limit.
- Buying a home in Spain as a non-resident (2026): taxes, the NIE and the 3% retention
A non-resident pays the same purchase taxes in Spain as a resident: transfer tax (ITP) on a resale home, or VAT and AJD stamp duty on a new build, at the region's rates. What differs is the paperwork: a foreigner's tax number (NIE), a traceable payment, and, if the seller is also non-resident, 3% of the price withheld for the tax agency. The proposed tax on non-EU buyers is not law.
Costs by price
- Buying costs in Spain by price (2026): what a €150,000 to €1 million home costs, region by region
On a €300,000 resale second home, the purchase tax is €18,000 in Madrid, €21,000 in Andalusia, €27,000 in the Valencian Community and €30,000 in Catalonia. Notary, registry and lawyer fees come on top. The tables below give the full cost at five prices in each region, for a second home, a main home and a new build.
Explainers
- Notary, Land Registry and lawyer fees when buying in Spain (2026)
Notary and Land Registry fees in Spain are fixed by official scales (Real Decreto 1426/1989 and Real Decreto 1427/1989): a sliding rate on the value of the home, less 5%, plus page and copy charges and VAT. A lawyer or gestoría is not compulsory and charges a market fee.
Questions people ask
How much are buying costs in Spain?
For a resale home, the transfer tax is 6% of the price in Madrid, 7% in Andalusia, 9% in the Valencian Community and 10% to 13% in Catalonia, plus notary, registry and usually lawyer fees. A new build pays 10% VAT plus stamp duty instead.
Who pays the taxes when buying a house in Spain?
The buyer pays the purchase tax (ITP, or VAT and AJD on a new build). The seller normally pays the municipal plusvalía tax and their own capital gains tax. By default the seller pays the notary for the deed and the buyer for the copies, unless the contract says otherwise.
Which region of Spain has the lowest property purchase tax?
Of the regions covered here, Madrid: 6% transfer tax on a resale home, and 5.4% for a main home up to €250,000. Catalonia is the highest at 10% to 13%.
Do foreigners pay more to buy property in Spain?
No. Purchase taxes are the same for residents and non-residents of every nationality. A foreign buyer needs a NIE, and if the seller is non-resident the buyer withholds 3% of the price for the tax agency.
When are the purchase taxes paid in Spain?
After signing the deed. The buyer files form 600 with the region's tax agency within 30 working days in Madrid, one month in Catalonia and Valencia, or two months in Andalusia. VAT on a new build is paid to the developer with each payment.
Can I buy property in Spain through a limited company (SL)?
Yes, and the purchase taxes are the same: ITP on a resale home, or VAT and AJD on a new build, paid by the buyer whoever it is. The reductions for a main home and for young buyers are tied to an individual's main home as income tax defines it, so a company does not get them. This site covers individual buyers only.
Sources
- Real Decreto Legislativo 1/1993, texto refundido del ITP y AJD (articles 7.5, 8, 10 and 29)BOE (Agencia Estatal Boletín Oficial del Estado)
Behind the figures
Every amount on this page is worked out by the engine from rule files that cite these pages.
- Agència Tributària de Catalunya: ITP ratesOfficial source