How are my US stock options and RSUs taxed if I live in Spain?
Short answer: Spain generally taxes restricted stock units as employment income when they vest, while the United States taxes the portion of the award considered earned during US workdays. Because both countries can tax the same grant on different timetables, the foreign tax credit only works properly if the sourcing of each tranche is calculated grant by grant.
Written and reviewed by Anthony Walsh, Selanis. Last reviewed 2026-10-06.
Why it works this way
Equity awards are earned over a vesting period, and cross-border rules allocate them by where you worked during that period rather than by where you lived on the vesting date. A grant made in San Francisco that vests after two years in Madrid is typically split between the two countries in proportion to workdays.
The mismatch is one of timing as much as amount. Spain taxes the vest as ordinary employment income in its own tax year; the US withholds at vest and settles at filing. When the two tax years and the two events do not align, credits claimed in one system can arrive a year late in the other, and relief that should have been automatic has to be argued for.
Options add a second layer, because the taxable event may be exercise rather than vest, and a long gap between grant, vest and exercise can span two or three countries of residence. Each leg of the journey has a claim on part of the gain.
After the shares are yours, the picture changes again: you hold a US-listed asset as a Spanish resident, which brings the sale into Spanish savings income and, above the regional threshold, into the wealth tax base as well.
The expensive mistake: Assuming US payroll withholding settled the Spanish tax
Employers withhold to satisfy US obligations, not Spanish ones. Employees see a large deduction on the vest statement and assume the tax is paid. Spain then assesses its own liability on the same vest, and by that point the cash from the sale is usually spent.
What to do
- Build a grant-by-grant workday map — For each tranche: grant date, vest date, and where you physically worked in between. This single table drives every other answer.
- Sell enough at vest to cover both tax systems — Not just the US withholding. Model the Spanish liability before deciding how many shares to keep.
- Have both preparers agree the sourcing before filing — The credit only works if the two returns tell the same story about which country earned which slice.
- Decide deliberately whether to keep concentrated employer stock — Holding is a fresh investment decision in a new currency and a new tax system, not a continuation of the old one.