Skip to content

Reinvestment exemption may apply even if the new home is financed with a loan

The application of the exemption for reinvestment in a primary residence constitutes a key mechanism to mitigate the tax burden following the sale of a home. A recent binding ruling from the Directorate General of Taxes (DGT) has clarified the limits of this benefit when the acquisition of the new home is carried out through external financing.

What the DGT has ruled

The ruling addresses the interpretation of Article 38 of the Personal Income Tax Law (LIRPF). The criteria establish that the amount considered reinvested includes both the price of the new home and the expenses inherent to the operation, such as VAT, Transfer Tax (ITP), notary and registry fees, among others. These expenses must be satisfied within the period of two years before or after the sale of the old home.

Following the doctrine of the Supreme Court, the administration confirms that the taxpayer is not obliged to use the entirety of the money obtained from the sale of the previous home. It is sufficient to allocate to the new home the amount taken as a loan for the operation.

What this means for you

This criterion has a direct impact on individuals managing their real estate assets. It means that the existence of a mortgage or loan for the new home does not prevent access to the tax benefit. However, the amount of the exemption will be conditioned by the proportion of the funds used:

  • If the total amount obtained from the sale is reinvested, the exemption will apply to the entirety of the capital gain.
  • If the amount reinvested is less than the amount obtained from the sale, the exemption will be proportional to the part of the capital that has been effectively allocated to the new residence.

What is advisable

In an operation of this type, it is fundamental to perform a precise calculation of the expenses associated with the purchase to maximize the reinvested amount. Since the exemption depends on the proportionality between what was obtained and what was reinvested, each situation requires a detailed analysis of cash flows and expense documentation. It is recommended to evaluate the chosen financing structure to optimize the tax impact of the generated capital gain.

Frequently asked questions

Which expenses are considered part of the reinvestment?
These include the price of the home and inherent expenses such as VAT, ITP, notary, and registry fees.
What happens if I only reinvest part of the money from the sale?
The exemption will not be total, but will be applied proportionally to the amount that has been reinvested.
Official binding ruling V5752-26
View full ruling →
Email
Book