Reinvestment exemption for primary residence may be applied even if the new home is mortgage-financed
Managing the capital gains derived from the sale of a primary residence is a critical aspect of the income tax return. One of the most frequent doubts among taxpayers is whether the obligation to reinvest the amount obtained from the sale is affected if the new acquisition requires external financing or a mortgage.
What the DGT has ruled
The Dirección General de Tributos (DGT) has clarified that, to qualify for the exemption provided for in Article 38 of the Personal Income Tax Law (Ley del IRPF), the reinvested amount must include the price and the acquisition costs of the new home. The criterion establishes that it is not mandatory to use exclusively the money obtained from the sale of the previous home.
The administration bases this position on the fungible nature of money. This means that the taxpayer can use their own funds, money from the sale, or external financing to complete the payment for the new home. The legal requirement focuses on the total amount invested in the new property within a two-year period (before or after the transfer), regardless of the source of the funds.
What this means for you
If you are an individual selling your primary residence and planning to buy another, this ruling grants you financial flexibility. You are not obliged to allocate the entire proceeds of the sale to the new purchase to apply the exemption. You can use part of the money from the sale for other purposes and complement the acquisition of the new home through a mortgage loan.
It is important to keep the following in mind:
- If the reinvestment is not total, the exemption will be applied proportionally to the amount actually invested.
- The period for making the investment is two years, counted backwards or forwards from the date of the transfer.
- The calculation must include both the purchase price and the acquisition costs.
What should be done
In an operation of this type, it is necessary to rigorously track the deadlines and the amounts allocated to the new acquisition. Since the exemption can be partial if the entire gain is not reinvested, every expense must be correctly documented to avoid errors in the IRPF settlement. It is recommended to assess each particular situation to ensure that compliance with the requirements of current regulations is exact.
Frequently asked questions
- Must I obligatorily use the money from the sale for the new house?
- No, money is fungible and can be combined with external financing or personal savings.
- What happens if I do not reinvest all the money obtained?
- Only the proportional part of the gain corresponding to the amount actually invested will be excluded from the taxable base.