Skip to content

Doctrine by topic · DGT Observatory

Reinvestment: evolution of DGT doctrine

How the DGT's position on this topic has evolved, and the rulings it rests on.

← DGT Observatory

How the DGT's position has evolved

Settled doctrine High confidence 72 rulings · 2017–2026

Current position

The exemption for reinvestment requires that the transferred property be a primary residence, which includes having been a residence for at least three years or at any time during the two years prior to the transfer. The newly acquired property must also meet the primary residence requirement. The reinvestment of the amount obtained must be carried out within a period of two years, either before or after the transfer, allowing for a proportional exemption if the total amount is not reinvested.

The DGT's position remains stable regarding the temporal and habituality requirements of the property. The two-year periods for the acquisition to be either prior or subsequent to the transfer have been specified. The criterion regarding the proportionality of the exemption when the reinvestment is partial has remained constant.

Turning points

  1. V1663-21

    Clarifies that the reinvestment can be carried out within a period of two years prior to or after the transfer, due to the fungibility of the funds.

  2. V1352-24

    Specifies the concept of primary residence, allowing it to be considered as such if it was a residence on any day during the two years prior to the transfer.

Analysis based on 68 of 72 rulings with a stated position. Updated 18 September 2026.

Rulings on this topic

24
V1533-26 15 Jun 2026

Reinvestment exemption requires compulsory relocation, not voluntary choice

SG de Impuestos sobre la Renta de las Personas Físicas
exención por reinversiónvivienda habitualganancia patrimonialcambio de domicilioplazo de residencia LIRPF — Ley 35/2006 del IRPF art. 38.1RIRPF — RD 439/2007, Reglamento del IRPF art. 41
Affects CompanyExpat · Non-residentIndividual
V1185-26 20 May 2026

Reinvestment exemption possible for jointly owned property

SG de Impuestos sobre la Renta de las Personas Físicas
exención por reinversiónvivienda habitualganancia patrimonialcopropiedadtransmisión de inmueble LIRPF — Ley 35/2006 del IRPF art. 38.1RIRPF — RD 439/2007, Reglamento del IRPF art. 41
Affects CompanyExpat · Non-residentIndividual
V2315-25 27 Nov 2025

Purchase of property by inheritance does not allow reinvestment exemption

SG de Impuestos sobre la Renta de las Personas Físicas
exención por reinversiónvivienda habitualganancia patrimonialtransmisión de viviendaadquisición a título gratuito LIRPF — Ley 35/2006 del IRPF art. 38.1RIRPF — RD 439/2007, Reglamento del IRPF art. 41
Affects CompanyExpat · Non-residentIndividual
V1978-25 20 Oct 2025

Reinvestment exemption applicable only if habitual residence requirements met

SG de Impuestos sobre la Renta de las Personas Físicas
exención por reinversiónvivienda habitualganancia patrimonialtransmisión de viviendareinversión LIRPF — Ley 35/2006 del IRPF art. 38.1RIRPF — RD 439/2007, Reglamento del IRPF art. 41
Affects CompanyExpat · Non-residentIndividual
V1468-25 6 Aug 2025

Requirements for rehabilitation works to qualify for reinvestment exemption

SG de Impuestos sobre la Renta de las Personas Físicas
exención por reinversiónvivienda habitualganancia patrimonialrehabilitación de viviendareinversión LIRPF — Ley 35/2006 del IRPF art. 38.1RIRPF — RD 439/2007, Reglamento del IRPF art. 41.1
Affects CompanyExpat · Non-residentIndividual
V0686-25 15 Apr 2025

Reinvestment exemption can be applied proportionally to ownership share

SG de Impuestos sobre la Renta de las Personas Físicas
exención por reinversiónvivienda habitualganancia patrimonialtransmisión de inmueblesporcentaje de participación LIRPF — Ley 35/2006 del IRPF art. 38.1RIRPF — RD 439/2007, Reglamento del IRPF art. 41
Affects CompanyExpat · Non-residentIndividual
V0563-25 31 Mar 2025

Proportional reinvestment exemption applicable

SG de Impuestos sobre la Renta de las Personas Físicas
ganancia patrimonialvivienda habitualexención por reinversiónvalor de transmisiónvalor de adquisición LIRPF — Ley 35/2006 del IRPF art. 33.1LIRPF — Ley 35/2006 del IRPF art. 34.1.a)
Affects CompanyExpat · Non-residentIndividual
V0462-25 25 Mar 2025

Reinvestment exemption applicable if habitual residence conditions met

SG de Impuestos sobre la Renta de las Personas Físicas
exención por reinversiónvivienda habitualganancia patrimonialtransmisión de viviendareinversión LIRPF — Ley 35/2006 del IRPF art. 38.1RIRPF — RD 439/2007, Reglamento del IRPF art. 41
Affects CompanyExpat · Non-residentIndividual
V2027-24 23 Sept 2024

Taxes and costs of new home may be included as reinvested amount for exemption

SG de Impuestos sobre la Renta de las Personas Físicas
exención por reinversiónvivienda habitualganancia patrimonialvalor de adquisiciónimpuesto sobre transmisiones patrimoniales LIRPF — Ley 35/2006 del IRPF art. 33.1LIRPF — Ley 35/2006 del IRPF art. 34
Affects CompanyExpat · Non-residentIndividual

Apply this to your case

Email
Contact