Skip to content
Back to index
V1250-26 25 May 2026 · SG de Impuestos sobre la Renta de las Personas Físicas Criterion in force
IRPF · ganancia patrimonial

Capital gain from sale of primary residence exempt if reinvested in newly built home

A taxpayer sold their primary residence and purchased land to build on, now wishing to sell the land and buy a completed home. The tax authority states that the purchase of land does not affect the exemption, provided the proceeds from the original sale are reinvested in a new primary residence within two years.

The question raised

Cuestión planteada Si la ganancia que obtuvo en 2024 quedaría exenta por reinvertir en todo caso el importe obtenido dentro del plazo de dos años.

The DGT's ruling

La ganancia patrimonial por la transmisión de la vivienda habitual estará exenta si se reinvierte el importe total obtenido en la adquisición de una nueva vivienda habitual dentro de los dos años anteriores o posteriores a la enajenación. La compra previa de un terreno no se considera importe reinvertido si finalmente no se construye la vivienda, pero su adquisición no impide aplicar la exención si se cumple el plazo de reinversión en una vivienda ya construida. La venta del terreno generará una ganancia patrimonial que deberá integrarse en la base imponible del ahorro.

Email
Contact