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. Spain applies two statutory tests: spending more than 183 days in Spain during the calendar year, or having your main economic interests in Spain. A spouse who is not legally separated and dependent minor children living in Spain create a rebuttable presumption, not a separate automatic test.

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 may need to file an annual IRPF return (Modelo 100), report specified foreign assets when a Modelo 720 category exceeds its threshold, and potentially pay or file wealth tax (Impuesto sobre el Patrimonio).

Three Criteria for Spanish Tax Residency

Spain applies two residency tests plus a rebuttable family presumption:

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: Days on which your presence in Spain is established count toward the calendar-year total.
  • 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 is roughly six 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:

  • Where your principal business, professional activity, or source of economic interests is based
  • You run a business or professional activity based in Spain
  • Where the management and main value-generating activity of your business and investments takes place

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. That business is a strong indicator that your main economic interests may be in Spain—even though you did not meet the day-count test. This test has no automatic 50% income threshold and depends on the full facts.

3. Rebuttable Family Presumption

Your spouse (not legally separated) and dependent minor children habitually reside in Spain. Unless evidence proves otherwise, the law presumes that you are resident too.

How this works:

  • The presumption requires both the non-separated spouse and dependent minor children to reside habitually in Spain
  • It can be rebutted with sufficient evidence of your actual residence and circumstances elsewhere
  • 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)

  • The default personal allowance is €700,000 and the main-home exemption is up to €300,000, but autonomous rules vary. Filing may also be required when gross assets and rights exceed €2 million even if no tax is due
  • 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
  • Late, missing, or incorrect filings are subject to the general penalty rules in Articles 198 and 199 of the General Tax Law; the former special €10,000/150% regime no longer applies

4. Social Security Contributions

  • If you work in Spain, you must register with the Spanish Social Security system
  • For a standard indefinite employment contract, this site's 2025 model uses 6.48% of the employee's contribution base, subject to the legal maximum; contract-specific items can change the result
  • Self-employed workers choose a contribution base within the 2025 band assigned to their annual net income; there is no single flat monthly amount

5. Exit Tax (in some cases)

  • If you've been a Spanish tax resident for 10+ years in the last 15 tax periods, the exit-tax rules may apply when the total market value of your shares or interests exceeds €4 million, or when you own more than 25% of an entity and that holding is worth more than €1 million
  • 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 a statutory test applies (with the rebuttable family presumption taken into account), regardless of whether you have a TIE.

Q: Can I avoid becoming a tax resident by staying 183 days or fewer?

A: That avoids the day-count test only; it does not guarantee non-residence. You may still be resident under the economic-interests test, and the family presumption may apply. A tax treaty can also resolve dual-residence cases differently.

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 tax-residency certificate from your new country. Spanish domestic law generally determines status for the whole calendar year rather than prorating an IRPF year; the applicable return and any treaty tie-breaker depend on the facts and departure date. Once non-resident, Spanish-source income may remain subject to non-resident tax.

Tax Residency Quick Reference

  • More than 183 days in Spain? The day-count test is met
  • Economic center in Spain? You're a tax resident
  • Spouse + dependent minor children in Spain? Rebuttable presumption of residence
  • Tax residents: Worldwide income enters the Spanish tax scope; Modelo 100 and foreign-asset information returns apply only when their filing conditions are met
  • 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