IRPF Tax Return in Spain for Foreigners (2026): Complete Guide
How to file Spanish income tax (IRPF / Modelo 100) as a foreigner or resident — the 183-day rule, non-resident tax (IRNR), filing deadlines, deductions, and who needs to file.
Need Personalized Help?
Get expert guidance for your Spain immigration journey
Taxes are the one thing that catches most foreigners in Spain by surprise. The Spanish tax system is not complicated — but the rules for who must file, on what income, and by when are very specific.
This guide explains the essentials for foreigners: students, expats, remote workers, and anyone living in Spain in 2026.
The fundamental question: are you a tax resident?
Everything in Spanish personal income tax depends on this one determination:
You ARE a tax resident if:
- You spent more than 183 days in Spain during the calendar year (January 1 – December 31)
- Your main economic activities are centered in Spain (business, investments)
- Your family (spouse, children) is habitually resident in Spain
You are NOT a tax resident if:
- You spent 183 days or fewer in Spain
- You can prove you are taxed in another country (tax residency certificate)
Visa status doesn’t determine tax residency. A student on a 9-month course that crosses two calendar years might be a tax resident in one year and not the other. Count actual days.
IRPF — Tax for residents
Who files
- All tax residents of Spain with income above the minimum threshold
- Threshold: €22,000/year from a single employer; €1,000/year from other sources or multiple employers
- Below these thresholds: filing is optional but sometimes beneficial (for refunds)
What you declare
As a tax resident, you declare your worldwide income:
- Employment income from any country
- Self-employment income
- Rental income (in Spain or abroad)
- Investment income (dividends, interest, capital gains)
- Pension income
Double taxation treaties: Spain has tax treaties with 100+ countries that prevent double taxation. Income already taxed abroad may be deductible or creditable in Spain.
Tax rates 2026 (general scale)
| Annual taxable income | Tax rate |
|---|---|
| Up to €12,450 | 19% |
| €12,450 – €20,200 | 24% |
| €20,200 – €35,200 | 30% |
| €35,200 – €60,000 | 37% |
| €60,000 – €300,000 | 45% |
| Over €300,000 | 47% |
Note: Actual rates vary slightly by autonomous community (Catalonia, Madrid, etc.) as regions have some tax powers.
Key deductions and allowances
- Personal allowance: €5,550/year (reduces taxable income)
- Employment expenses: Fixed deduction of €2,000 for employees
- Pension contributions: Deductible up to €1,500/year (private pension plan — plan de pensiones)
- Mortgage interest: Deductible if you bought before January 1, 2013
- Rental deduction: If you rent your primary residence (some regions)
- Children and family: Additional allowances for dependent children
- Remote workers / digital nomads: Special Beckham Law (Ley Beckham) regime may apply — see below
How to file: Modelo 100
File Modelo 100 through the AEAT website (agenciatributaria.gob.es):
- Get your Cl@ve PIN or digital certificate — required to access the tax portal
- Log in at renta.agenciatributaria.gob.es — the sistema Renta
- Check the pre-populated draft — Spain pre-fills a draft return (borrador) based on employer reports. Review and correct it.
- Submit and pay or request refund — payments can be done in instalments (two payments: 60% now + 40% in November)
Filing window: April 3 – June 30 of the following year.
IRNR — Tax for non-residents with Spanish income
Who files Modelo 210
Non-residents who earn any income sourced in Spain:
- Rental income from a Spanish property
- Dividends from Spanish companies
- Capital gains from selling Spanish assets
- Employment income earned during a short stay in Spain
Rates
- EU/EEA residents: 19% flat on most Spanish-source income
- Non-EU residents: 24% flat rate
- Capital gains from real estate: 19%
When to file
- Rental income: Quarterly (Modelos 210 in April, July, October, January)
- Capital gains: Within 3 months of the transaction
- Annual declaration: Some cases allow annual filing
Special regime: Ley Beckham (for new residents)
The Ley Beckham (Special Regime for Workers Posted to Spain) allows newly-arrived workers to pay a flat 24% tax rate on Spanish-sourced income instead of the progressive resident rates — a significant saving for higher earners.
Who qualifies (2026):
- You moved to Spain for the first time (haven’t been a tax resident in the past 5 years)
- You moved for an employment contract with a Spanish company, or for a remote work arrangement (digital nomad)
- Annual income is below certain thresholds (100% of income from Spanish sources)
How to apply: Submit form 149 within 6 months of registering with Social Security or starting work in Spain.
Duration: Applies for the year you arrive + 5 subsequent tax years.
Benefit: 24% flat rate on employment income up to €600,000 (47% above that); exemption from the Modelo 720 asset declaration requirement.
This regime is particularly relevant for digital nomads on the Spain Digital Nomad Visa — see the digital nomad visa guide for more details.
Students in Spain: do you need to file?
You don’t need to file if:
- You have no income in Spain (living on savings or family support)
- Your only Spanish income is below the €22,000 threshold (from one employer) or €1,000 (other sources)
You must file if:
- You worked more than 30 hours/week and earned significant income
- You have freelance/self-employed income registered in Spain (autónomo)
- You’re a tax resident (183+ days) and have income from any source above the threshold
Student scholarships (becas): Most official scholarships in Spain are tax-exempt. Check your scholarship documentation for confirmation.
Modelo 720 — Overseas asset declaration
This is a critical requirement many foreigners overlook:
If you are a Spanish tax resident and you hold assets outside Spain worth more than €50,000 in any category (bank accounts, investments, real estate), you must file Modelo 720 by March 31 every year.
Categories:
- Bank accounts abroad: if total balances exceed €50,000
- Investments abroad (stocks, funds): if total value exceeds €50,000
- Real estate abroad: if total value exceeds €50,000
Penalties for non-filing were drastically reduced in 2022 after the EU Court of Justice ruled Spain’s original penalty regime disproportionate. But failing to file is still a violation — file it if it applies to you.
Tax calendar 2026
| Date | What |
|---|---|
| January 31 | Annual summary of IRNR withheld (rental income, Modelo 180) |
| March 31 | Modelo 720 deadline (overseas assets) |
| April 3 | IRPF filing window opens |
| June 25 | Last day to request direct debit payment |
| June 30 | IRPF filing deadline |
| Q1/Q2/Q3/Q4 | Quarterly IRNR rental income declarations |
| November | Second IRPF instalment payment (if split) |
Getting help with your Spanish taxes
For simple cases (single employer, no overseas assets, no self-employment), the AEAT portal’s borrador draft is usually accurate. Review and submit online.
For complex cases (self-employed, overseas income, Modelo 720, Ley Beckham elections), use a gestor (Spanish tax agent) or a tax lawyer. Fees typically range €100–400 for IRPF preparation.
Resources:
- AEAT official portal: agenciatributaria.gob.es
- Renta online filing: renta.agenciatributaria.gob.es
- Sede electrónica for Modelo 720: sede.agenciatributaria.gob.es
Related guides:
Need Personalized Help?
Get expert guidance for your Spain immigration journey
Frequently Asked Questions
Do foreigners living in Spain need to file a tax return?
Yes, if you are a tax resident in Spain (you've been in Spain for more than 183 days in a calendar year). Tax residents must file IRPF (Modelo 100) on their worldwide income. Non-residents who earn income in Spain file IRNR (Modelo 210) on Spanish-source income only.
What is the 183-day rule in Spain?
If you spend more than 183 days in Spain in a calendar year (January–December), you are automatically considered a Spanish tax resident, regardless of your visa status. This means you must declare your worldwide income in Spain.
When is the Spanish tax return deadline?
IRPF (resident tax) must be filed between April 3 and June 30 of the following year. For income earned in 2025, the filing window is April 3 – June 30, 2026. Direct debit payment must be requested by June 25. There is no extension — late filing incurs penalties.
Do students on a student visa need to file taxes in Spain?
Only if they earn income in Spain exceeding the minimum threshold (€22,000/year from a single employer, or €1,000+/year from other sources). Students living purely on savings or parental support do not file. Students who work part-time may need to file depending on their total annual income.
What is the difference between IRPF and IRNR?
IRPF (Impuesto sobre la Renta de las Personas Físicas) is the resident income tax — filed by people who live in Spain 183+ days/year, on their worldwide income. IRNR (Impuesto sobre la Renta de No Residentes) is the non-resident income tax — filed by people who don't live in Spain but earn Spanish-source income (rent, dividends, capital gains from Spanish assets).
Related Guides
Spanish Driving Licence for Foreigners (2026): Exchange vs Full Test
How to get a Spanish driving licence as a foreigner — which countries can exchange directly, which must take the full DGT test, costs, documents, and step-by-step process.
Barcelona Student Accommodation 2026: Room Rents After the Catalan Rent Cap
Catalonia's 2026 seasonal rental law caps room prices in Barcelona. What the law actually means for students, which platforms comply, how landlords are circumventing it, and real current market rates by neighbourhood.
Barcelona vs Madrid for Language Students: Full Comparison 2026
Choosing between Barcelona and Madrid to study Spanish? Cost of living, language school density, DELE exam centres, job market, Spanish accent, and lifestyle — full comparison for international students 2026.