Last updated on 25 November 2026 · 8 min read
A non-resident who buys a home in Spain pays the same purchase taxes as a resident. A resale home pays the regional transfer tax, which is 6% in Madrid and varies from region to region. A new home bought from a developer pays 10% VAT plus stamp duty. Notary, Land Registry and adviser fees come on top, and if the seller is not resident you must withhold 3% of the price for the Tax Agency.
Key facts
- Resale home. Transfer tax (ITP) at the rate set by the region where the property is located.
- New home from a developer. VAT at 10%, plus stamp duty (AJD) at the regional rate.
- Tax base for a resale. The higher of the price and the reference value published by the Cadastre.
- Who pays. The buyer pays the transfer tax, the VAT and the stamp duty on the purchase deed.
- Non-resident seller. The buyer withholds 3% of the price and pays it to the Tax Agency with form 211.
- Residence. The rates do not depend on where the buyer lives. Some regional reliefs are reserved for a main home.
Guides often give a single percentage for everything, such as ten or twelve per cent of the price. A figure like that hides what matters, because the tax depends on three facts. These are whether the home is new or second hand, the region where it stands and the value the tax office uses. This guide takes each line of the budget in turn and shows the arithmetic for a purchase of €300,000 in Madrid.
In this guide
New or resale: which tax applies
A purchase pays VAT or transfer tax, never both. The dividing line is whether the sale is the first supply of the home by its developer (Tax Agency).
| New home bought from the developer | Resale home | |
|---|---|---|
| Main tax | VAT (IVA) at 10% | Transfer tax (ITP) at the regional rate |
| Second tax | Stamp duty (AJD) on the deed, at the regional rate | None on the purchase deed |
| Paid to | The developer, who passes the VAT to the State. The stamp duty goes to the region | The region |
| Calculated on | The price | The higher of the price and the Cadastre’s reference value |
Protected housing under the special regime and public developments pay VAT at 4% instead of 10%. In the Canary Islands, Ceuta and Melilla, VAT does not apply and local indirect taxes take its place, so the figures in this guide are for the mainland and the Balearic Islands.

Transfer tax on a resale home
Transfer tax is a state tax managed by the regions, and each region sets its own rate. If a region has not set one, the rate is 6% (Royal Legislative Decree 1/1993, article 11). Madrid applies 6% as its general rate (Madrid Legislative Decree 1/2010, article 28). Several regions charge more, and some use a scale that rises with the price, so always check the rate of the region where you are buying. To see the difference in cash, compare the same €300,000 resale in Madrid and Catalonia.
The reference value can raise the bill
The tax is not always calculated on the price you pay. Since 2022 the base is the reference value that the Cadastre assigns to each property, unless the price or the declared value is higher, in which case the higher figure is used (article 10.2). You can look up the reference value before you make an offer, and you should, because it decides the tax even when you have negotiated a lower price. If the property has no reference value, the base is the highest of the declared value, the price and the market value.
Reliefs you will probably not get
Regions offer lower rates or allowances for certain buyers. Madrid, for example, gives a 10% allowance on the tax when the property is the buyer’s main home and is worth €250,000 or less, and a 4% rate for large families. A non-resident who buys a holiday home or an investment does not meet the main home condition, so budget on the general rate. For a buyer who will live in the home, see who gets the 3.5% rate in Andalusia when two people buy together.
VAT and stamp duty on a new home
A first sale by the developer pays VAT at 10% of the price. Because the sale is subject to VAT, the deed also pays the variable stamp duty, which each region sets. Where a region has set none, the rate is 0.5% (article 31.2). Madrid applies a scale by value of the home.
| Value of the home | Stamp duty in Madrid |
|---|---|
| Up to €120,000 | 0.4% |
| More than €120,000 and up to €180,000 | 0.5% |
| More than €180,000 | 0.75% |
If you finance the purchase with a Spanish mortgage, the stamp duty on the mortgage deed is paid by the lender and not by you (article 29).
Two worked budgets for €300,000 in Madrid
1. A resale flat
The agreed price is €300,000 and the Cadastre’s reference value is €320,000. The buyer is a non-resident and the flat will be a second home, so no relief applies.
| Line | Paid to | How it is calculated | Amount |
|---|---|---|---|
| Transfer tax | Region of Madrid | 6% of €320,000, the reference value | €19,200 |
| Notary | Notary | Official tariff, by price and length of the deed | Ask for a quote |
| Land Registry | Registrar | Official tariff, by price | Ask for a quote |
| Lawyer or adviser | Your adviser | By agreement | Ask for a quote |
Had the tax been calculated on the price, it would have been €18,000. The reference value adds €1,200.
2. A new flat from a developer
The price before VAT is €300,000.
| Line | Paid to | How it is calculated | Amount |
|---|---|---|---|
| VAT | Developer | 10% of €300,000 | €30,000 |
| Stamp duty | Region of Madrid | 0.75% of €300,000 | €2,250 |
| Notary | Notary | Official tariff | Ask for a quote |
| Land Registry | Registrar | Official tariff | Ask for a quote |
| Lawyer or adviser | Your adviser | By agreement | Ask for a quote |
Taxes alone come to €32,250 on the new flat and €19,200 on the resale. The difference of €13,050 is the reason to compare a new build and a resale on their total cost and not on the asking price.
Fees that depend on a quote
- Notary and Land Registry. Both charge according to official tariffs approved by the Government, so the amount depends on the price and on the length of the deed and not on the professional you choose. Ask for an estimate before you sign.
- Lawyer. Fees are agreed freely. Ask what is included, in particular the checks on the property, the tax returns and the registration of the deed.
- Currency. If your money is in another currency, the exchange rate and the transfer fees can cost more than the notary. Compare them before you move the funds.
- Mortgage. The lender will ask for a valuation of the property.
You also need a NIE before you can sign. Our guide to getting a NIE from abroad explains the steps.
If the seller is not resident in Spain
When the seller is not tax resident in Spain, the law makes the buyer responsible for part of the seller’s tax. You must keep back 3% of the agreed price and pay it to the Tax Agency with form 211, as a payment on account of the tax the seller owes on the gain (Tax Agency). The deadline is one month from the date of the sale.
On a price of €300,000 you withhold €9,000 and pay the seller €291,000. It is not an extra cost for you, because the money comes out of the price. It is a risk if you ignore it, since the property itself answers for the unpaid amount. Ask the seller for a certificate of tax residence before you sign, and have the notary record the withholding in the deed.
Checklist before you transfer funds
After the purchase you will have yearly obligations as an owner. If you do not live in Spain, they include the non-resident income tax return. See our guide to Modelo 210.
Frequently asked questions
How much tax do you pay in Spain when buying a house?
On a resale you pay transfer tax at the regional rate, which is 6% in Madrid. On a new home you pay 10% VAT and regional stamp duty, which is 0.75% in Madrid for homes worth more than €180,000.
Do non-residents pay more tax than residents when they buy?
No. The rates are the same. What a non-resident usually cannot use are the regional reliefs for a main home.
What are the fees when buying a property in Spain?
Apart from tax, you pay the notary, the Land Registry and your lawyer. The first two follow official tariffs and the third is agreed with the professional. Ask all three for an estimate.
Can the tax office charge tax on more than I paid?
Yes. On a resale the base is the Cadastre’s reference value when it is higher than the price.
What is the 3% withholding?
When the seller is not resident in Spain, the buyer keeps 3% of the price and pays it to the Tax Agency with form 211 on the seller’s account.
What to read next
This guide explains the general rules. It is not legal advice for your situation, and each office can ask for more than the minimum. Read our disclaimer.
Written by Estela Cortés Cortillas, lawyer, Barcelona Bar (ICAB no. 47590). Last reviewed on 26 November 2026.