Contenidos:

The income tax return for foreigners, residents working abroad and foreign income

We tell you everything you need to know about income tax if you are a foreigner.

Calcula tu resultado GRATIS
Home » Foreigners and income tax returns

The tax obligations of Spanish citizens abroad must be determined according to their tax residence. There are no general rules for the entire European Union that indicate how the income of persons who reside, work or are outside their country of origin must be reported or recorded; however, we will try to clarify some general doubts.

What does it mean to be a tax resident in Spain?

To determine if you’re a tax resident in Spain, at least one of the following conditions must apply:

  1. You spend more than 183 days per year in Spain.
    Occasional absences count toward this total unless you can prove tax residency in another country, typically with an official tax residency certificate.
  2. Your main economic interests are in Spain.
    This includes direct or indirect business or professional activities based in the country.
  3. Your spouse or dependent minor children live in Spain.

📝 If you meet any of these criteria, you’re required to file your tax return in Spain as a resident.

Even if you claim to have moved abroad, if that country is considered a tax haven, Spain may still treat you as a tax resident under Law 35/2006, which governs Personal Income Tax, among others.

How to avoid double taxation of income?

If you work abroad and you have to file your income tax return in Spain, it is important to avoid double taxation, so you should check if the country where you work makes discounts on the salary earned and asks you to file the Spanish income tax return.

These agreements are understood as agreements signed between countries, it was agreed that each country would only receive what is declared in them and no other taxes would be paid for the same income, Spain has double taxation agreements with the following countries:

Europe Asia Africa America Oceania
Albania 🇦🇱 Saudi Arabia 🇸🇦 Algeria 🇩🇿 Argentina 🇦🇷 Australia 🇦🇺
Germany 🇩🇪 Armenia 🇦🇲 Cape Verde 🇨🇻 Barbados 🇧🇧 New Zealand 🇳🇿
Andorra 🇦🇩 Azerbaijan 🇦🇿 Egypt 🇪🇬 Bolivia 🇧🇴
Austria 🇦🇹 Qatar 🇶🇦 Morocco 🇲🇦 Brazil 🇧🇷
Belarus 🇧🇾 China 🇨🇳 Nigeria 🇳🇬 Canada 🇨🇦
Belgium 🇧🇪 South Korea 🇰🇷 South Africa 🇿🇦 Chile 🇨🇱
Bosnia and Herzegovina 🇧🇦 United Arab Emirates 🇦🇪 Tunisia 🇹🇳 Colombia 🇨🇴
Bulgaria 🇧🇬 Philippines 🇵🇭 Senegal 🇸🇳 Costa Rica 🇨🇷
Czechia 🇨🇿 Georgia 🇬🇪 Cuba 🇨🇺
Cyprus 🇨🇾 India 🇮🇳 Ecuador 🇪🇨
Croatia 🇭🇷 Indonesia 🇮🇩 United States 🇺🇸
Slovakia 🇸🇰 Iran 🇮🇷 Jamaica 🇯🇲
Slovenia 🇸🇮 Israel 🇮🇱 Mexico 🇲🇽
Estonia 🇪🇪 Japan 🇯🇵 Panama 🇵🇦
Finland 🇫🇮 Kazakhstan 🇰🇿 Dominican Republic 🇩🇴
France 🇫🇷 Kuwait 🇰🇼 Uruguay 🇺🇾
Greece 🇬🇷 Malaysia 🇲🇾 Venezuela 🇻🇪
Netherlands 🇳🇱 Oman 🇴🇲 El Salvador 🇸🇻
Hungary 🇭🇺 Pakistan 🇵🇰 Trinidad and Tobago 🇹🇹
Ireland 🇮🇪 Singapore 🇸🇬
Iceland 🇮🇸 Thailand 🇹🇭
Italy 🇮🇹 Turkey 🇹🇷
Latvia 🇱🇻 Uzbekistan 🇺🇿
Lithuania 🇱🇹 Vietnam 🇻🇳
Luxembourg 🇱🇺 Former USSR states (except Russia) 🇺🇦
North Macedonia 🇲🇰
Malta 🇲🇹
Moldova 🇲🇩
Norway 🇳🇴
Poland 🇵🇱

It is important to highlight that filing income tax in Spain when working abroad does not exempt you from paying other taxes in the country where you reside, in conclusion, if you receive any type of income from Spain, such as renting a house, it will have to be declared as a non-resident income tax.

Personal income tax for foreigners in Spain (IRPF)

How to File IRPF with Foreign Income

When filing your IRPF (Personal Income Tax) in Spain while earning income from abroad, you need to consider a few key points:

  1. Check if a double taxation agreement exists between Spain and the country where you earn your income. This helps avoid paying taxes twice on the same earnings.
  2. Article 7p exemption: If you’re a Spanish tax resident working abroad, you may be eligible for a tax exemption of up to €60,100 per year—but only if you meet certain conditions:
    • Your employer is not a Spanish resident company, or you work in one of its permanent establishments abroad.
    • The country where you work applies a tax similar to Spain’s IRPF.

👉🏻 Want to know how much you could save thanks to Article 7p? Try our calculator.

✅ If you meet these criteria, your foreign-earned income may be exempt from taxation in Spain.

If you don’t qualify for this exemption, you’ll still have to declare the income, but you might benefit from the Excess Regime or apply deductions to avoid double taxation.

Image representing a foreign woman who has come to Spain to work and has to declare her taxes here.

How to File Your Tax Return from Abroad?

Are you living or working abroad and unsure how to handle your tax return in Spain? You’re not alone. This can be confusing, especially when you might be required to pay taxes in both countries.

Your tax obligations depend on your specific situation. Understanding your tax residency status, available exemptions, and international tax agreements is essential to filing your tax return correctly and avoiding double taxation.

How Do You Know If You’re a Tax Resident?

Before anything else, you need to determine whether you’re considered a tax resident in Spain. This is crucial, as it affects where and how you must pay taxes.

According to the Spanish Tax Agency (Agencia Tributaria), you’re a tax resident in Spain if:

  • You spend more than 183 days per year in Spain.
  • Your main economic interests or activities are located in Spain.
  • Your spouse or dependent children live in Spain.

Even if you move to a tax haven, Spain may still consider you a tax resident during the year you change residence. Special rules also apply to diplomats and workers on international missions, who usually retain their Spanish tax status.

💡 If you don’t meet these criteria but earn income in Spain, you’ll be taxed as a non-resident under the Non-Resident Income Tax (IRNR). Non-residents only pay taxes on income sourced in Spain.

Income Exemption When Working Abroad

If you’re a Spanish tax resident but working abroad, good news: you may qualify for an income exemption of up to €60,100 per year on foreign-earned salary.

But here’s the catch—you must meet all of the following conditions:

  1. The company you work for must not be based in Spain.
    If it is, your work must be carried out in a permanent establishment abroad (e.g. a branch office).
  2. The country where you work must apply a tax similar to Spain’s IRPF (Personal Income Tax).

✅ If you meet these criteria, your foreign salary (up to €60,100) can be exempt from Spanish taxation.

Alternative Option: The Excess Regime

There’s another method called the Excess Regime—but it’s not compatible with the €60,100 exemption.

This regime allows you to exclude from taxation the extra compensation (known as “plus de desplazamiento”) you receive for working abroad—essentially, anything you earn above your normal salary in Spain.

❗You must choose one regime or the other, not both. Carefully evaluate which one benefits you most.

What If You’re a Cross-Border Worker?

Cross-border workers live in one country and work in another—common in regions close to national borders.

Each case varies depending on the bilateral agreements between Spain and its neighboring countries:

  • Morocco: Income may be taxed in both countries, since the agreement lacks a clear exemption.
  • France & Portugal: If you live in Spain and cross daily for work, you’ll pay tax only in Spain.
    • If you live in France or Portugal and work in Spain, you’ll declare your income in your country of residence.

🔍 Always check the specific tax treaty between Spain and the country where you work or live. It can save you from unnecessary payments—or legal headaches.

FAQs

Got questions? We’ve got the answers (no jargon, promise).

If I live outside Spain, do I have to file an income tax return?

It depends. If you are a tax resident in Spain (meaning you spend more than 183 days a year here or your main economic interests are in Spain), you must declare your worldwide income, even if you live or work abroad.

What if I’m a foreigner working in Spain?

If you spend more than 183 days in Spain or your main job is here, you are considered a tax resident and must declare all your global income. If not, you’ll pay tax only on your Spanish-sourced income, as a non-resident (and using a different form: Modelo 210).

Do I have to pay tax twice on foreign income?

Don’t worry—you usually won’t be taxed twice. Spain has double taxation treaties with many countries, so you can deduct taxes already paid abroad from your Spanish tax return.

If I reside abroad, how can I ratify my tax residency?

The Tax Agency requests your tax residence in order to be able to contact you in case it is necessary. When residing abroad, you must register in the Census of taxpayers by filing Form 030. Once you have validated your situation with the Tax Agency, you can return to TaxDown and continue with your tax return.

What taxes do foreigners have to pay in Spain?

Here you have the complete list of taxes in Spain that you must take into account as a foreigner:
– Income tax return (IRPF)
– VAT (Value Added Tax)
– Taxes for non-residents: IRNR
– Wealth tax (Impuesto sobre el patrimonio)
– Inheritance and gift tax
– Capital gains tax
– Tax on the purchase of a home
Remember that each of these taxes has its particularities and specific requirements, so it is important to be informed and comply with your tax obligations according to your personal and fiscal situation.

Wrap it up stress-free: sort out your international taxes with ease

Filing an income tax return as a foreigner in Spain or as a Spanish resident abroad can be tricky. Understanding your tax residency, avoiding double taxation, and applying the right exemptions is key to staying compliant and not overpaying.

At TaxDown, we make it simple. We guide you through every step so you can meet your obligations without stress or surprises. Our team reviews your case and helps you claim every tax benefit you’re entitled to.

👉 Start for free at app.taxdown.es and forget about international tax headaches.

It’s time to file your taxes — properly.
Do it all online, reviewed by experts, and save an average of €382. No mistakes. No stress.
💡 Make it easy with TaxDown.

Sign up for FREE

File your taxes before anyone else with

Your tax return,
done right

Find out your refund for free in just 10 minutes

We file your taxes online, hassle-free

Always available, 24/7 support on your phone

More than 200 tax experts review your case

Start for FREE

Bustamante holding a tablet showing the TaxDown app, stating you can save €1,392 on your tax return


Si necesitas más ayuda sobre el tema, escríbenos y trataremos de ayudarte:


¿Te ha servido este artículo?


TaxLogo

¿Qué dicen quienes ya apostaron por TaxDown?

Avatar

María

"Pensaba que solo era que te hacían la declaración y ya. Para mi sorpresa, ¡me orientan fiscalmente a lo largo de todo el año! Una verdadera pasada"

star star star star star
Avatar

Roberto

"Quise empezar a invertir en acciones y crypto y desconocía la relación fiscal que tendría y no dudé en aprovechar la suscripción para que me orientaran...muy útil!"

star star star star star
Avatar

Alicia

"iba a comprarme una casa y no sabía si me repercutiría fiscalmente, y me han aclarado absolutamente todo. Top!"

star star star star star
Avatar

Gloria

"el descuento en los planes para autónomos de trimestral es bastante bueno! ahora tengo todo centralizado y digital"

star star star star star
Avatar

Ernesto

"me asesoraron en cómo y cuándo vender mi casa para ahorrar fiscalmente, no tenía ni idea!"

star star star star star
Avatar

Ricardo

"prácticamente por el mismo precio que me cuesta un asesor, además de la renta tengo asesoría fiscal todo el año gratis...merece la pena"

star star star star star

Todos los medios hablan de nosotros


TaxDown es más que la declaración de la renta.

Si necesitas ayuda con requerimientos, presentar fuera de plazo, Ley Beckham o 7p, ayudas de maternidad...

Regístrate ahora


Deja una respuesta

Tu dirección de correo electrónico no será publicada. Los campos obligatorios están marcados con *

X

Te sale
A DEVOLVER

Descubre en menos de 10 min si estás entre el 70% de españoles a los que les sale a devolver.

Prueba GRATIS