oneisolve Logo
Cross-Border TaxationPublished 2026-11-16Statutory Audit Verified 2026-11-2910 min read

Spain's Beckham Law (24% Flat Tax) vs. Portugal's Post-NHR IFICI Regime: A Statutory Tax Audit

Comparing Article 93 IRPF in Spain against Article 58-A EBF in Portugal after the repeal of classic NHR—eligibility gates, foreign dividend treatment, and effective tax rates.

Primary Author
Marcus Thorne, LL.M. (Int. Tax)
Lead Statutory Audit Editor

LL.M. in International Taxation; specializes in European special expat regimes, bilateral tax treaties, and OECD Article 4 residency tie-breakers.

Statutory Fact-Check & Review
Clara Vance, M.P.P.
Senior European Mobility Policy Researcher

Master of Public Policy; former policy researcher covering Iberian immigration and social security coordination.

Executive Statutory Takeaways

  • Both Spain and Portugal offer headline preferential flat tax rates—24% under Spain’s Beckham Law (up to EUR 600,000) and 20% under Portugal’s IFICI ("NHR 2.0") regime—for up to 6 and 10 tax years respectively.
  • Despite superficial similarities, access gates diverge sharply: Portugal’s IFICI (Article 58-A of the Estatuto dos Beneficios Fiscais) requires qualifying R&D, certified startup, export-intensive, or designated high-innovation local/registered entity roles, locking out most standalone foreign W-2 and 1099 digital nomads on standard D8 visas.
  • Conversely, Spain explicitly amended Article 93 of its Personal Income Tax Law (Ley 35/2006) via the Startup Law to admit holders of an international teleworking visa, though independent contractors face strict Spanish Tax Agency (AEAT) scrutiny compared to salaried remote employees.

1. Why Outdated Blog Advice About Portugal’s "0% Foreign Tax" Causes Five-Figure Surprises

Between 2009 and 2023, Portugal’s classic Non-Habitual Resident (NHR) regime dominated European relocation strategy because foreign-sourced employment income taxed in the source state—or foreign dividends and royalties—could often enjoy a 0% exemption in Portugal for 10 years. Portugal’s 2024 State Budget Law (Lei n. 82/2023) repealed classic NHR for new entrants without transitional grandfathering.

Its replacement, the Tax Incentive for Scientific Research and Innovation (IFICI, codified in Article 58-A EBF and regulated by Portaria n. 352/2024/1), offers a 20% flat IRS tax rate on qualifying employment and professional income plus broad exemptions on non-blacklisted foreign passive income (dividends, interest, capital gains, rents). However, IFICI is not an automatic perk of obtaining a Portugal D8 Digital Nomad Visa.

To qualify for IFICI, a taxpayer must not have been a Portuguese tax resident in the prior five years AND must perform an eligible high-value profession tied to qualifying Portuguese entities—such as accredited startups, higher education/R&D centers, entities certified by AICEP/IAPMEI as export-driven industrial/service enterprises, or regional regimes in Madeira and Azores. A remote worker sitting in Lisbon on a D8 visa invoicing a Delaware LLC with no Portuguese corporate nexus generally falls outside IFICI and faces Portugal’s standard progressive IRS brackets (13% up to 48%, plus solidarity surcharges) once spending 183+ days in Portugal, unless structured under Portugal’s Simplified Regime (Regime Simplificado) for B2B freelancers.

2. How Spain’s Beckham Law (Article 93 IRPF) Treats Foreign Employment vs. Passive Income

Spain’s Special Tax Regime for Inbound Workers (Regimen fiscal especial aplicable a los trabajadores desplazados a territorio espanol, Article 93 of Ley 35/2006) operates on a quasi-territorial model modeled on non-resident income tax (IRNR) rules—with one giant caveat regarding employment income.

Under Article 93.2(a), ALL employment income (rendimientos del trabajo) earned globally while enrolled in the Beckham regime is deemed taxable in Spain at a flat 24% on the first EUR 600,000 per calendar year (and 47% above EUR 600,000), with zero personal or family allowances and zero progressive bracket deductions. In exchange, foreign-sourced passive income—dividends from US or UK brokerages, foreign rental properties, and capital gains on non-Spanish equities—remains 100% outside the Spanish tax net, and Spanish Wealth Tax (Impuesto sobre el Patrimonio) / Solidarity Tax applies only to assets physically situated in Spain.

For a W-2 or UK PAYE remote executive earning EUR 180,000/year with a EUR 1.5M US brokerage portfolio, Spain’s Beckham Law is extraordinarily powerful: standard Spanish IRPF would impose marginal rates of 45–47% plus regional wealth taxes on global holdings, whereas Article 93 caps employment tax at 24% (EUR 43,200, reduced further up to 30% by bilateral double-taxation credits under Article 93.2.f where applicable) while shielding the non-Spanish investment portfolio completely.

The 6-Month Statutory Election Deadline (Modelo 149)

In Spain, taxpayers must file Form 149 (Modelo 149) with the Agencia Tributaria within exactly 6 months of registering with Spanish Social Security—or within 6 months of the official start date recorded on the bilateral Certificate of Coverage. Missing this deadline by even one day forfeits Beckham Law access permanently for that move.

3. Portugal’s Hidden Freelancer Counterweight: The Regime Simplificado Coefficient

If standalone foreign contractors on Portugal’s D8 visa rarely qualify for IFICI without forming or joining a qualifying Portuguese structure, why do experienced B2B freelancers still choose Portugal? The answer lies in Article 31 of Portugal’s Personal Income Tax Code (CIRS): the Simplified Regime (Regime Simplificado) for independent professionals earning up to EUR 200,000/year in gross B2B invoices.

Under the Simplified Regime, qualifying technical, scientific, and artistic service providers (listed under Portaria n. 1011/2001) are taxed on only 75% of their gross revenue—with an automatic 25% statutory expense presumption (partially subject to e-Fatura invoice validation above threshold amounts). Better still, during the first calendar year of opening Portuguese freelance activity (Recibos Verdes) and the second year, Article 31(10) CIRS grants a 50% and 25% reduction in the taxable coefficient respectively.

In Year 1, a D8 software consultant billing EUR 90,000/year sees the 0.75 coefficient halved to 0.375—meaning Portuguese progressive tax rates apply to only EUR 33,750 of taxable income, yielding an effective Year 1 income tax rate near 8–10% plus capped Social Security (which itself enjoys a 12-month complete exemption for first-time Portuguese self-employed registrants!).

4. Choosing Between Madrid/Valencia and Lisbon/Madeira by Income Structure

Tax optimization across the Iberian Peninsula cannot be reduced to comparing "24% vs. 20%." The right jurisdiction depends entirely on whether your compensation arrives as salaried employment, B2B consulting invoices, or equity/dividend distributions.

Salaried employees holding a bilateral Social Security Certificate of Coverage (e.g., UK remote workers with HMRC CA3822, or intra-corporate transferees) with high salaries (EUR 90,000–EUR 500,000) and foreign investment accounts overwhelmingly favor Spain’s Beckham Law for its predictable 6-year 24% cap and global wealth/capital-gains shield.

Independent B2B contractors billing EUR 55,000–EUR 150,000 without massive equity exits often achieve lower Year 1–2 effective combined tax and social security outflow under Portugal’s D8 + Simplified Regime than under standard Spanish Autonomo progressive IRPF—provided they plan carefully for Year 3 when Portugal’s temporary coefficient discounts expire.

Comparative Statutory Matrix

Statutory Tax Comparison: Spain Beckham Law (Art. 93 IRPF) vs. Portugal IFICI (Art. 58-A EBF) & D8 Simplified Regime

Tax DimensionSpain Beckham Law (Art. 93)Portugal IFICI ("NHR 2.0")Portugal D8 Simplified Regime
Headline Rate24% flat up to EUR 600k (47% above)20% flat on eligible local/R&D rolesProgressive rates on 37.5%–75% of gross
Maximum DurationYear of arrival + 5 tax years (6 total)10 consecutive calendar yearsOngoing up to EUR 200k/yr gross revenue
Foreign Dividends & Gains0% Spanish tax (non-Spanish assets)0% Portuguese tax (non-blacklisted)Taxed at 28% flat or treaty rates
Standard Foreign 1099/Contractor AccessRestricted unless ENISA/entrepreneurialGenerally excluded without PT entityOpen to all D8 Recibos Verdes holders
Prior Non-Residency Lookback5 preceding tax years5 preceding tax yearsNone (Year 1–2 bonus requires clean start)

Frequently Asked Statutory Questions

Can a US W-2 employee automatically get the Beckham Law on a Spain Digital Nomad Visa?

Only if the Social Security hurdle is solved. Because the US SSA does not issue telework Certificates of Coverage for voluntary remote moves to Spain, US W-2 workers typically either transition to a global Employer of Record (EOR) structure, qualify as an appointed director (with <25% equity if passive/asset-holding rules apply), or convert to B2B—which alters Beckham Law eligibility. Always verify social security structure prior to filing.

Are foreign capital gains from selling US stocks exempt under Spain’s Beckham Law?

Yes, in Spain—capital gains from shares of non-Spanish companies held outside Spanish situs are excluded from Spanish tax under Article 93. However, US citizens remain subject to US federal capital gains tax due to citizenship-based taxation under the Internal Revenue Code.

Does Portugal charge crypto capital gains tax to D8 residents?

Under Portugal’s post-2023 CIRS rules, cryptoassets held for 365 days or longer prior to disposal into fiat currency remain exempt from personal capital gains tax for non-professional investors (excluding certain security tokens or blacklisted jurisdictions), whereas holdings sold under 365 days face a 28% flat tax.

Official Primary Statutes, Gazettes & Government Sources

  • Agencia Tributaria — Regimen Especial Trabajadores Desplazados (Art. 93 Ley 35/2006)(Kingdom of Spain)
    Official Portal
  • Portal das Financas — Estatuto dos Beneficios Fiscais Art. 58-A (IFICI)(Portuguese Republic)
    Official Portal
  • Diario da Republica — Portaria n. 352/2024/1 (IFICI Regulatory Framework)(Portuguese Republic)
    Official Portal
Editorial & Non-Legal-Advice Notice: This policy briefing is researched and published for general educational and comparative reference only. OneISolve is an independent research publication, not a law firm or certified public accounting practice, and nothing herein constitutes individualized legal or tax advice. Statutory thresholds and consular practices can change without prior notice; always confirm your personal circumstances with qualified legal/tax counsel and the competent diplomatic mission.

Related Country Statutory Guides