50 % exemption when you sell a property bought in 2012 as a non-resident
Tributame teamLast reviewed:
In short
50 % of the gain is exempt when you sell an urban property bought for consideration between 12 May and 31 December 2012. It does not apply if it was bought from or sold to a spouse, a relative up to the second degree or a related entity. The exemption does not change the 3 % the buyer withholds.
In 2012, to revive the property market, a rule left half of the gain untaxed for anyone who bought a property that year. The non-resident law includes it, and it applies in the Modelo 210 for the sale of someone who lives abroad. Here is when it applies and how.

What is the 50 % exemption of 2012?
A partial exemption: 50 % of the gain on the sale pays no tax. The fourth additional provision of the non-resident law says so: gains obtained without a permanent establishment from the sale of urban properties located in Spain, acquired from the entry into force of Royal Decree-Law 18/2012 until 31 December 2012, are 50 % exempt.
Which properties fall within the dates?
Those bought between 12 May and 31 December 2012, for consideration, that is, paying for them. Royal Decree-Law 18/2012 came into force on the day it was published in the BOE, which was 12 May 2012. An inherited or gifted property was not bought for consideration. It has to be an urban property.
When does it not apply?
It does not apply if the property was bought from or sold to:
- your spouse;
- a relative, in a direct or collateral line, by blood or by marriage, up to the second degree inclusive;
- an entity with which you, or those persons, have any of the relationships of article 42 of the Commercial Code (the relationship between a company and the companies it controls).
The non-resident law refers to the personal income tax law for these exceptions, and they work both ways: if you bought the property from your brother in 2012, or you sell it to him now, the exemption is lost.
How is it applied in the calculation?
On the gain from the sale: 50 % is taken off and 19 % is applied to the rest. The abatement coefficients are not mixed with it, because they are for purchases before 1995.
With made-up data: purchase in September 2012, sale with a gain of 40,000 €. 20,000 € is exempt and 20,000 € is taxed at 19 %: 3,800 €.
The law says that, if the property was your main home and you reinvest, the reinvestment applies to what remains after the exemption. We explain it in the guide to reinvestment in a main home.
Does anything change in the buyer’s 211?
No. The buyer withholds 3 % of the price, whether there is an exemption or not, and the seller files their 210 and deducts that withholding. If the tax is less than 3 %, they recover the difference, as in the guide to recovering the 3 % withholding.
What about a property bought in 2012 and then let?
The exemption reduces the gain, but before calculating it the purchase value is reduced by the depreciation of the years let. This is explained in the guide to depreciation when selling a let home.
What is needed to apply it?
- The purchase deed, with the date and the buyer and the seller at that time.
- The sale deed, with the current buyer.
- The data to check that neither the 2012 seller nor the current buyer falls under the exceptions.
On Tributame, without the data on the relationship with the seller and the buyer, a 2012 property is neither given nor denied the exemption: the case goes to manual review. The amount for each case will come from the Modelo 210 calculator.
Sources
- Non-Resident Income Tax Law, fourth additional provision (partial exemption on capital gains from certain properties) (in Spanish)
- Personal Income Tax Law 35/2006, thirty-seventh additional provision (gains from certain properties: related parties and main home) (in Spanish)
- Royal Decree-Law 18/2012 of 11 May, second and third final provisions and entry into force (in Spanish)
- Non-Resident Taxation Manual, chapter 3: capital gains from the sale of property, updated 13/11/2026 (in Spanish)
This guide is for information only. If an owner's case is out of the ordinary, get a professional review.