Stop guessing your tax residency. Track it free with NomadSync
Nomad Tax Guide

🇪🇸Country tax guide

Digital Nomad Taxes in Spain

Tax residency rules, rates, and what digital nomads need to know about working remotely in Spain.

Quick Facts

Tax residency trigger
183 days
Tax year
Calendar year (Jan 1 – Dec 31)
Income tax range
19% – 47%
Special regime
Beckham Law: 24% flat
Digital nomad visa
Yes (Ley de Startups)

Residency

When Do You Become Tax Resident?

Spain considers you a tax resident if you spend 183 or more days in the country during a calendar year. Residency is all-or-nothing — once you cross the threshold, you owe tax on your worldwide income for the entire year, not just the months you were present.

Days do not need to be consecutive. Any part of a day counts as a full day of presence, including arrival and departure days. Sporadic absences are generally included in the count unless you can prove tax residency in another country.

Spain can also claim you as a tax resident if your centre of economic interests is in the country — for example, if your main source of income originates there. Having a spouse or dependent children who are Spanish tax residents can also trigger your own residency, even if you personally spend fewer than 183 days.

The day count

The 183-Day Rule in Spain

Spain counts every day you are physically present, including partial days. Arrive at 11 PM? That counts as a full day. An arrival on March 1 and departure on March 10 equals 10 days, not 9.

The counting period is strictly the calendar year (January 1 to December 31). Unlike Portugal or Estonia, Spain does not use a rolling 12-month window — so crossing into a new year resets the count.

Temporary absences from Spain are typically counted as days of presence unless you hold a tax residency certificate from another country. If that other country is on Spain's list of tax havens, you must prove you spent 183 days there instead.

Don’t accidentally become a tax resident in Spain

NomadSync tracks your days in every country automatically and warns you before you hit tax residency thresholds.

Try NomadSync — It’s Free

What you'll pay

Tax Rates

Income BracketRate
Up to €12,45019%
€12,451 – €20,20024%
€20,201 – €35,20030%
€35,201 – €60,00037%
€60,001 – €300,00045%
Over €300,00047%

These are combined state + default regional rates. Actual rates vary by autonomous community — Madrid tends lower, Catalonia higher. Residents are taxed on worldwide income.

Treaty relief

Double Taxation Treaties

Spain has 90+ double taxation treaties

Spain has signed double taxation treaties with over 90 countries, including the US, UK, Germany, France, and most EU members. These treaties follow the OECD model and contain tie-breaker rules based on permanent home, centre of vital interests, habitual abode, and nationality.

If you are considered a dual resident under both Spanish domestic law and another country's rules, the relevant treaty determines which country has primary taxing rights. You must actively claim treaty relief — it does not apply automatically. Maintain documentation of your ties to both countries.

For nomads

Digital Nomad Visa & Tax

Spain introduced its digital nomad visa under the Ley de Startups in January 2023. It allows remote workers employed by non-Spanish companies to live and work in Spain. The visa is granted for an initial 3 years and can be renewed for an additional 2 years.

Visa holders who spend 183 or more days in Spain become tax residents. Employed visa holders may elect the Beckham Law (Régimen de Impatriados), which applies a flat 24% tax rate on Spanish-source income up to €600,000 for 6 years. Foreign-source income is exempt under Beckham Law.

Self-employed digital nomads (autónomos) are not eligible for the Beckham Law and pay standard progressive IRPF rates up to 47%. All tax residents must register with the Agencia Tributaria and file an annual tax return.

Watch out

Common Mistakes

Assuming the Beckham Law applies to freelancers

The Beckham Law is only available to employees, not self-employed workers. If you work as a freelancer or autónomo in Spain, you pay the full progressive IRPF rates (up to 47%).

Forgetting that residency is all-or-nothing

Once you exceed 183 days, Spain taxes your worldwide income for the entire calendar year — not just from the date you arrived. This catches nomads who planned a ‘short’ stay that ran long.

Ignoring the centre of economic interests test

Even if you stay under 183 days, Spain can claim you as a tax resident if your main income source is there or if your spouse and children are Spanish tax residents.

Not filing the Modelo 720 foreign asset declaration

Spanish tax residents with overseas assets exceeding €50,000 must file the Modelo 720 declaration. Penalties for non-compliance have been reduced following an EU court ruling, but the filing obligation remains.

Last verified: May 2026

Tax disclaimer: This is general information, not tax advice. Tax laws change frequently and may be interpreted differently by local authorities. Always consult a qualified tax professional before making decisions based on this content.

Track your days. Avoid tax surprises.

NomadSync counts your days in Spain and every other country — and alerts you before you trigger tax residency.

Try NomadSync — It’s Free