If you spend fewer than 183 days in Spain in a calendar year and Spain is not your primary economic base, you are not a Spanish tax resident and have no obligation to file a Spanish tax return. If you exceed 183 days — or establish your “centre of vital interests” in Spain — you become a tax resident and must declare your worldwide income. The Spain Digital Nomad Visa offers a legal and tax-efficient route to longer stays, with a flat 24% income tax rate for up to six years instead of the standard progressive rates of up to 47%.
Tax is the question every remote worker asks before heading to Spain, and understandably so — Spain is known for its high taxes, which for many people defeats the purpose of being a digital nomad. The answers involve EU free movement rules, Schengen visa limits, Spanish residency law, international tax treaties, and the relatively new Digital Nomad Visa — none of which are especially simple on their own, let alone together. This guide cuts through the complexity and gives you a clear picture of where you stand depending on your situation.
The Foundation: What Makes You a Spanish Tax Resident?
Spain’s tax residency rules are set out in the Ley del IRPF (Personal Income Tax Law). You become a Spanish tax resident — and therefore liable to declare your worldwide income to the Spanish tax authority (the Agencia Tributaria, or AEAT) — if any of the following apply:
- The 183-day rule: You spend more than 183 days in Spain during a calendar year (1 January to 31 December). Sporadic absences count as time spent in Spain unless you can prove tax residency elsewhere.
- Centre of vital interests: Spain is where the core of your economic activities or business interests is based — even if you spend fewer than 183 days there.
- Family ties: Your non-separated spouse and/or dependent minor children habitually reside in Spain (creates a presumption of residency, which you can rebut with evidence).
The centre of vital interests test operates independently. If you are a freelancer working primarily for Spanish clients, running a Spanish business, or have most of your economic life based in Spain — you can become a tax resident even if you are physically present for fewer than 183 days. In practice, most short-term remote workers (working for clients or employers outside Spain) have nothing to worry about on this front. But it’s worth knowing the rule exists.
How Long Can You Work Remotely in Spain Without Paying Tax?
The answer depends on your nationality and visa situation.
EU/EEA citizens
EU and EEA citizens have the right to live and work anywhere in Spain without a visa. The tax clock starts the moment you arrive. You can stay indefinitely, but as soon as you cross 183 days in a calendar year, you become a Spanish tax resident. If you stay under 183 days and maintain tax residency in another EU country, you pay tax at home — though you should check your home country’s rules on remote working abroad, as some countries have their own tests.
Non-EU citizens (without a DNV visa)
Without a visa, non-EU nationals are limited to 90 days within any 180-day rolling period in the Schengen area. This is an immigration rule, not just a Spanish one. Staying beyond 90 days without a visa is illegal regardless of your tax position. In practice, the 90-day cap means most visa-free nomads cannot accidentally become Spanish tax residents — they’re forced to leave before reaching 183 days. However, repeatedly spending 90 days in Spain every six months exists in a grey area and should not be treated as a long-term strategy.
Non-EU citizens with the Digital Nomad Visa
The Spain Digital Nomad Visa changes the picture entirely. It grants the legal right to live and work in Spain for up to one year initially, renewable for up to five years. DNV holders will, by definition, be staying longer than 183 days and will become Spanish tax residents. However — and this is the significant advantage — DNV holders can opt into a special tax regime (the Régimen Especial de Trabajadores Desplazados, informally known as the Beckham Law) that applies a flat 24% tax rate on Spanish-source income rather than the standard progressive rates of up to 47%.
- Under 90 days: Legal for non-EU citizens. Not a tax resident. No Spanish tax obligation.
- 90–183 days: EU citizens can stay; non-EU citizens need a visa. Not yet a tax resident (below 183-day threshold). Tax residency in your home country typically remains intact.
- Over 183 days: You are a Spanish tax resident. You must file a Spanish annual tax return (Modelo 100) and declare worldwide income — unless you opt into the DNV special regime (if eligible).
Practical Scenarios: Where Do You Stand?
🌍 Short-term nomad (under 90 days)
Working remotely from Spain (for a non-Spanish company) for a few weeks or months. Non-EU citizen on a tourist entry. Under the Schengen 90-day limit.
No Spanish tax obligation🇪🇺 EU citizen, 3–6 month stay
Living in Spain under EU free movement, working for a non-Spanish employer or client. Staying under 183 days in the calendar year.
Not a tax resident (if under 183 days)🔄 “Perpetual tourist” strategy
Non-EU citizen repeatedly entering Spain for 90 days, leaving, returning. Not technically illegal short-term, but risky long-term and not legally sustainable.
Grey area — not a long-term solution🗂️ DNV visa holder
Non-EU remote worker, legally resident in Spain under the Digital Nomad Visa. Working for non-Spanish clients or employer. Over 183 days.
Tax resident — flat 24% rate available🏠 Settled in Spain (no visa planning)
EU or non-EU citizen who has been living and working in Spain over 183 days without registering or taking legal advice. Income declared nowhere.
Tax resident — liable, seek advice urgently💼 Autónomo in Spain
Self-employed, registered as autónomo, working with clients inside or outside Spain. A Spanish tax resident by definition.
Tax resident — standard IRPF rates applyThe Digital Nomad Visa Tax Regime: How the Flat 24% Rate Works
This is the most important tax benefit available to qualifying remote workers in Spain, and it’s frequently misunderstood. Here’s exactly how it works:
Who qualifies?
You must have been granted the Spain Digital Nomad Visa (or the equivalent permit if already in Spain) and must not have been a Spanish tax resident in the previous five years. You must be working remotely for companies or clients whose headquarters or operations are primarily outside Spain (though up to 20% of your income can come from Spanish clients).
What does the regime give you?
| Feature | Standard IRPF (regular tax resident) | DNV Special Regime |
|---|---|---|
| Tax rate | 19%–47% progressive (on worldwide income) | 24% flat rate (on income up to €600,000) |
| Income covered | Worldwide income | Spanish-source income only (foreign income generally exempt) |
| Duration | Ongoing while tax resident | Up to 6 tax years |
| Wealth tax | On worldwide assets | On Spanish assets only |
| Filing | Modelo 100 | Modelo 151 (simpler) |
A remote worker earning €60,000/year under standard IRPF would pay approximately €17,000–€19,000 in income tax (progressive rates). Under the DNV special regime, they’d pay €14,400 (24% flat). On €80,000, the saving grows to several thousand euros per year. The higher your income, the more significant the advantage — which is precisely why Spain designed it this way to attract high-value remote workers.
How to apply for the regime
You must apply within six months of registering as a Spanish tax resident (which happens when you get your DNV and NIE). The application is filed via Modelo 149 with the AEAT. Miss this window and you lose the option for that tax year. It’s worth working with a Spanish tax advisor (gestora) to ensure the application is filed correctly and on time.
Standard Spanish Income Tax Rates (IRPF)
If you are a Spanish tax resident and do not qualify for (or do not opt into) the DNV special regime, you pay IRPF at progressive rates. These rates combine the national rate and a regional rate, which varies slightly by autonomous community.
| Taxable income (annual) | Approximate combined 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% |
These are marginal rates — you only pay the higher rate on the portion of income above each threshold, not on your total income. Regional variations can move these rates up or down by 1–3 percentage points depending on which autonomous community you live in. The Canary Islands apply their own system (IGIC at 7% instead of mainland IVA at 21%), though this applies to consumption taxes rather than income tax.
Double Taxation: What If You’re Already Paying Tax Somewhere Else?
One of the most common fears is being taxed twice — paying tax in Spain and also in your home country. In practice, this is almost always avoidable, for two reasons:
Double taxation treaties
Spain has bilateral double taxation agreements with over 90 countries, including the UK, USA, Canada, Australia, Germany, France, and most of Europe. These treaties define which country has the right to tax which types of income, and usually provide a credit mechanism so that any tax paid in one country reduces your liability in the other. The specific rules depend on the treaty — if you’re from a country with a Spanish tax treaty, a good gestora will help you structure your affairs to avoid double taxation entirely.
The DNV regime and foreign income
Under the DNV special regime, your foreign-source income (income from clients or employers outside Spain) is generally taxed only in Spain — it is not subject to the normal worldwide income rule. This simplifies things considerably for most nomads whose income comes from outside Spain.
The United States taxes its citizens on worldwide income regardless of where they live — one of only two countries in the world to do so. American digital nomads in Spain face a more complex situation and should work with a cross-border tax specialist familiar with both US and Spanish tax law. The Foreign Earned Income Exclusion (FEIE) and Foreign Tax Credit can reduce or eliminate double taxation in many cases, but proper planning is essential.
Social Security: The Separate Question
Income tax and social security are separate systems, and both matter if you’re self-employed in Spain.
If you register as an autónomo (self-employed) in Spain, you pay monthly social security contributions to the TGSS. Since 2023, these contributions are income-based, ranging from approximately €200/month for lower earners to €590/month for higher earners. The first year often comes with the tarifa plana flat-rate benefit of €80/month, giving you time to get established.
If you are employed by a company outside Spain and working remotely as an employee (not self-employed), the social security situation depends on whether your employer is in an EU country, a country with a social security agreement with Spain, or neither. This affects whether you continue contributing to your home country’s system or need to join the Spanish one. The DNV visa has specific provisions for this — employed DNV holders typically continue contributing to their employer’s home country social security system under an A1 certificate or equivalent.
Use our autónomo tax and social security calculator to model what your actual monthly and annual costs would look like as a self-employed person in Spain.
Common Myths About Digital Nomads and Spanish Tax
❌ “I’m just a tourist working on my laptop — Spanish tax doesn’t apply to me”
For short stays (under 90 days, under 183 days), this is broadly true. But “working remotely” is not the same as “not having a tax obligation.” If you exceed 183 days or establish economic ties to Spain, you become a tax resident whether or not you feel like a tourist. Calling yourself a tourist does not change your legal status.
❌ “My employer pays my tax at home, so I have nothing to file in Spain”
If you are a Spanish tax resident, you must file a Spanish annual return regardless of where your employer is based or whether you pay tax elsewhere. The double taxation treaty may result in zero additional tax owed, but the filing obligation still exists once you cross the residency threshold.
❌ “The 183-day rule resets every January 1st, so I can do two 90-day stints each year”
The 183-day rule runs per calendar year, so yes — technically two 90-day visits in the same year keeps you under 183 days. But for non-EU citizens without a visa, each separate entry is subject to the Schengen 90/180 rule (90 days in any rolling 180-day period), not just 90 days per year. And repeatedly entering on tourist status while clearly working remotely is an immigration grey area, not a tax planning strategy.
❌ “If Spain can’t see my income, I don’t need to declare it”
Spain participates in the OECD’s Common Reporting Standard (CRS), which enables automatic exchange of financial information between over 100 countries. Foreign bank accounts, investment income, and freelance earnings paid to foreign accounts are increasingly visible to Spanish tax authorities. The practical risk of being caught for undeclared income has risen significantly in the past decade.
Practical Steps: Getting Your Tax Affairs Right in Spain
- Determine your residency status based on days spent in Spain this calendar year and your economic ties. If you’re under 90 days on a tourist entry, you’re in the clear. If you’re approaching 183 days or have a DNV, read on.
- Get your NIE (foreigner identification number) — required for any tax filing, banking, or official registration in Spain.
- Register on the padrón (municipal register) if you’re staying long-term. This establishes your official address in Spain and is required for many administrative processes. Read our empadronamiento guide
- Apply for the DNV special tax regime (Modelo 149) within six months of becoming a tax resident, if you’re eligible. Don’t miss this window.
- Find a good gestora — a Spanish tax advisor/accountant who handles expats and remote workers. Most charge €200–€500/year for personal tax returns, which is well worth it given the complexity.
- File your annual return (Modelo 100 or 151) each spring for the previous tax year. The AEAT opens the filing window in April.
Frequently Asked Questions
I’ve been in Spain for 150 days this year. Am I a tax resident?
Not based on days alone — you’re below the 183-day threshold. However, if Spain is where most of your economic activity takes place (your clients are Spanish, your business is based here, etc.), the “centre of vital interests” test could still apply. For most remote workers with non-Spanish clients, 150 days in Spain does not create a Spanish tax residency. That said, you’ll want to keep a clear record of your days in Spain in case you need to demonstrate this later.
Does time on the Canary Islands count toward the 183-day Schengen rule?
Yes. The Canary Islands are part of Spain and part of the Schengen Area. Days spent on any of the islands — Tenerife, Gran Canaria, Lanzarote, Fuerteventura, La Palma, La Gomera, or El Hierro — count toward both the Schengen 90/180 rule and the Spanish 183-day tax residency threshold. The Canary Islands’ special tax status (IGIC instead of IVA) relates to consumption tax, not immigration or personal tax residency.
Can I avoid Spanish tax by keeping my bank account in another country?
No. Spanish tax residency is determined by where you live and work, not where you bank. If you are a Spanish tax resident, you are required to declare your worldwide income regardless of which country it is received or held in. Spain participates in the CRS (Common Reporting Standard) — foreign banks in participating countries report account information to their local tax authorities, which then share it with Spain. Attempting to hide income in foreign accounts is tax evasion, not tax planning.
What happens if I become a Spanish tax resident and don’t file?
Failure to file is treated as non-compliance by the AEAT. Penalties range from €150 for minor late filing to substantial fines (20–150% of the undeclared tax amount) for deliberate non-declaration. In serious cases involving large amounts, criminal prosecution is possible. The AEAT has significantly increased its enforcement activity on remote workers and expats in recent years. If you’ve missed filings, it’s better to approach the AEAT proactively (with the help of a gestora) than to wait to be discovered.
I work for a UK company remotely. Do I still pay UK tax if I move to Spain?
This depends on your personal tax residency and the Spain-UK double taxation treaty. If you become a Spanish tax resident and cease being a UK tax resident (which happens when you leave the UK permanently and spend fewer than 183 days there), your employment income is taxed in Spain — even though your employer is UK-based. Your UK employer will need to adjust their payroll accordingly, which can be administratively complex. Many UK-employed remote workers in Spain use an Employer of Record (EOR) or work via a Spanish entity to simplify this. Speak to a cross-border tax specialist before making the move.
Is the Digital Nomad Visa worth it for tax reasons alone?
For many people, yes. The flat 24% rate vs standard IRPF rates of up to 47% is a substantial difference at medium-to-high income levels. A remote worker earning €70,000/year saves roughly €5,000–€7,000 in annual income tax under the DNV regime compared to standard IRPF. Over the six-year duration of the regime, that’s a significant sum. The visa also gives you legal certainty — you’re not operating in a grey area, you have proper residency, you can open Spanish bank accounts easily, and you can travel within the Schengen area freely. The tax benefit is one part of a broader set of advantages. Read our full Digital Nomad Visa guide for the complete picture.
Do I pay Spanish tax on rental income from a property in another country?
If you are a Spanish tax resident, you are in principle required to declare worldwide income, which includes foreign rental income. However, most double taxation treaties assign the right to tax rental income to the country where the property is located. This means you’d pay tax on the foreign rental income in the country where the property sits, and then apply a tax credit or exemption in Spain so you’re not taxed twice. The specific mechanics depend on the treaty between Spain and the country where your property is located.
What’s the difference between a NIE, TIE, and being on the padrón?
These are three different things that often get confused. Your NIE (Número de Identificación de Extranjero) is your tax identification number — a permanent number assigned to you that you need for any tax, banking, or legal activity in Spain. Your TIE (Tarjeta de Identidad de Extranjero) is your physical residence card, issued to non-EU residents with a long-stay visa like the DNV. The padrón is the municipal register — registering on it confirms your address in a specific municipality and is required for accessing local services, healthcare registration, and various administrative processes. You can have a NIE without a TIE (e.g. for a property purchase); you need a TIE if you’re a non-EU resident. Getting on the padrón is a separate step from both. Read our detailed guide on the NIE vs TIE
Official Sources & Further Reading
The information in this article is drawn from Spanish tax law and the following official sources. For the most current rules, always check directly with the relevant authority or consult a qualified Spanish tax advisor.
Spain’s official tax authority. Full rules on personal income tax residency, rates, and filing obligations.
Official guidance on the Régimen Especial de Trabajadores Desplazados, including the DNV flat 24% rate and Modelo 149 application.
Official information on the visa for international remote workers, eligibility, and application requirements.
Official EU guidance on the 90/180-day rule for non-EU nationals travelling within the Schengen zone.
Full list of Spain’s bilateral double taxation agreements, searchable by country.
How over 100 countries automatically exchange financial account information — relevant to foreign bank accounts and undeclared income.
The legislation that introduced the Spain Digital Nomad Visa and updated the special expat tax regime for remote workers.
Ready to plan your move to Spain?
Read our complete DNV guide or use our autónomo calculator to model your real take-home income.
Disclaimer: This article is for informational purposes only and does not constitute legal or tax advice. Spanish tax law is complex and individual circumstances vary significantly. Always consult a qualified Spanish tax advisor (gestora or asesoría fiscal) for advice specific to your situation. Information correct as of 2026; tax laws are subject to change.


