When selling a property in Spain, the seller must pay tax on the capital gain from sale under Personal Income Tax (IRPF). However, there are certain exemptions that allow you to avoid or reduce this tax burden. In this week’s article, we analyse one of the most relevant exemptions: the exemption on the capital gains tax from sale of the habitual residence of individuals over 65. We will focus, in particular, on how this exemption applies when the taxpayer acquired part of the property through inheritance, divorce, or community dissolution.
What does capital gain from sale cover and how is it calculated?.
Capital gains tax from sale is calculated by the difference between the acquisition and sale value, adjusted for expenses and taxes associated with both operations. For the 2025 tax year, the applicable rate for tax residents in Spain ranges from 19% to 30%. However, the law provides for certain exemptions. Exemption for reinvestment in a main home. Exemption for the sale of a property by individuals in a situation of dependency. And the exemption for the sale of a main home by individuals over 65.
Exemption for the sale of a main home by individuals over 65.
Regulated by Article 33.4.b) of Law 35/2006 and Article 41 of Royal Decree 439/2007, to qualify for this exemption, two requirements must be met:
.- Being over 65 years old.
.-The property must have been the taxpayer’s main home for at least 3 continuous years.
What happens when the taxpayer already owned part of the property for years and has recently acquired the other part? Is it still possible to benefit from the exemption? Let’s look at a practical example. Mary and Anthony purchased a property in 2005. Since then, the property constituted their main home. Anthony passes away in 2024, and Mary inherits her husband’s half. A year later (2025), Mary, who is over 65, sells the property. Can Mary claim the exemption on the capital gain from sale even though only 1 year has passed between the inheritance and the sale?
Rulings from the Economic-Administrative Court and the General Directorate of Taxes.
According to rulings from the TEAR, TEAC, and binding consultations from the DGT, the answer is yes. The tax benefits linked to the main home are tied to the full ownership of the property, even if shared. If the taxpayer has continuously resided in the property for at least 3 years, the calculation of this period is not interrupted by the acquisition of the other part of the property. Therefore, the capital gain would be exempt.
In Mary’s case, the property will be considered her main home because she continuously lived in it from 2005 to 2025. The fact that she acquired full ownership in 2024 after her husband’s death would have no tax implications. And it would not prevent her from meeting the habitual residence requirement and claiming the exemption.
Conclusions.
At White-Baos Lawyers, we have helped countless clients buy or sell their homes in Spain. If you are considering selling your property and are concerned about the taxes you might have to pay, don’t hesitate to contact us. We will review your case and provide you with expert legal advice.
The information provided in this article does not constitute legal advice but is intended for general informational purposes only.
Carlos Baos (Lawyer)
White & Baos.
Tel: +34 966 426 185
E-mail: info@white-baos.com
White & Baos 2025 – All Rights Reserved.