Spain
Beckham Law
Impatriate Regime
IRPF
Stock Options
RSU
Capital Gains
Spanish Tax

Spain Beckham Law & Equity: Stock Options, RSUs, and Tax Guide

How Spain’s impatriate regime (Beckham Law) taxes salary and equity compensation. Covers 24% rate, six-year window, Spanish vs foreign-source equity, and planning with RSUs and ESPPs.

12 min read

Executive Summary

Quick Answer

Does the Beckham Law tax stock options at 24%?

The 24% rate applies to Spanish-source employment income. When stock options or RSUs are taxed as employment income tied to your Spanish role, that income generally falls under the employment basket of the impatriate regime and can qualify for the 24% rate up to €600,000 annually—subject to sourcing, plan design, and how your employer reports the benefit. Pure capital gains from selling shares may follow different rules.

Source: General principles under Spanish PIT; confirm with Spanish tax counsel
Quick Answer

How long does the Beckham regime last?

For eligible taxpayers, the special regime commonly applies for six tax years: the year you acquire Spanish tax residency plus the following five years. After that, you are generally taxed under ordinary progressive IRPF rules unless another relief applies.

Source: Spanish impatriate regime rules (verify current legislation)
Quick Answer

Is foreign equity income always exempt?

No. Employment-related equity tied to work performed abroad or foreign employers may be sourced outside Spain in some cases, but many tech grants are tied to Spanish employment contracts and taxed where the work occurs. Each grant and mobility pattern must be analyzed separately.

Source: OECD commentary and Spanish domestic sourcing rules

Spain’s impatriate regime—widely known as the Beckham Law after an early adopter—remains one of Europe’s most discussed tax programs for inbound executives and tech professionals. For equity-heavy compensation packages, the key question is not the headline 24% rate, but when income arises, where it is sourced, and how your employer and broker report it.

This guide connects the regime to stock options, RSUs, ESPP purchases, and share sales, with links to broader equity concepts in our ISO vs NSO guide and relocating with equity overview. For Spain’s broader framework, see the Spain country page.

Readers comparing employer packages should also scan stock options vs salary tradeoffs and how to negotiate equity—the Beckham window can change the after-tax value of the same headline grant by a wide margin, so anchoring on gross numbers alone is misleading.

Finally, if you hold concentrated positions after a large vest, our concentrated stock diversification guide outlines risk frameworks that are independent of tax—but tax timing often drives the realized diversification path.

The bottom line: Treat Spanish equity taxation as employment income first, layer sourcing and treaty analysis second, and only then evaluate capital gains on eventual sales. The Beckham window is time-limited—coordinate exercises, vesting, and liquidity events before you exit the regime.

Critical Warning: Spanish autonomous communities add their own rates and rules. A Madrid-based engineer and a Barcelona-based engineer can face materially different total burdens even under the same special regime. Always validate numbers with a Spanish tax advisor who has equity experience.


Who Qualifies and How Long Benefits Last

ElementTypical rule (verify annually)
DurationSix tax years: arrival year + five more
Prior non-residencyPrior rules required extended absence from Spain; reforms have adjusted thresholds—confirm your facts against current law
Income ceiling for 24% bandEmployment income charged at 24% up to €600,000; excess at higher marginal rates
Foreign incomeMany foreign-source passive items may be exempt for qualifying taxpayers

Source: Spanish PIT framework

Why the regime matters for equity

While the 24% band is attractive compared with top IRPF brackets, equity does not automatically “convert” into capital gains treatment. Most employer grants are compensation components. That means:

  • RSUs usually trigger taxation when there is no substantial risk of forfeiture (vesting).
  • Non-qualified stock options are often taxed at exercise (spread) as employment income.
  • ESPP discounts may generate ordinary employment income components subject to withholding.

For US citizens, remember US tax continues regardless of Spain’s regime—see coordination with Section 83(b) for expats if you have US grants.


How Spain Typically Taxes Equity Compensation

RSUs

StageTypical Spanish treatment
GrantNo tax if there is forfeiture risk
VestEmployment income on fair market value (less any amount paid), subject to withholding
SalePossible capital gains on movement after vest, with cost basis generally tied to amount previously taxed

Stock options

StageTypical Spanish treatment
GrantOften no income if exercise price ≥ FMV
ExerciseEmployment income on spread (FMV minus strike), unless plan structured otherwise
SaleCapital gain/loss on post-exercise appreciation

ESPP

EventNotes
PurchaseDiscount may be taxable as employment income
SaleAdditional gain/loss may be capital

Source: General international practice; confirm plan documents and Spanish payroll reporting.


Sourcing: Spanish Work vs Foreign Allocation

Multi-country remote policies complicate sourcing. Common patterns:

PatternRisk profile
Single Spanish contract, local payrollMost equity taxed in Spain when income arises
Split roles EU/USMay require days-based or economic employer analysis
Employer outside Spain, you work in SpainPermanent establishment and treaty tie-breaker issues—high complexity

Link: Stock options for non-US employees: sourcing rules for conceptual parallels (US-focused, but illustrates apportionment thinking).


Ordinary IRPF vs Impatriate: Why the Spread Matters

Most Spanish tax residents pay progressive IRPF combined with regional scales. Top burdens can approach ~50% or more once social contributions and regional top rates are included, depending on the comunidad autónoma.

ConceptOrdinary resident (illustrative)Impatriate regime (headline)
Employment incomeProgressive IRPF + regional24% on Spanish employment income up to €600,000
Foreign dividends/interestOften taxableOften exempt if foreign-source and rules met
Wealth tax baseWorldwide assets (with exclusions)Often only Spanish situs assets during qualifying period

Illustration only—rates and bases change; confirm with a Spanish preparer.

Worked example: RSU vesting inside the window

Assume you are a single taxpayer, Madrid-based, and €80,000 of RSUs vest in a year while you remain in the impatriate regime. If the entire amount is Spanish-source employment income, the €80,000 may be included in the employment basket that benefits from the 24% rate (subject to the €600,000 ceiling and specific legislative conditions).

If the same €80,000 vests after the special regime expires, the same nominal income might be taxed under progressive IRPF, potentially producing tens of thousands of euros of additional annual tax on identical economics—purely because of timing relative to the regime.

This dynamic makes grant negotiation and vesting acceleration clauses materially more valuable than in jurisdictions without a similar window.


Interaction With US Persons and US-Listed Equity

Many Barcelona and Madrid tech workers hold US ISOs, NSOs, or RSUs from a US parent. Typical layers:

LayerWhat to watch
US federalUS citizens/LPRs remain taxable on worldwide income; foreign tax credits may offset Spanish taxes
US stateFormer California residents may face tail tax concepts—see California equity tax
SpainSpanish-source employment income and Spanish capital gains rules
PayrollUS payroll vs Spanish shadow payroll can create double withholding

If you are considering early exercise or an 83(b) election, read our Section 83(b) strategic guide and expat-specific 83(b) for expats before filing—US elections do not automatically align with Spanish timing.


Social Security and Payroll Withholding on Equity

Even when income is classified as employment for PIT, social security treatment can differ by benefit component and by whether amounts are paid in cash or shares. Some employers sell-to-cover; others net-settle. Each approach changes:

  • Cash flow in the vest month
  • Basis for later capital gains
  • FX treatment if equity is USD-denominated but taxes are EUR-denominated

Keep a three-way reconciliation each year:

  1. Employer certificates (Spanish or global)
  2. Broker statements (US Form 1099-B equivalents)
  3. Bank statements for tax payments and withholding

This is the same discipline we recommend in cost basis and double taxation—errors here are painfully common for cross-border employees.


Private Company vs Public Company Equity in Spain

FactorPrivate companiesPublic companies
Valuation evidenceBoard/409A-style valuations; less frequent FMV updatesMarket price on vest/exercise
LiquiditySecondaries, tenders, IPO path—often illiquid at taxBroker sales typically available
WithholdingNet-share settlement may leave large cash tax billsSell-to-cover more standardized

Spanish tax generally cares about value at taxable event, not your personal liquidity. That mismatch is why employees in Spain—like their peers globally—sometimes face tax due without cash, particularly around private RSU releases or option exercises where shares cannot be sold. If you are evaluating pre-IPO exercise financing, see pre-IPO exercise financing before signing high-cost loans.


Liquidity Events: IPOs, Tender Offers, and M&A

If your company runs a tender offer or goes through M&A while you are in Spain, see:

Spanish tax treatment will follow character (employment vs capital), timing, and payer. A cash-out in a tender may accelerate ordinary income components differently than a stock-for-stock rollover—model both Spanish and US outcomes if you are a US shareholder.


Beckham Planning Checklist for Equity

Before you move:

  • ☐ Obtain grant history, vesting schedules, and 409A or FMV documentation
  • ☐ Model vesting in years 1–6 of Spanish residency vs after regime expiry
  • ☐ Confirm payroll location and whether equity is localized in Spanish payroll

During the regime:

  • ☐ Track exercise vs sale dates and broker 1099-equivalent statements
  • ☐ Review withholding sufficiency—large vesting can create year-end balances due
  • ☐ Plan liquidity for tax even if shares are illiquid

Before regime end:

  • ☐ Anticipate post-regime marginal rates on future vesting
  • ☐ Consider accelerated liquidity (tender, secondary) while still in-window if commercial and legally permitted

Reporting, Penalties, and Common Filing Mistakes

Spanish residents generally file annual IRPF returns in the spring following the tax year. Equity-related mistakes we see in practice:

MistakeConsequence
Treating RSU vesting as only a US taxable eventUnder-reporting Spanish employment income if work is performed in Spain
Ignoring FXEUR cost basis vs USD grant prices misaligned
Missing autonomous community formsRegional surcharges underpaid
Overstating foreign exemptionsAggressive positions on sourcing without documentation

Maintain a single spreadsheet with each lot: grant ID, vest dates, shares, FMV, EUR amounts, taxes withheld, and remaining shares. This discipline mirrors what we suggest for tax season reporting for US filers—adapt the same rigor to Spanish filings.

If you receive duplicate statements—for example, a US Form W-2 for US payroll and Spanish local pay slips—reconcile per grant, not per form. Employers sometimes report different segments of the same global grant on different statements, which creates phantom discrepancies that are only resolved with grant-level tracking.


How the Beckham Law Interacts With Capital Gains on Shares

After RSUs vest, you usually have acquisition date and basis for future disposals. If you later sell listed shares on Nasdaq or NYSE, the gain or loss may be treated under Spanish capital gains rules for the post-vesting period, subject to holding period, averaging rules, and whether the income is Spanish-sourced.

Because the impatriate regime may exempt certain foreign-source gains, classification is essential: a sale on a US exchange of shares acquired from a US parent might be analyzed differently than a sale of Spanish situs property. Small differences in facts—where the company is resident, where the brokerage is, and where you perform personal trading decisions—can shift the analysis.

Document purchase lots, corporate actions (splits, spin-offs), and FX rates the Spanish rules require. If you also file US returns, maintain dual-basis schedules—US and Spanish rules are not identical.


Decision Matrix: Should You Accelerate Vesting or Exercise?

If…Then consider…
You are early in the six-year windowSmooth vesting across years to stay under psychological liquidity constraints while rates are stable
You are in year fiveModel vesting that might fall in year seven—ordinary IRPF may apply
Your spread is smallExercise or settlement while rates are favorable
You plan to leave SpainRe-run sourcing analysis; exit may change treaty position

Footnotes


Disclaimer: This guide discusses general educational information only. It is not tax, legal, or investment advice. Spanish rules change frequently and vary by region. Consult a qualified Spanish tax professional before making decisions.


Primary Sources

SourceTypeURL
Ley IRPFStatuteboe.es
Agencia TributariaAuthoritysede.agenciatributaria.gob.es
OECD Model Tax ConventionTreaty frameworkoecd.org

Last Updated: March 2026 | Research Team: VestingStrategy

Disclaimer

This article is for educational purposes only and discusses legal tax optimization strategies. Tax evasion is illegal and is not discussed or recommended. The information provided does not constitute tax, legal, or financial advice.

Tax laws vary by jurisdiction and change frequently. Always consult a qualified tax professional (CPA, tax attorney, or enrolled agent) before making decisions based on this content. The authors and operators of this website accept no liability for actions taken based on this information.