🌍
NomadTreaty 2026
🇪🇸 Spanish Startup Act (Ley 28/2022) • International Tax Audit • Updated 2026

Spain Beckham Law vs Digital Nomad Visa: 24% Flat Tax vs Foreign Income Exemption Realities

⚡ Quick Answer: Spanish Digital Nomad Taxation Truth

Holding a Spanish Digital Nomad Visa does not grant automatic foreign income exemption. Without the Beckham Law (Article 93 LIRPF) election, remote workers residing over 183 days face progressive tax rates reaching 47% on worldwide earnings. Beckham Law status fixes taxation at a flat 24% up to €600,000 while completely exempting non-Spanish investment dividends and foreign assets.

One of the most dangerous and widespread misconceptions circulating in the international remote work community is that Spain’s Digital Nomad Visa (DNV)—created under the landmark Ley de Fomento del Ecosistema de las Empresas Emergentes (commonly known as the Ley de Startups, Law 28/2022)—functions as a territorial tax holiday. Internet marketing frequently conflates immigration authorization with fiscal non-residence.

In Spanish jurisprudence, immigration permissions granted by the Unidad de Grandes Empresas y Colectivos Estratégicos (UGE-CE) are legally distinct from tax residence governed by the General Tax Law (Ley 58/2003, LGT) and the Personal Income Tax Law (Ley 35/2006, LIRPF). Simply obtaining a residency card (TIE) as a teleworker does not decouple your worldwide remuneration from the Spanish treasury (Agencia Estatal de Administración Tributaria, AEAT). Unless a founder or employee actively executes an opt-in filing under Article 93 of the LIRPF—the celebrated Special Impatriate Regime, colloquially known as the Beckham Law—they default into general tax residency, exposing every dollar, pound, and euro of global revenue to marginal rates exceeding 45% to 50% depending on the Autonomous Community.

1. Legal Architecture: Standard IRPF Worldwide Tax vs Article 93 Impatriate Regime

To understand the dichotomy between standard residency and the Beckham Law, one must evaluate the criteria governing tax residency in Spain under Article 9.1 of the LIRPF. An individual becomes an ordinary Spanish tax resident if they fulfill any of three statutory tests:

  1. Physical Presence: Staying more than 183 days in Spanish territory during a natural calendar year (sporadic absences count as presence unless residency abroad for over 183 days is certified by a foreign tax authority).
  2. Economic Nucleus: Having the primary base or direct/indirect core of your economic activities or financial interests located within Spain.
  3. Familial Presumption: Having a legally non-separated spouse and dependent minor children who customarily reside in Spain (rebuttable presumption).

When an ordinary tax residency triggers, the taxpayer is governed by the progressive scale of Impuesto sobre la Renta de las Personas FĂ­sicas (IRPF). Standard IRPF aggregates worldwide employment earnings, freelance invoices, corporate dividends, staking rewards, and capital gains into a global tax base.

In contrast, the Beckham Law (Régimen Especial de Trabajadores Desplazados), overhauled specifically to encompass international teleworkers under Law 28/2022, creates an artificial fiscal fiction: the taxpayer remains physically resident in Spain for immigration and living purposes, but is taxed under the rules of the Impuesto sobre la Renta de No Residentes (IRNR) for the year of arrival and the subsequent five tax years (totaling six fiscal periods).

Empirical Tax Liability Benchmark: Standard IRPF vs Beckham Law (2026)

Gross Annual Remuneration Standard IRPF (Madrid) Standard IRPF (Catalonia) Beckham Law (24% Flat) Net Beckham Advantage
€45,000 €10,240 (22.7%) €10,890 (24.2%) €10,800 (24.0%) -€560 to +€90
€65,000 €18,480 (28.4%) €19,950 (30.7%) €15,600 (24.0%) +€2,880 to +€4,350
€95,000 €31,780 (33.4%) €34,600 (36.4%) €22,800 (24.0%) +€8,980 to +€11,800
€150,000 €58,180 (38.8%) €63,100 (42.1%) €36,000 (24.0%) +€22,180 to +€27,100
€250,000 €104,180 (41.7%) €113,100 (45.2%) €60,000 (24.0%) +€44,180 to +€53,100
€600,000 €261,680 (43.6%) €288,100 (48.0%) €144,000 (24.0%) +€117,680 to +€144,100
*Note: Standard IRPF figures calculate combined state (tramo estatal) and regional (tramo autonómico) scales assuming single taxpayer without disability or dependent child deductions. Excludes employee Social Security deductions (max base capped at €4,720.50/mo in 2026).

2. The Break-Even Income Threshold: When Does the Beckham Law Beat Progressive IRPF?

Because the Beckham Law imposes an unyielding flat rate of 24% starting from the very first euro earned, it does not provide the personal and family minimum allowances (mínimo personal y familiar of €5,550 base) or progressive lower tax brackets (19% on the first €12,450) available under standard IRPF.

Consequently, an empirical break-even analysis reveals critical strategic nuances:

  • Below €45,000 Annual Gross: Electing the Beckham Law is actually financially detrimental. Under standard IRPF in communities like Madrid or Andalusia, personal allowances, deductible social security contributions, and progressive lower brackets produce an effective tax rate between 18.5% and 23.2%—lower than the 24% flat rate.
  • Between €50,000 and €60,000: The financial divergence is marginal (less than €1,500 difference). However, the administrative compliance cost of private gestor filing for Modelo 151 and initial Modelo 149 setup (€800–€1,500) may nullify tax arbitrage.
  • Above €65,000: The Beckham Law generates immediate and compounding alpha. At €100,000, the annual net cash retained exceeds €10,000. At €200,000, savings surpass €33,000 annually.
  • Above €600,000: Earnings above €600,000 are taxed at 47% under IRNR, matching top domestic brackets. However, the initial €600,000 chunk retains its locked 24% rate, permanently banking €138,000+ in annual tax differential.

3. Employee Remote Workers vs Freelance Contractors (AutĂłnomos)

Prior to the 2023 Startup Act reforms, independent contractors and self-employed individuals were categorical exclusions from the Beckham Law. The regime was historically restricted to senior multinational executives relocated by corporate parent entities. Law 28/2022 formally extended Article 93 eligibility to remote contractors holding the Digital Nomad Visa, but erected substantial structural conditions.

The Three Qualifying Avenues for Digital Nomads

Pathway A: Foreign Employment

Direct employment contract with an enterprise outside Spain. Teleworking is authorized in writing by the company. Company cannot possess a permanent establishment (PE) in Spain.

Pathway B: Entrepreneur / Autonomo

Providing services as an independent professional to foreign entities. A maximum of 20% of professional revenue may be invoiced to companies physically established in Spain.

Pathway C: Startup Administrator

Assuming a directorial role in an innovative enterprise certified by ENISA. Equity ownership caps were eliminated, allowing majority founder-CEOs to qualify.

The AutĂłnomo Trap: While independent contractors can now elect the Beckham Law, doing so creates a profound trade-off regarding professional expense deductions. Under standard IRPF, an autonomous contractor can deduct home office expenses, hardware depreciations, software licenses (AWS, GitHub, Datadog), accounting fees, and travel costs against their gross revenue before tax. Under Article 93, no operational deductions whatsoever are permitted; the 24% rate is levied on 100% of gross invoice volume.

4. Foreign Income Realities: Dividends, Capital Gains, and Crypto Assets

The most transformative fiscal mechanism of the Beckham Law does not reside in the 24% earned income rate, but in its strict territorial ring-fencing of investment income (rentas del capital).

§ Capital Taxation Comparison Matrix

Standard IRPF Tax Resident
  • • Worldwide dividends taxed at progressive savings rates (19% to 28% in 2026).
  • • Global stock sales and startup equity exits taxed at up to 28%.
  • • Crypto token staking and capital gains taxed at 19%–28%.
  • • Mandatory submission of Modelo 720 disclosing all offshore bank accounts, investment portfolios, and real estate exceeding €50,000.
Beckham Law Impatriate Resident
  • • 0% Spanish Tax on foreign corporate dividends (US, UK, Estonia, etc.).
  • • 0% Spanish Tax on offshore capital gains (stock portfolio sales, foreign fund redemptions).
  • • 0% Spanish Tax on non-Spanish real estate rental profits.
  • • 100% Exemption from Modelo 720 foreign asset reporting obligations.

Caveat Emptor: Only investment returns sourced outside of Spain qualify for this exemption. If an impatriate sells shares in a Spanish SL or receives rental dividends from an apartment in Valencia, those proceeds are classified as Spanish-source capital income and taxed under non-resident savings brackets (19%). Furthermore, carried interest from venture capital funds receives distinct statutory treatment depending on whether fund management takes place within Spanish borders.

5. Wealth Tax (Patrimonio) and the Solidarity Tax (ITSGF) Shield

Spain remains one of the few European jurisdictions maintaining an active net wealth tax (Impuesto sobre el Patrimonio), complemented by the nationwide Temporary Solidarity Tax on Large Fortunes (Impuesto Temporal de Solidaridad de las Grandes Fortunas, ITSGF), levying up to 3.5% annually on net wealth exceeding €3,000,000.

For founders holding substantial liquid portfolios or high-valuation startup equity, ordinary Spanish tax residency can trigger crippling annual wealth tax assessments, even if no liquidity event has occurred.

The Real Estate Situs Limitation

Under Article 93, taxpayers are classified as non-residents for wealth taxation. By law, non-residents are subject to wealth tax exclusively under obligación real (real obligation)—meaning wealth tax applies only to assets physically situated or legally exercisable in Spain. A founder residing in Barcelona with an investment portfolio of €20,000,000 in Interactive Brokers US and Swiss custodian vaults pays exactly €0.00 in Spanish Wealth and Solidarity Taxes under the Beckham Law.

6. Social Security Contributions: RETA vs Bilateral Totalization Certificates

Taxation and Social Security are administered under completely independent regulatory codes in Spain. Qualifying for the Beckham Law does not grant an exemption from Social Security obligations (Seguridad Social).

Spain operates two primary regimes for remote workers:

1. Régimen Especial de Trabajadores Autónomos (RETA)

For self-employed contractors. Under the progressive contribution system enacted in Royal Decree-Law 13/2022, monthly contributions are calculated on real net earnings (rendimientos netos). Monthly dues range from €230/month (base tier) up to €590/month (top tier for monthly net income over €6,000). First-time autónomos enjoy the Tarifa Plana of €80/month for the initial 12 months (extendable to 24 months if net income remains below statutory minimum wage).

2. Régimen General (Employed Teleworkers)

Foreign employers must either register with the Spanish Social Security system as an employer (obtaining a Código de Cuenta de Cotización, CCC) and contribute roughly 31.4% in employer dues on top of the worker's 6.35% employee portion (capped at €4,720.50 monthly base), or establish an Employer of Record (EOR) structure.

3. Bilateral Social Security Certificates of Coverage (Totalization)

If your employer is based in a country with a bilateral totalization treaty with Spain (e.g., the United States, United Kingdom, Canada), you may secure a certificate of coverage (such as an A1 Certificate within the EU/EEA, or US Form USA/E 101). This legally excuses both employer and employee from Spanish Social Security for up to 2 to 5 years, keeping contributions anchored in your home country.

7. Procedural Roadmap: Filing Modelo 149, Strict 6-Month Deadlines & AEAT Scrutiny

The Beckham Law election is an administrative tightrope. Missing the statutory filing window results in automatic and irrevocable forfeiture of the regime for the entirety of your stay in Spain.

Step 1 • NIE and Social Security Affiliation

Upon entering Spain under the DNV or getting your consular resolution approved, obtain your NIE and register with Social Security or verify your home-country Certificate of Coverage.

Step 2 • The Inviolable 6-Month Window

Under Article 116 of the Personal Income Tax Regulations (RD 439/2007), Modelo 149 must be formally filed electronically with the AEAT within exactly 6 months from the date of registration in the Spanish Social Security system, or the date of commencement of employment activity specified on the documentation.

Step 3 • AEAT Resolution & Resolving Certificate

AEAT has a statutory 10-business-day window to acknowledge receipt and typically issues the formal resolution certificate (Certificado de concesión del régimen especial) within 1 to 3 months. Once approved, present this certificate to your employer or payroll administrator to withhold at the flat 24% rate.

Step 4 • Annual Filing via Modelo 151

Impatriates do not submit the standard resident Modelo 100 tax return between April and June. Instead, they file Modelo 151, reporting exclusively Spanish-sourced earned income, exempting foreign assets and foreign bank accounts.

Automated Modelo 149 Eligibility & Deadline Verification

Below is a reference Python validation script modeling the strict 183-day lookback rule, non-residence 5-year history check (lowered from 10 years by Law 28/2022), and deadline calculation:

from datetime import datetime, timedelta

def verify_beckham_law_eligibility(
    prior_spanish_tax_residence_years: list[int],
    social_security_registration_date: str,
    annual_gross_income_eur: float,
    foreign_capital_gains_eur: float
) -> dict:
    current_year = datetime.now().year
    # Statutory Rule 1: No Spanish tax residence in prior 5 natural tax years
    prohibited_years = [current_year - i for i in range(1, 6)]
    violates_residency = any(y in prohibited_years for y in prior_spanish_tax_residence_years)
    
    # Statutory Rule 2: Strict 6-month filing window from Social Security date
    reg_date = datetime.strptime(social_security_registration_date, "%Y-%m-%d")
    filing_deadline = reg_date + timedelta(days=180) # AEAT strictly audits 6 calendar months
    days_remaining = (filing_deadline - datetime.now()).days

    # Mathematical savings simulation
    # Madrid standard progressive rate approximation vs 24% IRNR flat
    def calc_standard_irpf_madrid(gross: float) -> float:
        brackets = [
            (12450, 0.185), (20200, 0.235), (35200, 0.285),
            (60000, 0.365), (300000, 0.445), (float('inf'), 0.450)
        ]
        tax, prev = 0.0, 0.0
        for limit, rate in brackets:
            if gross > limit:
                tax += (limit - prev) * rate
                prev = limit
            else:
                tax += (gross - prev) * rate
                break
        return tax

    std_tax = calc_standard_irpf_madrid(annual_gross_income_eur)
    # Plus capital gains tax on foreign gains under standard IRPF (up to 28%)
    std_cap_tax = foreign_capital_gains_eur * 0.27
    
    # Beckham Law calculation
    beckham_earned_tax = min(annual_gross_income_eur, 600000) * 0.24
    if annual_gross_income_eur > 600000:
        beckham_earned_tax += (annual_gross_income_eur - 600000) * 0.47
    beckham_cap_tax = 0.0 # 100% exempt on foreign investment gains

    total_std = std_tax + std_cap_tax
    total_beckham = beckham_earned_tax + beckham_cap_tax
    annual_delta = total_std - total_beckham

    return {
        "eligible_5yr_non_residence": not violates_residency,
        "filing_deadline": filing_deadline.strftime("%Y-%m-%d"),
        "days_remaining_to_file": max(0, days_remaining),
        "standard_total_tax_eur": round(total_std, 2),
        "beckham_total_tax_eur": round(total_beckham, 2),
        "annual_net_benefit_eur": round(annual_delta, 2),
        "recommendation": "ELECT BECKHAM LAW" if annual_delta > 0 and not violates_residency else "STANDARD IRPF PREFERABLE"
    }

# Benchmark execution: €120,000 remote salary with €30,000 US stock dividends
result = verify_beckham_law_eligibility(
    prior_spanish_tax_residence_years=[],
    social_security_registration_date="2026-04-15",
    annual_gross_income_eur=120000,
    foreign_capital_gains_eur=30000
)
print(result)

8. Interactive Spain Beckham Law vs Standard IRPF Sizer

€30,000 €100,000 €200,000 €350,000
Standard IRPF (Avg)
€32,950
34.7% effective
Beckham Flat (24%)
€22,800
24.0% flat
Annual Tax Savings
+€10,150 / yr
Pure cash advantage

9. Executive Decision Matrix: How to Choose Your Tax Path

The decision to elect Spain’s Beckham Law is not a one-size-fits-all optimization. International remote workers and bootstrapped tech founders must evaluate their comprehensive wealth profile, corporate structures, and family composition:

Taxpayer Scenario Recommended Route Primary Financial Driver
Remote Employee earning < €48,000 Standard Progressive IRPF Lower effective rate (19–22%) + personal allowances
High-Earning Senior Dev (€90k–€250k) Beckham Law (Article 93) Locked 24% flat rate saves €10,000–€50,000 annually
Contractor with heavy equipment/travel deductions Standard IRPF (AutĂłnomo) Beckham Law forbids deducting business expenses
Founder with large offshore stock/dividend portfolio Beckham Law (Article 93) 0% tax on foreign dividends, exits & zero Modelo 720
High Net Worth Individual (> €3M offshore wealth) Beckham Law (Article 93) Complete shield against Wealth & Solidarity Taxes

Always engage a certified Spanish tax attorney (abogado fiscalista) prior to physical relocation. The six-month filing window from Social Security affiliation runs strictly and unforgivingly; once passed, the opportunity to lock in Spain's 24% flat rate is lost for good.

Frequently Asked Technical Questions: Spain Beckham Law vs Digital Nomad Visa: 24% Flat Tax vs Foreign Income Exemption Realities

Does Spain's Digital Nomad Visa automatically grant a foreign income exemption?

No. Holding a Spanish Digital Nomad Visa does not automatically exempt foreign remote income. Once you reside in Spain for more than 183 days, you are classified as a tax resident subject to progressive IRPF rates up to 47% on worldwide income, unless you formally apply for and receive approval for the Special Impatriate Regime (Beckham Law) via Modelo 149.

What is the exact tax rate under Spain's Beckham Law for remote workers?

Under Article 93 of the Spanish Personal Income Tax Act (IRPF), successful applicants pay a flat 24% on Spanish-source earned income up to €600,000 annually. Any employment income exceeding €600,000 is taxed at the top marginal rate of 47%.

What is the filing deadline for Modelo 149 to elect the Beckham Law?

The election form Modelo 149 must be submitted to the Agencia Estatal de AdministraciĂłn Tributaria (AEAT) within strictly six months from the date of registration with the Spanish Social Security system or the date of commencement of remote activity indicated on the visa documentation.

How does the Beckham Law impact Wealth Tax (Impuesto sobre el Patrimonio) and Modelo 720?

Under the Beckham Law, you are treated as a non-resident for wealth and asset reporting. You are 100% exempt from filing Modelo 720 (Declaration of Foreign Assets) and are only subject to Spanish Wealth Tax and the Solidarity Tax on Large Fortunes (ITSGF) regarding assets physically located or rights enforceable in Spain.