The exemption for reinvestment in the habitual home requires something more than selling a property and buying another. Both homes must meet the foreseen tax conditions and the transaction must be carried out within the established period.
The Tax Agency explains that the gain may be exempt when the amount obtained is reinvested in another habitual home. If the reinvestment is partial, the exemption also applies proportionally.
The tax return must correctly reflect the sale and, where applicable, the intention to reinvest. A formal error may have correction pathways, but it does not replace proof of the transaction.
What period is there to reinvest
The general period is two years, counted date to date, and may include acquisitions made before or after the sale.
For example, someone who sells their habitual home on November 14, 2026 must check that the acquisition used for the exemption falls within the applicable time window. It is not enough to count two income tax periods: the calculation is not carried out simply by tax years.
The Tax Agency considers specific rules for installment transactions and other cases. That is why the date of payment, the acquisition, and the characteristics of the transaction must be reviewed together.
What happens if less money is reinvested
Reinvesting part does not necessarily eliminate all tax benefit. The portion of gain exempt is calculated proportionally to the amount that meets the conditions.
If financing was used to buy the sold home, the Tax Agency states that, for these purposes, the total amount obtained is calculated by subtracting from the transfer value the principal of the loan pending amortization.
The acquisition of the new home may also be financed. The AEAT accepts that its acquisition value be taken into account in the terms provided, without requiring that everything proceed physically from the same money received from the sale.
Forgetting the intention to reinvest does not always close the door
When the reinvestment is going to take place after the year of the sale, the intention to carry it out under the conditions and regulatory time limits must be stated.
However, the Tax Agency includes a criterion that distinguishes between a tax option and the exercise of a right. In the cases to which it applies, the exemption may be requested later through the rectification of the tax return initially filed.
This prevents asserting that any omission automatically causes the definitive loss of the exemption. It also prevents maintaining the opposite: not all cases can be corrected without checking dates, requirements, and the applicable regime.
Correcting the return does not extend the reinvestment period
The correction of a self-assessment and the carrying out of the investment are different matters. A way to remedy the return does not grant two new years to buy another home.
The statute of limitations period and the corresponding rectification procedure for the tax year must also be reviewed. The tax regulations and criteria allow correcting certain errors, but not making an operation exempt when it does not meet the material conditions.
What documentation must be kept
The purchase and sale deeds, the associated expenses, the outstanding balance of the mortgage, and the supporting documents for the acquisition make it possible to reconstruct the amounts and the dates.
The main residence must also be evidenced when necessary. Not every second residence or property intended for rental satisfies that requirement merely because it is sold to finance another home.
The AEAT sets specific conditions regarding actual residence and occupation periods. Before correcting the income, it is necessary to review together the original return and the documents for the two homes.