Each year, millions of residents (including those who have recently moved from abroad) must file Personal Income Tax (IRPF) in Spain. If you are new to the country, it is normal to feel uncertain: when are you considered a tax resident?, do you need to declare foreign income?, what happens if you have already paid taxes in your country of origin?

In this guide, we explain the key aspects of taxation for foreign residents in Spain.

When Are You Considered a Tax Resident in Spain?

Determining tax residency is the first and most important step, as it determines whether you are subject to Personal Income Tax (IRPF) as a resident or to Non-Resident Income Tax (IRNR).

Under Spanish law, you are considered a tax resident if you meet any of the following criteria:

  • You spend more than 183 days in Spain during the calendar year.
  • Your main economic activities or interests are located in Spain.
  • Your spouse and dependent minor children habitually reside in Spain (unless proven otherwise).

If you meet at least one of these conditions, you will be treated as an IRPF taxpayer. Otherwise, you will be taxed as a non-resident (IRNR).

If You Are a Tax Resident: You Are Taxed on Your Worldwide Income

Spain applies the worldwide income principle, meaning you must declare all your income, regardless of where it is generated. This includes:

  • Salaries earned abroad
  • Pensions from other countries
  • Dividends, interest, and other foreign investment income
  • Capital gains from the sale of assets located outside Spain

As a tax resident in Spain, you are required to report your worldwide income in your IRPF return, taking into account applicable double taxation treaties.

 

Want more information

 

What If You Have Already Paid Taxes in Your Country of Origin?

To avoid double taxation, Spain provides several mechanisms.

If There Is a Double Tax Treaty

The treaty will determine:

  • Which country has the right to tax each type of income (based on criteria such as permanent home or center of vital interests)
  • Whether to apply:
    • The tax credit method, allowing you to deduct taxes paid abroad from your Spanish tax liability
    • The exemption with progression method, under which certain foreign income is exempt in Spain but considered when determining the applicable tax rate

If There Is No Treaty

Even in the absence of a treaty, you may apply a foreign tax credit in Spain. You may deduct the lower of:

  • The tax actually paid abroad, or
  • The result of applying the average IRPF tax rate to the portion of taxable income earned abroad

When Is the Tax Return Filed?

The tax period corresponds to the calendar year, and the tax return is filed between April and June of the following year.

Important: Tax residency is determined for the entire tax year based on legal criteria, although changes during the year may affect taxation.

What If You Are NOT a Tax Resident?

If you spend fewer than 183 days in Spain, you will be taxed under the Non-Resident Income Tax (IRNR), only on income obtained in Spain.

This is generally managed through Form 210, and specific rules apply depending on whether there is a permanent establishment.

Key Tips for Newly Arrived Foreigners

  • Review your tax residency status early to avoid errors or penalties
  • Keep all documentation relating to income and taxes paid abroad
  • Check whether a double taxation treaty exists between Spain and your country
  • If relocating for work, consider the Special Regime for Posted Workers (“Beckham Law”)
  • When dealing with international income, professional tax advice is highly recommended

How Can We Help?

If you need a more practical overview of the process, you can review our explanation of the latest income tax updates in Bizkaia, where we detail deadlines and procedures in Spain’s foral territories.

Additionally, to stay up to date, we recommend consulting the latest updates on income tax in Spain, particularly useful for individuals changing residence or combining domestic and international income.

If you prefer professional assistance, our team can help you with IRPF filings, Wealth Tax returns, and all related tax compliance matters.

Frequently Asked Questions on Personal Income Tax in Spain (for Foreigners)

When am I considered a tax resident in Spain?

You are a tax resident if you spend more than 183 days in Spain during the calendar year, if your main economic interests are located here, or if your spouse and dependent children habitually reside in Spain.

What does being a tax resident in Spain imply?

Tax residents are taxed on their worldwide income, meaning they must declare all income obtained both within and outside Spain.

If I already pay taxes in my country of origin, do I have to pay again in Spain?

To avoid this, Double Taxation Treaties (DTTs) apply. These agreements determine which country has taxing rights and provide mechanisms such as tax credits or exemptions.

What happens if there is no double taxation treaty with my country?

You may still apply a foreign tax credit in Spain, provided the taxes paid abroad can be properly evidenced.

When is the income tax return filed in Spain?

IRPF returns are filed annually between April and June, for the previous tax year.

What happens if I change my residence mid-year?

The tax period is not split. If you become a tax resident during the year (e.g., by exceeding 183 days), you will be treated as a resident for the entire calendar year.

Do I need to declare foreign pensions?

Yes. If you are a tax resident, foreign pensions are part of your worldwide income and must be declared, unless a treaty provides otherwise.

What tax do I pay if I am NOT a tax resident in Spain?

You will be subject to Non-Resident Income Tax (IRNR), only on income obtained in Spain (e.g., rental income from property located in Spain).

Which form should I use if I am a non-resident?

Non-residents earning income without a permanent establishment must file Form 210.

Do I need to declare income if I work abroad but live in Spain?

Yes. As a tax resident, you must declare such income, although the applicable treaty may determine how taxation is allocated.

Which foreign income is exempt?

Some treaties provide for exemption with progression, meaning foreign income is not taxed in Spain but is considered when calculating the applicable tax rate on the rest of your income.

What documentation is typically required for foreigners filing tax returns?

  • Income certificates from the country of origin
  • Proof of taxes paid abroad
  • Documentation from foreign bank accounts
  • Certificates of foreign tax withholdings
Conversation

Do you have any questions?

If you have any questions after reading "Essential Guide to Personal Income Tax in Spain for Foreign Residents", we are here to help you.

Let's talk. We guide you clearly and step by step.