TUSIMPUESTOS.ORG

Tax Residency in Spain: The 183-Day Rule

Understanding when you become a Spanish tax resident and what it means for your tax obligations, including the 183-day rule, economic center test, and family ties.

Tax residency determines where you pay taxes on your worldwide income. In Spain, you become a tax resident if you meet any of three criteria: spending 183+ days in Spain, having your economic center in Spain, or having your spouse and minor children living in Spain.

What is Tax Residency?

Tax residency is different from legal residency or citizenship. It's a tax concept that determines which country has the right to tax your worldwide income.

Key differences:

  • Tax resident: You pay tax in Spain on your worldwide income (salary, rental income, investments, etc.), regardless of where it's earned.
  • Non-resident: You only pay tax in Spain on Spanish-sourced income (e.g., Spanish property income, Spanish salary).

Why it matters:

Becoming a Spanish tax resident triggers significant tax obligations: you must file an annual IRPF return (Modelo 100), declare worldwide assets over €50,000 (Modelo 720), and potentially pay wealth tax (Impuesto sobre el Patrimonio).

Three Criteria for Spanish Tax Residency

You become a Spanish tax resident if you meet ANY ONE of these three criteria:

1. The 183-Day Rule (Physical Presence)

You spend more than 183 days in Spain during a calendar year (January 1 - December 31).

How days are counted:

  • Physical presence: Any day where you're in Spain, even for a few hours, counts as a full day.
  • Sporadic absences: Short trips abroad (weekends, holidays) don't interrupt the count unless you can prove tax residency elsewhere during those periods.
  • Proof of absence: To exclude days, you must prove you were physically present in another country (passport stamps, flight tickets, hotel receipts).
  • 183 days = 6 months: If you arrive in Spain on February 1 and stay until December 31, you exceed 183 days and become a tax resident for that year.

Example:

You own a holiday home in Spain. In 2024, you spend:
- January: 0 days
- February-March: 60 days
- April-June: 30 days
- July-August: 60 days
- September-December: 40 days
Total: 190 days
You're a Spanish tax resident for 2024 because you exceeded 183 days.

2. Economic Center Test

Your economic center of activity is in Spain, either directly or indirectly.

What this means:

  • The majority (more than 50%) of your income is earned in Spain or derived from Spanish sources
  • You run a business or professional activity based in Spain
  • Your main assets or investments are located in Spain

Example:

You're a UK citizen who owns a bar in Málaga. You spend only 120 days per year in Spain, but the bar generates 80% of your income. The Spanish Tax Agency considers your economic center to be in Spain, making you a tax resident—even though you didn't meet the 183-day rule.

3. Family Ties (Spouse and Minor Children)

Your spouse (not legally separated) and minor children (under 18) habitually reside in Spain.

How this works:

  • If your spouse and children live in Spain, the Tax Agency presumes your economic center is also in Spain
  • This presumption can be rebutted if you prove that you earn most of your income elsewhere and spend most of your time outside Spain
  • Adult children (18+) living in Spain do not trigger this criterion

Example:

You're a German executive working in Frankfurt. Your wife and two children (ages 10 and 14) move to Barcelona for the kids' education. You visit them on weekends and spend 90 days per year in Spain. The Tax Agency may consider you a Spanish tax resident due to family ties, unless you can prove your economic center remains in Germany.

Consequences of Becoming a Tax Resident

Once you become a Spanish tax resident, you have these obligations:

1. Annual IRPF Tax Return (Modelo 100)

  • Declare your worldwide income: salary, self-employment, rental income, investments, pensions, etc.
  • Progressive tax rates: 19-47% (national + regional)
  • Filing deadline: April-June of the following year

2. Wealth Tax (Impuesto sobre el Patrimonio)

  • If your worldwide net assets exceed €700,000 (varies by region; some regions like Madrid have eliminated it)
  • Tax on assets: property, investments, cash, business shares
  • Rates: 0.2-3.5% depending on region and value

3. Foreign Assets Declaration (Modelo 720)

  • Declare foreign assets if any category exceeds €50,000:
  • - Bank accounts and deposits outside Spain
  • - Securities (stocks, bonds, funds) held abroad
  • - Real estate and property rights outside Spain
  • Filing deadline: March 31 of the following year
  • Severe penalties for non-compliance: minimum €10,000 per asset, plus 150% of unpaid tax

4. Social Security Contributions

  • If you work in Spain, you must register with the Spanish Social Security system
  • Employees: ~6.4% of gross salary (employer pays ~29.9%)
  • Self-employed (autónomos): €294-€500/month depending on income tier (2024 rates)

5. Exit Tax (in some cases)

  • If you've been a Spanish tax resident for 10+ years in the last 15 years, and you move abroad with assets over €4 million or unrealized gains over €4 million, you may owe exit tax on capital gains
  • This is rare and mainly affects high-net-worth individuals

Certificate of Tax Residency

A certificate of tax residency (certificado de residencia fiscal) is an official document issued by the Spanish Tax Agency (or your home country's tax authority) that proves where you are a tax resident.

Why you need it:

  • To benefit from double taxation treaties (avoid paying tax twice on the same income)
  • To claim reduced withholding rates on dividends, interest, or pensions
  • To prove to foreign banks or tax authorities where you pay tax

How to obtain it in Spain:

  • Apply online at the Spanish Tax Agency website (sede.agenciatributaria.gob.es)
  • Search for "certificado de residencia fiscal" under "Certificados y otros documentos"
  • Provide your NIE or NIF, and specify the tax year and destination country
  • The certificate is issued immediately (PDF download)

Validity:

The certificate is valid for the specific tax year stated on it. You must request a new certificate for each year you need to prove tax residency.

The Transition Year: First Year as a Resident

If you become a Spanish tax resident during the year (e.g., you move to Spain in June), special rules apply for your first year.

Option 1: Full-year resident treatment

  • You file as a full Spanish tax resident for the entire year
  • Declare worldwide income for the full year, but credit foreign taxes paid before you moved
  • Benefit: You can claim deductions and allowances for the entire year

Option 2: Split-year treatment (proration)

  • You file as a non-resident for the period before you moved
  • You file as a resident for the period after you moved
  • More complex, but may result in lower tax if you earned significant income abroad before moving

Tip: Consult a Spanish tax advisor in your first year to determine which option is more tax-efficient for your situation.

Common Questions About Tax Residency

Q: Can I be a tax resident in two countries at once?

A: Yes, it's possible to meet tax residency criteria in multiple countries. In that case, the double taxation treaty between the countries determines where you're considered a resident for tax purposes (usually based on "permanent home," "center of vital interests," or "habitual abode").

Q: If I'm a Spanish tax resident, do I still pay tax in my home country?

A: It depends. Most countries have double taxation treaties with Spain to avoid paying tax twice on the same income. Generally, you'll pay tax in Spain on your worldwide income and claim a credit in your home country for the Spanish tax paid. Some countries (like the US) tax citizens on worldwide income regardless of residency, so consult a tax advisor.

Q: I have a TIE (residence permit). Does that make me a tax resident?

A: Not automatically. A TIE (Tarjeta de Identidad de Extranjero) is a legal residency document, not a tax residency document. You become a tax resident only if you meet one of the three criteria (183 days, economic center, or family ties), regardless of whether you have a TIE.

Q: Can I avoid becoming a tax resident by staying 182 days instead of 183?

A: Yes, if you carefully track your days and ensure you don't exceed 183 days. However, be aware of the other two criteria (economic center and family ties). Even if you stay only 150 days, you could still be a tax resident if your economic center or family is in Spain.

Q: What if I stop being a Spanish tax resident?

A: If you move abroad and no longer meet the tax residency criteria, you should inform the Spanish Tax Agency and obtain a certificate of non-residency from your new country. You'll file a final IRPF return for the year you left (prorated) and then only pay Spanish tax on Spanish-sourced income as a non-resident.

Tax Residency Quick Reference

  • 183+ days in Spain? You're a tax resident
  • Economic center in Spain? You're a tax resident
  • Spouse + minor children in Spain? Likely a tax resident
  • Tax residents: Pay tax on worldwide income, file Modelo 100, declare foreign assets (Modelo 720)
  • Non-residents: Pay tax only on Spanish-sourced income, file Modelo 210
  • Certificate of tax residency: Obtain from Tax Agency website, valid for specific year

Related Pages