Skip to content

Doctrine by topic · DGT Observatory

Primary Residence: DGT doctrinal evolution

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 101 rulings · 2025–2025

Current position

The exemption for the transfer of a primary residence requires that the property has been a residence for at least three years, except in circumstances that necessarily require a change of domicile. For those over 65 years of age, the exemption applies if the age requirement is met on the date of the transfer. In cases of reinvestment, both the transferred and the acquired property must be primary residences, and the reinvestment period is two years prior to or following the disposal.

The DGT's position remains constant regarding the definition of a primary residence and the reinvestment periods. A trend is observed toward clarifying the nature of the 'necessity' of the change of domicile and the insufficiency of the census registration (empadronamiento) as sole proof. There are no changes in criterion, but rather a rigorous application of the requirements of habituality and temporality.

Turning points

  1. V1047-25

    Defines that the change of domicile must be an irresistible obligation to avoid the three-year period, differentiating it from voluntary options.

  2. V1641-25

    Establishes that the census registration is an insufficient element on its own to prove habitual residence.

Analysis based on 90 of 101 rulings with a stated position. Updated 19 July 2026.

Rulings on this topic

24
V5395-26 28 Jul 2026

Right to 60% energy efficiency deduction for residential buildings

SG de Impuestos sobre la Renta de las Personas Físicas
deducción por rehabilitación energéticaeficiencia energéticavivienda habitualconsumo de energía primaria no renovablecuota íntegra estatal LIRPF — Ley 35/2006 del IRPF art. DA.50RD-ley 19/2021
Affects CompanyExpat · Non-residentIndividual
V5384-26 28 Jul 2026

Exemption not applicable if not habitual residence in two years prior

SG de Impuestos sobre la Renta de las Personas Físicas
ganancia patrimonialvivienda habitualexencióntransmisión de inmueblesresidencia habitual LIRPF — Ley 35/2006 del IRPF art. 6.1LIRPF — Ley 35/2006 del IRPF art. 33.1
Affects CompanyExpat · Non-residentIndividual
V5377-26 28 Jul 2026

State housing aid not taxable if not an AEDE

SG de Impuestos sobre la Renta de las Personas Físicas
ganancia patrimonialimputación temporalayuda estatal directa a la entradasubvenciónvivienda habitual LIRPF — Ley 35/2006 del IRPF art. 14.1.cLIRPF — Ley 35/2006 del IRPF art. 14.2.c
Affects CompanyExpat · Non-residentIndividual
V5369-26 28 Jul 2026

Energy efficiency rehabilitation deduction applies even after property transfer

SG de Impuestos sobre la Renta de las Personas Físicas
deducción por rehabilitación energéticacertificado de eficiencia energéticabase de la deducciónsubvenciónvivienda habitual LIRPF — Ley 35/2006 del IRPF art. DA.50.1LIRPF — Ley 35/2006 del IRPF art. DA.50.2
Affects CompanyExpat · Non-residentIndividual
V5363-26 28 Jul 2026

Deduction for energy efficiency applicable despite single property owner billing

SG de Impuestos sobre la Renta de las Personas Físicas
deducción por eficiencia energéticavivienda habitualcopropiedadcertificado de eficiencia energéticacuota íntegra estatal LIRPF — Ley 35/2006 del IRPF art. DA.50.3LGT — Ley 58/2003 General Tributaria art. 105
Affects CompanyExpat · Non-residentIndividual
V5362-26 28 Jul 2026

Public aid for flood damage repair exempt from IRPF

SG de Impuestos sobre la Renta de las Personas Físicas
base imponibleayudas públicaselementos patrimonialesdaños naturalesvivienda habitual LIRPF — Ley 35/2006 del IRPF art. Disposición adicional quintaLGT — Ley 58/2003 General Tributaria art. 117
Affects CompanyExpat · Non-residentIndividual
V5357-26 28 Jul 2026

Deduction for energy efficiency works applied in year certificate issued

SG de Impuestos sobre la Renta de las Personas Físicas
deducción por obras de rehabilitacióneficiencia energéticacertificado de eficiencia energéticabase de la deducciónsubvenciones LIRPF — Ley 35/2006 del IRPF art. DA.50Real Decreto-ley 19/2021
Affects CompanyExpat · Non-residentIndividual
V5335-26 28 Jul 2026

Property transfer value can be reduced by real estate agent fees

SG de Impuestos sobre la Renta de las Personas Físicas
ganancia patrimonialvalor de transmisióngastos inherentesvivienda habitualexención LIRPF — Ley 35/2006 del IRPF art. 33.1LIRPF — Ley 35/2006 del IRPF art. 33.4.b)
Affects CompanyExpat · Non-residentIndividual
V5325-26 28 Jul 2026

Right to deduction for home ownership investment maintained on loan replacement

SG de Impuestos sobre la Renta de las Personas Físicas
deducción por inversión en vivienda habitualrégimen transitorioamortización de préstamosustitución de préstamogastos de cancelación LIRPF — Ley 35/2006 del IRPF art. 68.1LIRPF — Ley 35/2006 del IRPF art. 70.1
Affects CompanyExpat · Non-residentIndividual
V5303-26 28 Jul 2026

Right to deduction for home ownership investment maintained on loan replacement

SG de Impuestos sobre la Renta de las Personas Físicas
deducción por inversión en vivienda habitualrégimen transitorioamortizaciónsustitución de préstamogastos de cancelación LIRPF — Ley 35/2006 del IRPF art. 68.1LIRPF — Ley 35/2006 del IRPF art. 70
Affects CompanyExpat · Non-residentIndividual
V5300-26 28 Jul 2026

Lack of home space does not alone entitle claim of habitual residence exemption

SG de Impuestos sobre la Renta de las Personas Físicas
exención por reinversiónvivienda habitualganancia patrimonialcambio de domicilioresidencia efectiva LIRPF — Ley 35/2006 del IRPF art. 38RIRPF — RD 439/2007, Reglamento del IRPF art. 41
Affects CompanyExpat · Non-residentIndividual
V5284-26 28 Jul 2026

Vacation rental loses status as habitual residence

SG de Impuestos sobre la Renta de las Personas Físicas
vivienda habitualexención por reinversiónalquiler vacacionalresidencia continuadaganancia patrimonial LIRPF — Ley 35/2006 del IRPF art. 38.1RIRPF — RD 439/2007, Reglamento del IRPF art. 41
Affects CompanyExpat · Non-residentIndividual
V5280-26 28 Jul 2026

Requirements to claim home purchase deduction after 2013 repeal

SG de Impuestos sobre la Renta de las Personas Físicas
deducción por inversión en vivienda habitualrégimen transitoriocuota íntegraperiodo impositivovivienda habitual LIRPF — Ley 35/2006 del IRPF art. 68.1LIRPF — Ley 35/2006 del IRPF art. 69.2
Affects CompanyExpat · Non-residentIndividual

Apply this to your case

Email
Contact