Personal Income Tax fundamentals

Comprehensive guide to the fundamental concepts of Personal Income Tax — nature, taxpayers, taxable event, exempt income, tax period and joint taxation.

Personal Income Tax (IRPF) is the tax that most affects the ordinary citizen. This guide brings together the fundamental concepts: what it is, who pays it, what income it taxes, what is exempt and how taxation is structured.

🔵 Main legislation: Arts. 1, 2, 6, 7, 8, 9 and 82–84 Personal Income Tax Law


What is Personal Income Tax?

🔵 Art. 1 Personal Income Tax Law: Personal Income Tax is a personal and direct tax which, in accordance with the principles of equality, generality and progressivity, taxes the income of individuals according to its nature and their personal and family circumstances.

What is meant by "income"?

🔵 Art. 2 Personal Income Tax Law: Income consists of all returns, capital gains and losses, as well as income imputations established by law, regardless of where they were obtained and whatever the residence of the payer.

The components of income that form the taxable event are:

  • Earned income
  • Capital income
  • Income from economic activities
  • Capital gains and losses
  • Income imputations established by law

For the purposes of calculation, income is classified as general income and savings income.

The personal and family tax-free threshold

The personal and family tax-free threshold is the part of the liquidable base intended to cover the basic needs of the taxpayer and the persons who depend on them. That part is not taxed.


Scope of application

🔵 Arts. 4 and 5 Personal Income Tax Law: Personal Income Tax applies throughout Spanish territory, with special provisions for the Canary Islands, Ceuta and Melilla, and without prejudice to the foral regimes of the Basque Country and Navarre.

It also applies in accordance with international treaties and conventions incorporated into domestic law (Art. 96 Spanish Constitution).

Partial transfer to the Autonomous Communities

Since 2009, the maximum limit of transfer of Personal Income Tax to each Autonomous Community is 50% of the revenue generated in its territory (Art. 3 Personal Income Tax Law, in relation to Law 22/2009).

The regulatory powers that the Autonomous Communities of the common regime may assume include:

Matter Detail
Personal and family tax-free threshold Increases or reductions of up to 10% in each amount
Regional scale Must be progressive; applicable to the general liquidable base
Regional deductions May regulate justification, limits, conditions and special rules
Deduction for investment in main home Transitional regime only (abolished from 1 January 2013)
  • Personal and family tax-free threshold

    Detail Increases or reductions of up to 10% in each amount

  • Regional scale

    Detail Must be progressive; applicable to the general liquidable base

  • Regional deductions

    Detail May regulate justification, limits, conditions and special rules

  • Deduction for investment in main home

    Detail Transitional regime only (abolished from 1 January 2013)


Who are taxpayers?

Art. 8 Personal Income Tax Law

The following are taxpayers of Personal Income Tax:

  1. Individuals with habitual residence in Spain.
  2. Individuals with habitual residence abroad by virtue of being members of Spanish diplomatic or consular missions or international organisations (Art. 10 Personal Income Tax Law).

The following are not taxpayers: civil partnerships not subject to Corporation Tax, dormant estates, communities of property and other entities under Art. 35.4 LGT. Their income is attributed to their partners, heirs or participants through the income attribution regime.

Habitual residence in Spain

Art. 9 Personal Income Tax Law

A person is considered to have habitual residence in Spain when any of the following circumstances applies:

  1. Presence for more than 183 days in the calendar year in Spanish territory (sporadic absences are counted, unless tax residence in another country is demonstrated; for tax havens the Administration may require proof of 183 days).
  2. Spain is, directly or indirectly, the location of the main nucleus or base of their economic activities or interests.

Unless proven otherwise, it is presumed that the taxpayer resides in Spain when their non-separated spouse and dependent minor children habitually reside in Spain.

The concept of "presence" includes certified presence, presumed days (between two accredited presences) and sporadic absences (according to the TEAC criteria).

Residence for Autonomous Community purposes

To determine in which Autonomous Community the taxpayer resides, the following criteria apply in order:

Criterion Description
1. Presence Greatest number of days of the tax period in that territory
2. Main centre of interests Community where the largest part of the taxable base is obtained
3. Last declared residence For Personal Income Tax purposes
  • 1. Presence

    Description Greatest number of days of the tax period in that territory

  • 2. Main centre of interests

    Description Community where the largest part of the taxable base is obtained

  • 3. Last declared residence

    Description For Personal Income Tax purposes

🟡 Important: Changes of residence whose main purpose is to achieve lower effective taxation have no effect (Art. 72.3 Personal Income Tax Law).


Taxable event: taxable and non-taxable income

Taxable income

The taxable event consists of the taxpayer obtaining income. Provision of goods, rights or services capable of generating earned income or capital income is presumed to be remunerated, unless proven otherwise.

Non-taxable income

The following are not subject to Personal Income Tax, among others:

  • Amounts received from the disposal of the main home through a reverse mortgage (persons over 65 or in a situation of dependency), provided they comply with applicable financial regulations.
  • Income arising in insurance policies that serve as vehicles for pension commitments, where profit sharing is not the result of any right of the policyholder.
  • Refunds arising from floor clause arrangements (agreements with financial institutions, court judgments or arbitration awards), together with their indemnity interest. This non-taxable status has had effect since 21 January 2017 and applies to non-time-barred prior years.
  • Economic assistance for illness expenses not covered by Social Security, intended for the treatment or restoration of health.

🟡 Floor clauses — treatment of refunded amounts: If those amounts were used for the main home investment deduction, the taxpayer loses entitlement to those deductions and must regularise the net tax liability (non-time-barred years only). If they were used as a deductible expense, they are recognised as income in the year of the refund.


Exempt income

Art. 7 Personal Income Tax Law — Note: this income does not count towards the filing obligation threshold.

The main exemption categories are listed below. The full list is in Art. 7 Personal Income Tax Law.

Exemptions related to employment and public benefits

Item Relevant conditions
Benefits for victims of terrorism Pensions and extraordinary public benefits (Art. 7.a)
Assistance for HIV-affected persons Royal Decree-Law 9/1993 (Art. 7.b)
Pensions for Civil War disabled veterans Civil Service Classes and special legislation regimes (Art. 7.c)
Compensation for civil liability (personal injury) Up to the legally or judicially recognised amount (Art. 7.d)
Permanent total incapacity or major disability Social Security or substitute entity benefits (Art. 7.f)
Civil service pensions for incapacity Only if disqualification is complete for all professions and trades (Art. 7.g)
Maternity/paternity benefits From Social Security or alternative entities; limit: maximum SS benefit (Art. 7.h); maximum contribution base 2025: €4,909.50/month
Foster care of minors, persons over 65 or disabled persons Benefits from public institutions (Art. 7.i)
Maintenance payments to children Received by children pursuant to a court decision (Art. 7.k)
Literary, artistic or scientific prizes Declared exempt by the Administration + Princess of Asturias prizes (Art. 7.l)
  • Benefits for victims of terrorism

    Relevant conditions Pensions and extraordinary public benefits (Art. 7.a)

  • Assistance for HIV-affected persons

    Relevant conditions Royal Decree-Law 9/1993 (Art. 7.b)

  • Pensions for Civil War disabled veterans

    Relevant conditions Civil Service Classes and special legislation regimes (Art. 7.c)

  • Compensation for civil liability (personal injury)

    Relevant conditions Up to the legally or judicially recognised amount (Art. 7.d)

  • Permanent total incapacity or major disability

    Relevant conditions Social Security or substitute entity benefits (Art. 7.f)

  • Civil service pensions for incapacity

    Relevant conditions Only if disqualification is complete for all professions and trades (Art. 7.g)

  • Maternity/paternity benefits

    Relevant conditions From Social Security or alternative entities; limit: maximum SS benefit (Art. 7.h); maximum contribution base 2025: €4,909.50/month

  • Foster care of minors, persons over 65 or disabled persons

    Relevant conditions Benefits from public institutions (Art. 7.i)

  • Maintenance payments to children

    Relevant conditions Received by children pursuant to a court decision (Art. 7.k)

  • Literary, artistic or scientific prizes

    Relevant conditions Declared exempt by the Administration + Princess of Asturias prizes (Art. 7.l)

Exemptions for grants (Art. 7.j and Art. 2 Personal Income Tax Regulations)

Grants for regulated studies

Type of study Without transport/accommodation expenses With expenses included
Up to 2nd university cycle €6,000/year €18,000/year
3rd cycle (doctorate) €21,000/year €24,600/year
  • Up to 2nd university cycle

    Without transport/accommodation expenses €6,000/year

    With expenses included €18,000/year

  • 3rd cycle (doctorate)

    Without transport/accommodation expenses €21,000/year

    With expenses included €24,600/year

If the duration is less than the calendar year, the amounts are prorated.

Requirements: public grants or from non-profit entities; awarded on the basis of merit, ability and publicity in an open call.

Research grants

The exemption covers the full economic allocation, including supplementary assistance to attend scientific forums or carry out stays at other research centres.

Exemptions for capital gains

Case Main condition
Donations to entities under Art. 68.3 Personal Income Tax Law Entities entitled to the donation deduction
Transfer of main home by persons over 65 or dependants Full exemption (Art. 33.4.b)
Payment of tax debts with Historical Heritage assets In accordance with Art. 73 Law 16/1985
Transfer of main home in lieu of payment (dación en pago) Mortgage cancellation; no other sufficient assets to pay
Reinvestment in main home Reinvestment of the amount obtained in a new main home (Art. 38.1)
Reinvestment in new or recently established companies Transfer of shares for which the deduction was claimed (Art. 38.2)
Reinvestment in life annuities (persons over 65) Transfer of any asset; maximum reinvestable: total received (Art. 38.3)
Debt forgiveness and transfers in lieu in insolvency proceedings Only if debts do not derive from economic activities
  • Donations to entities under Art. 68.3 Personal Income Tax Law

    Main condition Entities entitled to the donation deduction

  • Transfer of main home by persons over 65 or dependants

    Main condition Full exemption (Art. 33.4.b)

  • Payment of tax debts with Historical Heritage assets

    Main condition In accordance with Art. 73 Law 16/1985

  • Transfer of main home in lieu of payment (dación en pago)

    Main condition Mortgage cancellation; no other sufficient assets to pay

  • Reinvestment in main home

    Main condition Reinvestment of the amount obtained in a new main home (Art. 38.1)

  • Reinvestment in new or recently established companies

    Main condition Transfer of shares for which the deduction was claimed (Art. 38.2)

  • Reinvestment in life annuities (persons over 65)

    Main condition Transfer of any asset; maximum reinvestable: total received (Art. 38.3)

  • Debt forgiveness and transfers in lieu in insolvency proceedings

    Main condition Only if debts do not derive from economic activities

For the main home reinvestment exemption (Art. 38.1), the property must have been the taxpayer's main home at the time of sale or must have been so on any day during the two preceding years.

Exemptions for economic activities and subsidies

  • Subsidies from EU agricultural and fisheries policy, including eco-scheme payments (DA 5ª Personal Income Tax Law).
  • Public assistance to repair destruction caused by fire, flood, subsidence or other disasters to assets used in economic activities or to main homes (DA 5ª).
  • Assistance for the abandonment of road transport (Ministry of Transport).
  • Assistance for personal or property damage caused by DANA 2024 (Royal Decree-Law 6/2024). → Full guide: DANA aid and its taxation.

Note (DANA 2024 — economic activities): Direct grants of €5,000 to self-employed persons (individuals) in affected municipalities are exempt as income from economic activities. Requirements: tax domicile or establishment in those municipalities on 28-10-2024, census registration maintained until 30-06-2025 and 2023 tax returns filed showing economic activities.


The family unit and joint taxation

Arts. 82–84 Personal Income Tax Law

Types of family unit

Type Composition
1st — Marriage Non-separated spouses + minor children (except emancipated) and incapacitated adults subject to extended parental authority or representative curatorship
2nd — Single-parent Father or mother + all children living with them
  • 1st — Marriage

    Composition Non-separated spouses + minor children (except emancipated) and incapacitated adults subject to extended parental authority or representative curatorship

  • 2nd — Single-parent

    Composition Father or mother + all children living with them

Basic rules:

  • No person may belong to two family units at the same time.
  • Composition is determined at 31 December.
  • If a child turns 18 during the year, they no longer form part of the family unit in that period.

Option for joint taxation

  • It is voluntary and is exercised when submitting the return.
  • It must cover all members of the family unit.
  • If one member files individually, the others must also file individually.
  • The option is not binding for subsequent years.
  • Since 2024, to change the option already exercised in a previous self-assessment, box [124] must be checked and the reference number entered in box [104].

Characteristics of joint taxation

Element Rule
Tax scales The same as in individual taxation
Liability All members are jointly and severally liable
Personal tax-free threshold €5,550 per year (regardless of the number of members)
Taxable base reductions Social security provision limits apply individually to each participant
Loss compensation Losses from the joint return may only be offset in a subsequent individual return by those who generated them
  • Tax scales

    Rule The same as in individual taxation

  • Liability

    Rule All members are jointly and severally liable

  • Personal tax-free threshold

    Rule €5,550 per year (regardless of the number of members)

  • Taxable base reductions

    Rule Social security provision limits apply individually to each participant

  • Loss compensation

    Rule Losses from the joint return may only be offset in a subsequent individual return by those who generated them

Joint filing reduction

  • 1st type (marriage): reduction of €3,400 per year in the taxable base.
  • 2nd type (single-parent): reduction of €2,150 per year — except where the taxpayer lives with the other parent of the child (in which case it does not apply).

Tax period and accrual

As a general rule:

  • The tax period coincides with the calendar year (1 January to 31 December).
  • The tax accrues on 31 December of each year.
  • If the taxpayer dies before 31 December, the tax period closes on the date of death.

Classification of income for calculation purposes

Base What it includes
General taxable base Earned income, real estate capital income, income from economic activities, income imputations, capital gains and losses with a generation period ≤ 1 year
Savings taxable base Investment income (interest, dividends…), capital gains and losses with a generation period > 1 year
  • General taxable base

    What it includes Earned income, real estate capital income, income from economic activities, income imputations, capital gains and losses with a generation period ≤ 1 year

  • Savings taxable base

    What it includes Investment income (interest, dividends…), capital gains and losses with a generation period > 1 year

The liquidable base is the result of applying legal reductions to the taxable bases. The personal and family tax-free threshold reduces the gross tax liability (not the base).


Other notable exempt income

In addition to those under Art. 7 Personal Income Tax Law, the following are exempt or non-taxable:

  • Allowances and travel expense reimbursements (within the regulatory limits — Arts. 17.1.d and 9 Personal Income Tax Regulations).
  • Exempt employment income in kind (Art. 42.3 Personal Income Tax Law): meal vouchers, collective transport, health insurance, childcare, training…
  • 50% of earned income of crew of vessels registered in the Special Register of Vessels and Shipping Companies in the Canary Islands (Art. 73 Law 19/1994).
  • Earned income from international organisations (IOSCO, PIOB) received by their managerial and labour staff in connection with their statutory purposes.
  • 50% of earned income derived from interests carrying special economic rights (carried interest) — integrated at 50% in the taxable base (DA 53ª Personal Income Tax Law, since 2023).
  • Forestry subsidies for properties managed under technical plans approved by the forestry authority, provided the production period exceeds 3 years (DA 4ª Personal Income Tax Law).
  • Energy rehabilitation assistance for buildings (PREE, PREE 5000, renewable self-consumption programmes, etc.) granted under the various Royal Decrees of the Recovery Plan (DA 5ª.4 Personal Income Tax Law).
  • Assistance for the first digital dividend (Royal Decree 920/2014). Note: assistance for the second digital dividend is taxable and not exempt.
  • Income in insolvency proceedings (debt forgiveness and transfers in lieu) where debts do not derive from economic activities.
  • Compensation to families of victims of flight GWI9525 (DA 51ª Personal Income Tax Law, since 31-03-2022).