Last Updated: April 2026
Spain's 183-day tax residency rule is stricter than many expats realise. Exceeding the threshold β or even falling short of it while having your economic 'centre of gravity' in Spain β triggers full Spanish tax residency and worldwide income taxation at IRPF rates of up to 47%.
This guide explains exactly how Spain's residency rules work, what tests the Agencia Tributaria uses beyond the simple day count, how to formally exit Spanish tax residency, and how the Beckham Law interacts with the 183-day threshold for qualifying expats.
According to the Agencia Tributaria (AEAT), you are a Spanish tax resident for a given year if you spend 183 or more days in Spanish territory during that calendar year. Spain uses a calendar year basis (January 1 to December 31).
Spain's day-count rule has an important nuance: sporadic absences from Spain are counted as days in Spain unless you prove you were tax resident in another country during that time. This means a Spanish tax resident who takes a 2-month trip abroad may still have those 2 months counted as 'days in Spain' for threshold purposes unless they can demonstrate foreign tax residency for that period.
The 183-day threshold is not the only residency trigger. Spain also applies a centre of economic interests test: if the base or main core of your economic activities or interests is in Spain, you are considered a Spanish tax resident regardless of how many days you've spent there.
This test is particularly relevant for:
You cannot avoid Spanish tax residency simply by spending 182 days in Spain if Spain is clearly the economic hub of your activities.
Spain's tax law contains an additional presumption of residency: if your non-separated spouse and/or dependent minor children habitually reside in Spain, the AEAT presumes you are also a Spanish tax resident. This presumption can be rebutted by providing evidence of tax residency elsewhere, but the burden of proof is on the taxpayer.
This means that even if you personally spend fewer than 183 days in Spain, you may be considered resident if your family lives there permanently.
Spanish tax residents are liable for IRPF (Impuesto sobre la Renta de las Personas FΓsicas) on their worldwide income. Spain's 2026 IRPF rates combine a national rate and a regional rate. The combined rates vary by autonomous community, but a representative national picture is:
| Taxable Income | Approx. Combined IRPF Rate (National Avg.) |
|---|---|
| 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% |
| Above β¬300,000 | 47% |
Madrid's regional rates are the lowest in mainland Spain (effective top rate ~43.5%), while Catalonia and other regions apply higher rates. Use the Spain Tax Calculator for a regionalised estimate.
The Beckham Law creates an important interaction with the 183-day rule. You do not need to reach 183 days before applying for the Beckham Law β in fact, waiting that long risks missing the application window.
The Beckham Law application via Form 149 must be submitted within 6 months of your Social Security registration in Spain. This clock starts from SS registration, not from when you reach 183 days.
In practice: a qualifying expat who arrives in January, registers with Social Security in February, and submits Form 149 by August is within the window β regardless of whether they've yet crossed 183 days. The Beckham Law then applies retroactively from the start of their Spanish tax residency.
See the full Beckham Law guide for complete eligibility requirements.
Formally exiting Spanish tax residency requires demonstrating to the AEAT that you no longer meet any of the residency tests β day count, economic interests, or family presence:
Spain has a specific rule for people who move to a 'tax haven' (jurisdictions on Spain's blacklist): Spanish residency is maintained for the year of departure and the following 4 years, regardless of the day count. This prevents artificial moves to zero-tax jurisdictions to avoid Spanish tax.
US citizens who become Spanish tax residents still file US federal tax returns annually. Spanish tax residency β and even the Beckham Law β does not eliminate US filing requirements.
See US Tax Obligations for Expats and FEIE vs Foreign Tax Credit for full details.
CountryTaxCalc.com is reader-supported. When you use our partner links, we may earn a commission at no cost to you. Learn more about our affiliate partnerships
β 4.8 Trustpilot Β· 1,625 reviews
Becoming a Spanish tax resident β or managing the Beckham Law + US filing interaction β requires specialist expertise. Greenback's expat CPAs handle your US return, FBAR, and FATCA while advising on the optimal FEIE vs FTC strategy for your Spanish income.
β Not the cheapest option β best for complex situations and expats who want a dedicated CPA.
Get Expert Help With Spanish Tax Residency βSpain counts days on a calendar year basis (January 1 to December 31). Any part of a day on Spanish soil counts as a full day, including both arrival and departure days. Crucially, Spain counts 'sporadic absences' β brief trips abroad β as days in Spain unless you can prove you were tax resident elsewhere during those periods. Transit through Spanish airports in the international zone does not count.
Yes. Two alternative tests can trigger Spanish tax residency below 183 days: (1) If Spain is the main base of your economic activities or primary source of income, the centre of economic interests test applies. (2) If your non-separated spouse and/or dependent minor children habitually reside in Spain, the AEAT presumes you are resident (though this can be rebutted with evidence of foreign tax residency).
The Beckham Law lets qualifying expats pay a flat 24% tax rate for up to 6 years instead of standard IRPF rates of 19β47%. It doesn't change when you become tax resident β it changes how you're taxed once you are. Critically, the Beckham Law application (Form 149) must be submitted within 6 months of Social Security registration, not after you cross 183 days. Apply early.
You become a Spanish tax resident subject to worldwide income taxation at IRPF rates (up to 47%), with no access to the Beckham Law (since you're unlikely to have a formal SS registration date to anchor the 6-month window). If you haven't yet crossed 183 days, formalise your arrangement immediately β either with a Digital Nomad Visa or appropriate employment structure.
Yes, if Spain is the centre of your economic interests β where your income primarily originates, where your business is registered, or where your main clients are. The 183-day rule is the most common trigger, but it's not the only one. Non-residents may also owe Spanish non-resident income tax (IRNR) on Spanish-sourced income at 24%.
Obtain a certificate of tax residency from your new country's tax authority and present it to the AEAT. File a final IRPF return for the departure year. Stop maintaining a registered address in Spain. For moves to blacklisted tax havens, Spanish law maintains residency for the departure year plus 4 more years regardless of documentation.
Yes. US citizens file US federal tax returns annually regardless of where they live. Spanish tax residency and the Beckham Law do not eliminate US obligations. The Spain-US tax treaty and Foreign Tax Credit prevent most double taxation, but filing is still required. Under Beckham Law's 24% rate, specialist FEIE vs FTC analysis is recommended as the FTC may not fully offset US liability.