Skip to main content
Spain · guide

Selling a home in Spain as a non-resident

Which taxes and deadlines Spanish law attaches to the sale, what the buyer withholds, how the municipal plusvalía is calculated and how the Netherlands treats the sale in box 3.

By Milad Ahmadi · Last reviewed: 20 November 2026

Summary

When a Spanish home is sold by someone who does not live in Spain, three Spanish levies are involved. The gain is taxed at 19% (as of Q4 2026). The buyer withholds 3% of the purchase price and pays it over as an advance on that tax. The municipality levies plusvalía on the increase in land value, up to a statutory maximum of 30%; the maximum coefficients change on 1 December 2026. In the Netherlands the sale gain is not taxed separately under the current box 3 system.

Spanish tax on the gain

A gain on the sale of real estate in Spain is Spanish-source income (art. 13(1)(i) TRLIRNR). The gain is calculated per sale under the capital gains rules of Spanish income tax (art. 24(4) TRLIRNR). The rate is 19% (art. 25(1)(f) TRLIRNR; as of Q4 2026).

The seller declares the gain with Modelo 210, whatever the result of the return. The deadline is three months, counted from the moment one month has passed since the date of transfer (Agencia Tributaria, Modelo 210 deadlines). Which costs and adjustments count in your case when calculating the gain is a question for a Spanish tax adviser.

The 3% retention by the buyer (Modelo 211)

If someone buys a home from a seller who does not live in Spain, the buyer is obliged to withhold 3% of the agreed price and pay it over (art. 25(2) TRLIRNR; as of Q4 2026). At the notary the seller therefore receives the price minus this amount. The buyer pays the amount with Modelo 211, within one month of the date of transfer (Agencia Tributaria, Modelo 211 instructions).

The retention is an advance on the tax on the gain. If the retention is higher than the tax due, the seller can reclaim the excess with Modelo 210 (Agencia Tributaria, refund of withholdings). If the retention is not paid over, the property itself remains liable for the lower of the retention and the tax due (art. 25(2)).

Worked example: on a sale price of €300,000 the buyer withholds 3%, which is €9,000. If the gain is €60,000, the tax is 19% of that: €11,400. The seller then pays the difference with the return: €2,400.

Municipal plusvalía

The Impuesto sobre el Incremento de Valor de los Terrenos de Naturaleza Urbana, in practice called plusvalía municipal, is a municipal tax on the increase in the value of the land during the period of ownership, with a maximum of twenty years (art. 104 and 107 TRLRHL). In a sale the seller is the taxpayer. If the seller is an individual who does not live in Spain, the law names the buyer as substitute taxpayer (art. 106).

The tax base is the value of the land at the time of transfer, as set for the property tax (IBI), multiplied by a coefficient that depends on the number of years of ownership. The municipality sets the coefficients, within statutory maximums. If the real increase in value is lower than the result of that formula, the real increase is the tax base (art. 107(5)).

If there is no increase in value, the transfer is not taxed. Whoever relies on this must declare the transfer and submit the purchase and sale deeds (art. 104(5)). Each municipality sets the rate itself, up to a maximum of 30% (art. 108(1); as of Q4 2026). In a sale the return must be filed within thirty working days (art. 110(2)).

Art. 10 of Real Decreto-ley 29/2026 sets new maximum coefficients for art. 107(4) with effect from 1 December 2026. The method and the periods stay the same; only the maximums change. If a coefficient in the municipal ordinance is higher than the new statutory maximum, the statutory maximum applies directly. The table gives the maximums from 1 December 2026.

Maximum plusvalía municipal coefficients from 1 December 2026, by period of ownership
Period of ownershipMaximum coefficient
Less than 1 year0.17
1 year0.16
2 years0.16
3 years0.17
4 years0.17
5 years0.19
6 years0.21
7 years0.23
8 years0.24
9 years0.25
10 years0.22
11 years0.18
12 years0.14
13 years0.12
14 years0.11
15 years0.11
16 years0.11
17 years0.11
18 years0.13
19 years0.20
20 years or more0.30

The actual coefficients and the rate are in the tax ordinance of the municipality where the home is located.

The Netherlands: box 3

A second home outside the Netherlands belongs to the assets in box 3 in the Netherlands (Belastingdienst, second home). Under the current system the Belastingdienst works with a deemed return on the assets and debts on 1 January; what happens after that reference date does not count for the deemed return (Belastingdienst, actual return). The gain on sale is therefore not taxed as such in that calculation.

Anyone who shows that the actual return is lower than the deemed return is taxed on the actual return (rebuttal scheme, art. 5.25 Wet inkomstenbelasting 2001). The increase in value of assets counts in that actual return; the Belastingdienst mentions the amount by which a second home has become worth more.

The box 3 rules and the tax treaty with Spain are in the box 3 guide. The annual Spanish return up to the sale is in the guide non-resident tax and Modelo 210, and the taxes on purchase in buying costs in Spain.

Frequently asked questions

How much tax do I pay in Spain on the sale gain?

The rate for capital gains of non-residents is 19% (art. 25(1)(f) TRLIRNR; as of Q4 2026). The gain is calculated under the rules of Spanish income tax and declared with Modelo 210.

Why does the buyer withhold 3% of the purchase price?

The law obliges the buyer to withhold 3% of the price and pay it over if the seller does not live in Spain (art. 25(2) TRLIRNR). It is an advance on the tax on the gain. The seller can reclaim an excess with Modelo 210.

Within what period do I declare the sale?

The buyer files Modelo 211 within one month of the transfer. The seller files Modelo 210 within three months after that month has passed. This follows from the Agencia Tributaria pages.

Do I pay plusvalía if the home has fallen in value?

No. Without an increase in the value of the land the transfer is not taxed, but the transfer must still be declared with the purchase and sale deeds as evidence (art. 104(5) TRLRHL).

What changes for plusvalía on 1 December 2026?

Real Decreto-ley 29/2026 sets new maximum coefficients. For ownership of 20 years or more the maximum is 0.30; for less than a year 0.17. The maximum rate remains 30%.

Do I pay tax in the Netherlands on the sale gain?

Under the current box 3 system the Belastingdienst works with a deemed return on the value on 1 January; the sale gain is not taxed separately. A bill for a new system has not yet been adopted by the Senate.

Sources

All sources were consulted on 20 November 2026. Legal texts are the consolidated versions of that date.

Related guides

More about Spain

Last reviewed: Q4 2026. Figures, fees, taxes and program rules on this page are informational and were verified at the date above. Zaminor is a real-estate mediator (bemiddelaar), not a financial, tax or legal adviser. Verify with the relevant authority or a qualified adviser before acting.

Explore further