Skip to content

Reinvestment exemption for primary residence may apply even when using external financing for the new home

Managing the tax benefit from the reinvestment of capital gains derived from the sale of a primary residence is a key aspect for individuals seeking to optimize their Personal Income Tax (IRPF) burden. Recently, the Dirección General de Tributos (DGT) has clarified the necessary conditions to access this exemption, especially regarding the composition of the funds used for the new acquisition.

What the DGT has ruled

The tax authority's criteria establish that, for the exemption to proceed, the taxpayer must reinvest the total amount obtained from the transfer of the old home into the acquisition of a new primary residence. This process must be carried out within a two-year period, either before or after the sale.

A fundamental point of the ruling is that it is not mandatory for the funds used to be materially the same as those obtained from the sale. Consequently, the use of external financing to purchase the new home does not invalidate the right to the exemption. The amount to be reinvested is determined by the transfer value, subtracting the outstanding loan principal if the sold home was originally acquired with financing.

Furthermore, the regulations require that the new home be effectively and permanently inhabited by the taxpayer within a maximum period of twelve months.

What this means for you

If you are an individual selling your primary residence and intend to acquire another residence to establish your permanent domicile, this criterion provides you with financial flexibility. You are not obliged to use exclusively the money from the sale to cover the cost of the new property; you can supplement that capital with bank loans without losing the tax benefit.

This interpretation ensures that the objective of the rule, which is to encourage residential mobility and the reinvestment of capital in housing, is not hindered by the need to resort to credit to complete the operation.

What you should do

To ensure the application of this benefit, it is necessary to perform a precise calculation of the amount to be reinvested, taking into account the outstanding debt of the transferred home. It is essential to strictly comply with the two-year period for reinvestment and the twelve-month period for effective establishment in the new residence. It is recommended to assess each particular situation to guarantee full compliance with the requirements of the IRPF Law and its Regulations.

Frequently asked questions

Is it mandatory to use the money from the sale for the new house?
No, the use of external financing for the new home is permitted as long as the total amount obtained from the transfer is reinvested.
Within what timeframe must the purchase of the new home be made?
The reinvestment must be carried out within a period of two years, either before or after the sale of the primary residence.
Official binding ruling V5905-26
View full ruling →
Email
Book