Skip to content

Doctrine by topic · DGT Observatory

Legal Defense Expenses: 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 23 rulings · 2017–2026

Current position

Legal defense expenses arising from litigation with the recipient of the income are deductible, subject to an annual limit of 300 euros in employment income (IRPF). In the case of capital gains, such as court costs or an increase in a fair price, the expenses incurred may be deducted from the amount received. Double deduction is not permitted if the expenses have already been applied to determine gross employment income.

The DGT's position remains constant regarding the deductibility of legal defense expenses and their 300-euro limit for employment income. The evolution focuses on the application of these expenses to determine capital gains in cases of court costs or fair price adjustments. It has been clarified that the deduction in capital gains cannot duplicate the one already made in employment income.

Turning points

  1. V1485-22

    Establishes that if legal defense expenses have already been deducted from gross employment income, said amount cannot be deducted again to determine the capital gain.

Analysis based on 21 of 23 rulings with a stated position. Updated 24 September 2026.

Rulings on this topic

23
V5296-26 28 Jul 2026

1,800 euro maternity supplement taxed as capital gain

SG de Impuestos sobre la Renta de las Personas Físicas
indemnizaciónganancia patrimonialgastos de defensa jurídicaresponsabilidad patrimonialcomplemento de maternidad LIRPF — Ley 35/2006 del IRPF art. 7.qLIRPF — Ley 35/2006 del IRPF art. 17.2.a
Affects CompanyExpat · Non-residentIndividual
V1562-26 15 Jun 2026

Legal fees for dismissal defense deductible up to €300 annually

SG de Impuestos sobre la Renta de las Personas Físicas
rendimiento neto del trabajogastos de defensa jurídicaimputación temporalrendimiento íntegrolímite de deducción LIRPF — Ley 35/2006 del IRPF art. 14.1LIRPF — Ley 35/2006 del IRPF art. 19.2.e
Affects CompanyExpat · Non-residentIndividual
V1545-22 27 Jun 2022

Legal costs cannot be deducted as capital losses if they are professional expenses

SG de Impuestos sobre la Renta de las Personas Físicas
estimación directacriterio de cobros y pagosgastos de defensa jurídicarendimientos de actividades económicaspérdida patrimonial LIRPF — Ley 35/2006 del IRPF art. 28.1LIRPF — Ley 35/2006 del IRPF art. 30
Affects CompanyExpat · Non-residentIndividual
V0856-21 12 Apr 2021

Legal defence costs for claiming cessation of activity benefits are deductible

SG de Impuestos sobre la Renta de las Personas Físicas
rendimientos del trabajocese de actividadgastos de defensa jurídicaprestación de la seguridad socialdeducción de gastos LIRPF — Ley 35/2006 del IRPF art. 17.1 b)LIRPF — Ley 35/2006 del IRPF art. 19.2 e)
Affects CompanyExpat · Non-residentIndividual
V1155-20 29 Apr 2020

30% reduction applied to partial disability benefits received as a lump sum

SG de Impuestos sobre la Renta de las Personas Físicas
incapacidad permanente parcialrendimientos del trabajoreducción por percepción en forma de capitalimputación temporalgastos de defensa jurídica LIRPF — Ley 35/2006 del IRPF art. 7LIRPF — Ley 35/2006 del IRPF art. 14.2.a)
Affects CompanyExpat · Non-residentIndividual
V3420-19 13 Dec 2019

Late payment interest is taxed as capital gains within the savings tax base

SG de Impuestos sobre la Renta de las Personas Físicas
intereses de demoraganancias patrimonialesbase imponible del ahorrogastos de defensa jurídicarendimientos del trabajo LIRPF — Ley 35/2006 del IRPF art. 19.2LIRPF — Ley 35/2006 del IRPF art. 25
Affects CompanyExpat · Non-residentIndividual
V1367-17 2 Jun 2017

Surface rights income declared as real estate returns following court ruling

SG de Impuestos sobre la Renta de las Personas Físicas
derecho de superficierendimientos del capital inmobiliarioimputación temporalsentencia firmeperiodo de generación LIRPF — Ley 35/2006 del IRPF art. 14.1LIRPF — Ley 35/2006 del IRPF art. 22.1
Affects CompanyExpat · Non-residentIndividual

Apply this to your case

Email
Contact