When RSUs vest in Spain, they trigger IRPF as employment income. How to calculate the liability, apply the €12,000 annual exemption, manage the subsequent capital gain, claim treaty benefits, and avoid the double taxation trap — for US and UK employees in Spain.
Restricted Stock Units (RSUs) are one of the most common forms of equity compensation awarded by US and UK companies to their employees worldwide. When the employee lives in Spain, the Spanish IRPF treatment of RSU vesting — and the subsequent sale of the shares — creates a two-stage tax event that requires careful planning to avoid paying more tax than necessary. This article covers the full life cycle of RSUs in Spain, from grant to sale, including the interaction with the US-Spain double tax treaty.
An RSU award passes through several stages, each with distinct tax implications:
Under Articles 17 and 42 of the Ley del IRPF (Ley 35/2006), shares received by an employee in consideration of services rendered constitute rendimientos del trabajo en especie (employment income in kind) (see official BOE text). The taxable amount is the FMV of the shares at the vesting date, less any amount paid by the employee (which for standard RSUs is zero — the employee pays nothing).
This amount is added to the employee's other employment income and taxed at the general IRPF rates — progressive to 47% nationally, plus the regional component (ranging from a low in Madrid to higher rates in Cataluña). For a senior executive receiving €100,000 of RSUs vesting in a year when they already earn €150,000 of salary, the marginal rate on the RSU income may reach 47% or above.
The employer (the Spanish entity or the employer's Spanish PE/branch) has an obligation to withhold IRPF at source on the value of the RSUs at vesting. If no Spanish payroll exists (because the employee works for a foreign employer directly), the employee bears the obligation to include the RSU income in their annual IRPF return (Modelo 100) and pay the resulting tax by the June 30 deadline.
Article 42.3(f) LIRPF provides an exemption for shares delivered to employees in the context of participación en beneficios (profit-sharing) arrangements: up to €12,000 per employee per year of shares received from the employer (or from a company in the same group as the employer) is exempt from IRPF, provided certain conditions are met:
For employees of large listed companies with broad-based RSU programs that satisfy the equal-treatment condition, this exemption can provide meaningful savings on smaller RSU awards. However, for executives receiving large RSU grants far exceeding €12,000, the exemption provides only marginal relief, and most of the vesting income is taxed in full.
After vesting, the employee holds actual shares (typically of a foreign company — US or UK listed). The FMV at the vesting date becomes the acquisition cost for Spanish capital gains purposes. When the shares are subsequently sold:
RSUs typically vest ratably over a multi-year period (e.g., 25% per year over 4 years). If an employee worked in multiple countries during the vesting period — for example, 2 years in the United States and then moved to Spain for the remaining 2 years — the vesting income must be apportioned between the two jurisdictions: the portion attributable to work performed in the US while a US tax resident is US-source income; the portion attributable to work performed in Spain while a Spanish tax resident is Spanish-source income.
Spain's IRPF applies only to the Spanish-service portion of the RSU income — Spain does not tax RSU income attributable to services performed before the employee became a Spanish tax resident, unless that income was received (vested) while the employee was in Spain.
The proration formula typically allocates the RSU income based on the ratio of days worked in Spain during the vesting period to total days in the vesting period. This calculation requires payroll records, HR data, and sometimes a formal tax apportionment analysis prepared in advance of the IRPF filing.
Employees under the Beckham Law (régimen especial de impatriados) are taxed as non-residents on foreign-source income. RSUs from a foreign company (US or UK employer) vest during the Beckham period: the IRPF liability depends on whether the income is classified as Spanish-source or foreign-source.
The DGT has confirmed in binding consultations that RSU vesting income is employment income, and its source is the place where the underlying services were performed. If the RSU vests while the employee is physically working in Spain (performing the services that earned the RSU), the income is Spanish-source and subject to the Beckham Law flat 24% rate on the Spanish portion. Foreign-service portions of the same RSU grant are foreign-source and generally not subject to Spanish IRPF under the Beckham Law.
For high-earning executives with large RSU grants, the Beckham Law's flat 24% rate on the Spanish-service portion is typically significantly lower than the standard progressive IRPF rate that would otherwise apply. This is a strong planning reason to opt for the Beckham Law if eligible.
For US citizens working in Spain whose RSU income originates from a US company, the Spain-US Double Tax Treaty (1990) applies. Employment income is generally taxed in the country where the work is performed (Article 15). Since the employee is working in Spain when the RSUs vest, Spain has primary taxing rights over the Spanish-service portion of the RSU income.
The US, under the saving clause, retains the right to also tax its citizens on RSU income regardless of where it is earned. The foreign tax credit mechanism is used to avoid double payment: Spanish IRPF paid on the RSU vesting income is credited against the corresponding US federal income tax. However, given that Spanish rates can be higher than US rates, there may be excess credits that cannot be fully utilised in the same year.
Jacob Salama advises employees of US and UK companies on the IRPF treatment of equity compensation — from vesting through sale, including Beckham Law planning and treaty analysis. Book a free call before your next vest date.