How a digital nomad pays tax on a Spanish residency permit: tax resident or non-resident, IRPF and IRNR rates, the Beckham Law — plus a calculator that compares four strategies for your income and household.
How Digital Nomads Pay Tax on a Spanish Residency Permit
Current as of June 2026
You've moved to Spain (or you're about to) on a Digital Nomad Visa, working for foreign clients or remotely for a company back home — and one question keeps nagging: what about taxes here? Do you pay on everything? A little? Or can you just "wing it"?
Short answer: it all comes down to where you actually live.
You live in Spain most of the year → you're a tax resident and pay tax (IRPF) on your entire worldwide income, on a progressive scale — in practice usually 20–30% effective.
You're here on short stints, less than half the year → you're a non-resident and pay only for the period you worked from Spain (IRNR, ~24%), not on everything.
"Just not paying" → isn't a strategy. It's a deferred penalty.
That's really all three options. You can get a rough number in the calculator below — it compares scenarios by income, employment type, and household. But before we get into percentages, let's reframe what this tax is actually for.
Tax in Spain isn't a fine for living here. It's a subscription to the country. Like any subscription, it unlocks access — here, the "service" is European life itself. And like subscriptions, there's a full-price tier (for full-time residents) and a lighter one (for those who come and go).
The Full Plan — For Those Living Here Full-Time
What's included in the subscription:
World-class healthcare. Spain's public system is comparable in quality to good private clinics — for you and your entire family.
European mortgages. Declared income and a tax history make you a legible borrower for banks — property financing at reasonable rates.
Affordable credit and normal banking. Cards, personal loans, and installment plans without extra scrutiny — you're "in the system" financially.
Freedom to move around Schengen. Feel like a concert in Berlin or a weekend in Paris? Hop on a budget flight and you're there in a couple of hours — no visas, no hassle.
A path to permanent residency and a passport. The subscription "builds seniority": permanent residency after 5 years, then citizenship and a passport.
Stability and peace of mind. The residency permit renews without drama, kids go to school, and the family is covered by social protections.
The Lite Plan — For Those Who Come and Go
You pay less (only for the time you were actually in Spain) and get a "base" in Europe: an entry point into Schengen, somewhere to fly in and stay for a while, the flexibility to come and go as suits you. But the package is thinner: full public-healthcare residency, the path to a passport, and "built-up seniority" aren't included in the lite tier — for those, you pay with full-time residence.
Understanding which plan is yours, and what it costs, is the whole point of this article. Let's go through, in plain language, how digital nomads pay tax in Spain: what determines your rate, how much a digital nomad on a DNV actually pays, and which strategies are genuinely legal. Run your own case through the calculator.
⚠️
This explains the logic — it is not individual tax advice. Your actual IRPF rate depends on your autonomous community, marital status, and applicable deductions; social security rates and thresholds depend on your real income. Resident/non-resident status in disputed cases is determined under international agreements.
The EspañaGo team has been supporting DNV relocations since the visa launched in 2023. Let's go through your specific situation — message us on WhatsApp or email hello@espanago.com.
How Much Tax Does a Digital Nomad Pay in Spain?
Four strategies, four totals. Enter your numbers and compare. Tax in the results is shown as a monthly average.
Income
The income you show for your visa application. If you have additional worldwide income, add it here.
€
Spanish clients, renting out Spanish property, etc. Typically €0 for a nomad.
€
Affects the "in and out" scenario: as a non-resident, you pay IRNR only for the period you actually worked on Spanish soil. More than 6 months (183 days) and you're already a tax resident — see Scenario 1.
How You File & Your Household
This is a simplified estimate, not a precise calculation or professional advice. The 2026 IRPF scale shown is combined (national + regional), 19–47%; your actual rate depends on your autonomous community (Madrid tends to be lower, Valencia/Catalonia higher). Family allowances are applied in simplified form. Social security contributions apply only to self-employed applicants (employees don't pay a separate autónomo contribution): Year 1 ≈ €1,064/yr (tarifa plana flat-rate discount), standard rate is estimated from income. The discount applies only in Year 1 — from Year 2 you move to the standard rate.
"In and out" assumes you are a tax resident of another country and pay tax on your worldwide income there. IRNR here is calculated only for the period you worked in Spain (based on the number of months). Self-employed contributions, however, are paid year-round — not prorated for time spent in Spain. Living 183 days is no longer required to renew the visa (STS 05.06.2023), but how zero-income tax returns are treated remains unsettled, and this strategy works against getting permanent residency and citizenship. "Forget it" shows deferred risk, not an actual saving.
Beckham Law: flat 24% up to €600,000; available only if you entered on an employment basis (employee/administrator) — usually not available to pure self-employed (autónomo).
↓ Below: how it all works — resident or not, rates, the Beckham Law, and how to legally pay less.
Spanish Tax Resident or Not: The Main Fork in the Road for DNV Holders
A very common misconception: "I have a residency card, so I must be a tax resident." These are different things. A residency permit (your right to reside in Spain) lets you live in Spain. Tax residency is about which country you actually pay tax in. You can hold a residency permit and not be a Spanish tax resident. And vice versa.
You become a Spanish tax resident if at least one of these applies (Art. 9 of the IRPF Law):
you spend more than 183 days in Spain during a calendar year (in total, not necessarily consecutive);
the center of your economic interests is in Spain — your main source of income or business. This applies even without hitting 183 days;
your spouse and minor children live in Spain (creates a presumption of residency).
This question is the switch that determines which of the three scenarios below applies to you.
Scenario 1. "I Actually Live Here" — The Resident Who Pays
Who this is. You've moved seriously: you live in Spain most of the year, possibly with family. You work as a self-employed (autónomo) freelancer or as an employee. By every measure — you're a Spanish tax resident.
What you pay on. On your entire worldwide income — from any clients, in any country. This is IRPF (Impuesto sobre la Renta de las Personas Físicas, Spain's personal income tax).
How much. IRPF is a progressive, "stepped" tax. This is the combined 2026 scale (national and regional parts together). Your specific region moves the numbers slightly: Madrid's rates are lower, Valencia and Catalonia's are higher:
Portion of income
Rate (combined)
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%
The stepped principle saves you from panicking at the top-bracket numbers. Your entire income isn't taxed at the top rate — each slice is taxed at its own rate. Example: with €60,100 in income, the first €12,450 is taxed at 19%, the next slice at 24%, and so on — only the "extra" €100 above €60,000 falls under the 45% bracket. The result is an effective rate of roughly 26–27%, not the 37% or 45% the table might suggest.
Plus social security contributions — but only if you're self-employed (autónomo). A digital nomad applies one of two ways: as an employee (employment contract) or as a self-employed freelancer (autónomo). Employees don't pay a separate autónomo contribution. But a self-employed applicant pays a mandatory contribution to Social Security (Seguridad Social) on top of IRPF:
Year 1 — a flat-rate discount of €80/mo (≈€88.64 with the MEI surcharge);
the discount can be extended for another 12 months if your net income is below the minimum wage;
after that — based on brackets tied to your actual income, typically €200–590/mo;
in several autonomous communities (Madrid, Andalusia, Galicia, and others), new self-employed applicants get a cuota cero — €0.
These contributions unlock access to public healthcare and social benefits for you and your family.
Advantages of this strategy. Fully legal, the residency permit renews without questions, and you have access to deductions, mortgages, and a path to permanent residency and citizenship.
Downsides. You pay on your entire worldwide income and must declare foreign assets.
Worked Examples: What Different Households Pay
Let's look at four typical situations for a digital nomad who lives in Spain full-time (a resident). To make it concrete, we'll convert everything into familiar "per month" terms: how much you earn, how much goes to tax, and how much you keep. Click a situation to expand the full, step-by-step calculation.
Situation
You earn
Tax
Take-home
€3,000/mo
~€600/mo
~€2,400/mo
Single — €3,000/mo (€36,000/yr)
Personal tax-free allowance: €5,550. Taxable base: €36,000 − €5,550 = €30,450. By bracket: €12,450 × 19% = €2,366, then €7,750 × 24% = €1,860, remaining €10,250 × 30% = €3,075. Total tax ≈ €7,300/yr (~€600/mo); take-home ≈ €2,400/mo.
€4,000/mo
~€850/mo
~€3,150/mo
With a non-working spouse — €4,000/mo (€48,000/yr)
Tax-free allowance: €5,550 for yourself + €3,400 for joint filing with a non-working spouse = €8,950. Taxable base: €48,000 − €8,950 = €39,050. By bracket: €2,366 + €1,860 + (€15,000 × 30% = €4,500) + (€3,850 × 37% = €1,425). Total ≈ €10,150/yr (~€850/mo); take-home ≈ €3,150/mo. A non-working spouse adds €3,400 to the allowance — so the tax is lower than for a single filer with the same income.
Tax-free allowance: €5,550 + €3,400 + €2,400 (first child) + €2,700 (second child) = €14,050. Taxable base: €60,000 − €14,050 = €45,950. By bracket: €2,366 + €1,860 + €4,500 + (€10,750 × 37% = €3,978). Total ≈ €12,700/yr (~€1,060/mo); take-home ≈ €3,940/mo. Same income as the row above, but the second child adds €2,700 to the allowance — so the tax is lower.
Combined 2026 IRPF scale; family allowances applied in simplified form. Self-employed social security contributions are not included — that's a separate payment.
The key takeaway from the table: roughly 80% of income stays in your pocket — tax takes about a fifth, not "half," as many fear.
If you're self-employed, add social security contributions on top of these amounts (from €80/mo in Year 1 to €200–590/mo after that). Use the calculator above to get the exact picture for your income, region, and household.
Scenario 2. "I'm Here on and Off" — The Non-Resident
Who this is. You use Spain as one of your bases but spend less than 183 days here. Your center of life — and your tax residency — is elsewhere.
What you pay on. You declare and pay tax on your worldwide income where you are resident — not in Spain. In Spain, you pay only IRNR (the non-resident tax) and only on income from a Spanish source: renting out a Spanish apartment, a Spanish client, or income for work physically performed on Spanish soil. The rate is a flat ~24% (19% for EU/EEA residents).
You pay only for the time you're present. Tax applies to the portion of income you earned while physically working from Spain. Spend 1 month out of 12 here, and roughly 1 month's worth of annual income falls under IRNR — the rest has nothing to do with Spain. For example, with €36,000/yr in income and 1 month in Spain, the taxable base is ≈€3,000, so IRNR ≈€720. The less time you spend in Spain, the lower your Spanish tax. (Cross 6 months / 183 days, and you automatically become a tax resident — that's Scenario 1.)
If you have no Spanish-source income and rarely set foot in Spain — your Spanish tax approaches zero.
Why this is even possible (the legal basis). Immigration and taxation used to be tied together: to renew your residency permit, you had to live in Spain more than 183 days. That link was severed by a Spanish Supreme Court ruling (STS of 05.06.2023, recurso de casación 1843/2022): the court struck down Art. 162.2.e of the former regulation (RD 557/2011), which had allowed a temporary residency permit to be automatically terminated for absences of more than 6 months per year. The new regulation (RD 1155/2024, in force from 20.05.2025) did not reinstate that rule. The Digital Nomad Visa itself (Ley 14/2013, as amended by Ley 28/2022) does not determine tax residency.
Pitfalls:
You need to be able to prove tax residency elsewhere with a certificate of tax residency (ideally not from a "tax haven").
You don't need to live 183 days a year to renew — renewal is based on proving income (~€2,849/mo for 2026). But how immigration authorities will treat zero-income tax returns is an open question — there's no established practice yet, and building a long-term strategy on it is risky.
Self-employed applicants pay regardless. Even as a non-resident, a freelancer must pay IRNR (RD Legislativo 5/2004) on work physically performed on Spanish soil.
The hidden cost: permanent residency and citizenship. The main downside of the "in and out" strategy isn't tax — it's long-term. Permanent residency after 5 years, and citizenship after 10 (2 years for citizens of Ibero-American countries, the Philippines, Andorra, Equatorial Guinea, and Portugal) both require residencia efectiva (genuine, ongoing residence): extended absences reset the clock. Anyone spending just 4 months a year in Spain fails the continuity test and risks being stuck renewing a temporary permit indefinitely.
Scenario 3. "Forget It, I'm Not Paying"
To be honest: this isn't really a third legal option. It's Scenario 1, except the person simply never filed. If you live here full-time, you're a resident in fact, whether or not you filed a return. Here's what that actually risks — no scare tactics, just facts.
Hacienda will most likely find out — data flows in automatically: banks report account information, countries exchange tax data automatically under the CRS standard (your foreign income is visible), and your residency permit and time spent in Spain leave a paper trail.
If you catch it yourself, before the tax authority asks (late filing without a formal request): a 1% surcharge for each full month of delay; after 12 months, a flat 15% plus late-payment interest (about 4.06% annually in 2026).
If the tax authority finds it first — that's an infringement: penalties from 50% to 150% of the underpaid amount. Penalties are reduced for prompt agreement and payment, but the starting point is painful.
Large amounts move into criminal territory (delito fiscal). And separately — there's a risk to the residency permit itself: renewal applications check tax compliance.
Bottom line, no moralizing: the tax you "saved" easily turns into that same tax plus surcharges, interest, and penalties — and puts your legal status at risk.
Comparison Table
Scenario 1: full-time
Scenario 2: in and out
Scenario 3: "forget it"
Who you are to Spain
Tax resident
Non-resident
Resident (in fact)
What you pay on
Entire worldwide income
Spanish-source income only
Should pay on everything — but doesn't
Tax
IRPF, 19–47%+
IRNR ~24% (or ~0)
€0 now → surcharges and penalties later
Social security contributions
Yes (self-employed)
Usually no
—
Compatible with the DNV
Yes
Yes
Puts the visa at risk
Risk
None
Moderate
High
How to Legally Pay Less
The rates aren't as scary as they look (it's stepped!), and there are legal ways to reduce your taxable base.
1. Personal and Family Tax-Free Allowance
Part of your income isn't taxed at all — the amounts depend on your household (approximate national figures; autonomous communities can adjust them):
yourself — ≈ €5,550;
first child — ≈ €2,400;
second child — ≈ €2,700;
joint filing with a non-working spouse — an additional ≈ €3,400.
A family with a working spouse, a non-working second spouse, and two children can shield roughly €14,000 from tax in total.
2. Business Expenses (for the Self-Employed)
Tax is paid on profit, not revenue: your taxable IRPF base is receipts minus business-related expenses. The more legitimate, documented expenses you claim (backed by invoices), the lower your IRPF base. What's typically deductible:
equipment and furniture for work (laptop, monitor, desk, chair);
internet, mobile service, work subscriptions and tools (hosting, software, cloud);
coworking or office rent;
professional training and relevant courses;
a share of utilities and rent if you have a dedicated home workspace (based on floor-area share — handle carefully and per the rules);
the autónomo cuota itself, bank fees on your business account, and gestor (tax-adviser) fees.
The key rule: an expense must be tied to your business activity, backed by an invoice in your name/NIF (Spanish tax ID), and reasonably justified. Blanket "write off everything" claims get challenged by the tax authority.
What not to do — hide real income. Because of automatic exchange of information (CRS), the tax authority also sees income from other countries. A legal strategy (allowances + expenses + the Beckham Law where it fits your profile) is cheaper than hiding income.
Double Taxation: Does It Apply to You?
The idea behind double-tax treaties is simple: the same income shouldn't be taxed twice — tax paid in one country is generally credited against the liability in the other.
But the practical impact depends on your home country. Spain has double-tax treaties in force with the United States, the United Kingdom, and Canada, so the treaty mechanism itself is available — how it plays out differs by nationality:
US citizens: the US taxes citizens on worldwide income no matter where they live (citizenship-based taxation), so becoming a Spanish tax resident does not end your US filing obligations — you still file with the IRS, report foreign accounts under FBAR/FATCA, and typically use the Foreign Earned Income Exclusion (FEIE) or the Foreign Tax Credit (FTC) to avoid paying tax twice on the same income. The US–Spain tax treaty and the US–Spain totalization agreement (updated by a 2023 protocol) are both in force.
UK citizens: the UK–Spain double taxation agreement is in force. Once you meet Spain's tax-residency tests, you typically also cease UK tax residency under the UK's Statutory Residence Test (SRT) — worldwide income then falls under Spanish IRPF rather than UK tax, subject to your specific circumstances.
Canadian citizens: the Canada–Spain tax treaty is in force. Canada uses residence-based (not citizenship-based) taxation, so once Spanish tax residency is established, Canadian tax residency and worldwide-income filing obligations generally shift to Spain as well.
Whether double taxation actually arises — and exactly how a treaty applies — depends on your specific income sources (a rental property back home, a pension, investment gains, a second employer) and needs case-by-case review by a cross-border tax adviser familiar with both your home country's rules and Spain's. This section is informational only — not tax advice.
Stage Two: The Beckham Law — Who Benefits, and When
The "Beckham Law" (Art. 93 of the IRPF Law) is a special regime that lets you pay a flat 24% on income up to €600,000 (47% above that) instead of the progressive scale. It applies for the year of relocation plus 5 more years (up to 6 tax periods in practice), and during that time your worldwide passive income and foreign assets are not taxed in Spain.
Who benefits. Mainly employees and startup hires with income from roughly €60,000 upward (for a two-person household, the break-even point is higher). At that income level, your ordinary effective rate approaches 24–25% and keeps climbing, while the Beckham Law locks in 24% flat.
What promotional guides don't always mention — and what matters:
the regime is only available if you were not a Spanish tax resident during the previous 5 years;
you must enter on an employment basis (contract, administrator status, remote-employee visa). Pure self-employed (autónomo) applicants are usually not eligible — this is the main trap for freelance nomads;
at lower income, or with family allowances in play, the ordinary regime can turn out cheaper than the Beckham Law — you need to run both numbers.
So the Beckham Law isn't a blanket win for everyone — it's a tool for a specific profile. Check eligibility before you apply.
Why Paying Tax Is Actually Worth It
Back to where we started: tax is a subscription to Spain, not a penalty. The more honestly you pay it, the more "features" stay unlocked. The full plan (resident) keeps the most valuable things active: a path to permanent residency and a passport, world-class public healthcare, European mortgages and affordable credit, freedom of movement across Schengen, and stress-free residency-permit renewals.
Evasion works the other way — like using a subscription service without paying: sooner or later access gets cut off, plus a penalty (see Scenario 3). So the real question isn't "pay or not" — it's "which plan makes sense for you," and how to legally lower its price.
Frequently Asked Questions
How do digital nomads pay tax in Spain?
It all depends on tax residency. If you spend more than 183 days in Spain, you're a resident and pay IRPF on your entire worldwide income on a progressive scale (19–47%). If you spend less time here and your center of life is elsewhere, you're a non-resident and pay only IRNR (~24%) on Spanish-source income, while your worldwide income is taxed in your country of residence.
Do I have to pay tax under the Digital Nomad Visa?
The Digital Nomad Visa itself does not create tax residency. The tax obligation follows from where you actually live and where your center of interests is, not from holding a residency permit. But if you live in Spain full-time, you do have to pay — and ignoring it leads to surcharges and penalties.
How much tax does a digital nomad pay in Spain?
At typical income levels, the effective IRPF rate works out to roughly 20–30% (don't confuse this with the top bracket percentages — tax is calculated in "steps"). On top of that, self-employed applicants pay social security contributions: from €80/mo in Year 1 to €200–590/mo afterward. Use the calculator above for the exact figure for your income and household.
Can I avoid living in Spain 183 days with a Digital Nomad Visa and pay less tax?
You no longer need to live 183 days a year to renew the visa (following the Spanish Supreme Court ruling STS of 05.06.2023). In that case you remain a non-resident and pay Spanish tax only on Spanish-source income. But this works against getting permanent residency and citizenship (which require genuine ongoing residence), and how immigration authorities treat zero-income tax returns is not yet settled.
Which is better — the ordinary regime or the Beckham Law?
The Beckham Law (a flat 24% up to €600,000) is usually worthwhile at income of roughly €60,000 or more, and fits employees and startup hires. It's often unavailable to pure self-employed (autónomo) applicants, and at lower income the ordinary regime with family allowances can work out cheaper. Run both numbers.
Disclaimers
This article explains the logic — it is not individual tax advice. Your actual IRPF rate depends on your autonomous community, marital status, and applicable deductions; social security rates and thresholds depend on your real income. Resident/non-resident status in disputed cases is determined under international agreements. Run your own numbers in the calculator above, and make your decision together with a qualified adviser.