Jeffrey
Written by Jeffrey
Last update
Digital Nomad

Beckham Law and the Digital Nomad Visa: How the 24% Flat Tax Works

Beckham Law and the Digital Nomad Visa: How the 24% Flat Tax Works

The Digital Nomad Visa gets you legal residence in Spain. The Beckham Law is what makes it financially attractive. Without the Beckham Law, your income in Spain would be taxed under the standard IRPF (Impuesto sobre la Renta de las Personas Físicas) regime, with progressive rates that climb from 19% to 47% depending on how much you earn. With the Beckham Law, you pay a flat 24% on your Spanish source income up to 600,000 euro per year. On a salary of 80,000 euro, that is the difference between paying roughly 19,200 euro in tax and paying roughly 28,000 to 30,000 euro under the standard system. Over the six years the Beckham Law lasts, the savings can easily reach six figures. But the Beckham Law is not automatic. You have to opt in. You have to do it on time. And you have to understand what it covers and what it does not, because the fine print matters more than most people realise.

What the Beckham Law actually is

The Beckham Law (officially the Régimen Fiscal Especial para Trabajadores Desplazados, governed by Article 93 of the IRPF law) is a special tax regime that treats qualifying new residents in Spain as non residents for tax purposes. Despite physically living in Spain, you are taxed under the non resident income tax framework (IRNR) rather than the standard resident framework (IRPF). The practical effect is a flat 24% rate on income generated in Spain, up to 600,000 euro. Income above that ceiling is taxed at 47%.

The regime was introduced in 2005 to attract foreign talent to Spain. It got the nickname "Beckham Law" because David Beckham was among the first high profile beneficiaries when he moved to Real Madrid. In 2023, the law was amended to explicitly include Digital Nomad Visa holders (teletrabajadores internacionales) as eligible, which opened the door for remote workers to benefit from the same flat rate previously reserved for employees posted to Spain by their employers.

Who qualifies: the Digital Nomad Visa connection

To qualify for the Beckham Law as a Digital Nomad Visa holder, you must meet all of the following conditions. You must not have been a Spanish fiscal resident in the ten tax years immediately preceding your arrival in Spain. If you lived in Spain (or were considered a fiscal resident) at any point in the last decade, you do not qualify. You must have obtained your residence in Spain under the Digital Nomad Visa (either the consular route or the in-Spain route through the UGE-CE). You must be performing work in Spain, meaning your work activity takes place while you are physically present in Spanish territory, even if the employer or clients are abroad. Your income from Spanish sources must not exceed 20% of your total professional income (this is the standard Digital Nomad Visa cap on Spanish sourced work).

The ten year rule is the one that catches people most often. If you spent a year studying in Spain in 2017, or if you were a fiscal resident (even unknowingly, through the 183 day rule) at any point in the last decade, you may not qualify. The Agencia Tributaria checks this, and they have access to historical tax records. There is no workaround.

How to opt in: Modelo 149 and the six month deadline

Opting into the Beckham Law requires filing Modelo 149 with the Agencia Tributaria within six months of starting work in Spain. This deadline is not six months from your arrival, not six months from your visa approval, and not six months from your TIE appointment. It is six months from the date you begin working in Spain as stated in your employment contract or the start date of your self employed activity. If your contract says you start on 15 March, the deadline is 15 September. Miss it by a day, and the option is gone for the duration of your residency period. There is no late filing, no extension, and no second chance.

The form itself is straightforward. You submit it electronically through the Agencia Tributaria's sede electrónica using your Certificado Digital and Autofirma, or you can submit it on paper at a Hacienda office. The form asks for your NIE, your employment details, your date of entry into Spain, and declarations that you meet the qualifying conditions (ten year non residency, Digital Nomad Visa holder, and so on). After filing, the Agencia Tributaria reviews your submission and issues a resolution confirming or denying your election into the special regime.

The resolution typically arrives within a few weeks to a few months. While you wait, you can ask your employer (if applicable) to apply the 24% withholding rate from the date of your Modelo 149 submission, since the election is retroactive to the start of your employment once confirmed. For self employed Digital Nomad Visa holders, you adjust your IRPF quarterly payments (Modelo 130 equivalent under the non resident framework) once the election is confirmed.

What gets taxed at 24% and what does not

This is the part that people oversimplify, and where the mistakes happen.

Under the Beckham Law, the 24% flat rate applies to your Spanish source income from employment or professional activity, up to 600,000 euro per year. This covers your salary or professional fees for work performed while physically in Spain. If you earn 100,000 euro from your remote job while sitting in your apartment in Barcelona, that 100,000 euro is taxed at 24%.

Income above 600,000 euro is taxed at 47%. This is the non resident rate for income exceeding the ceiling. For most Digital Nomad Visa holders, this is not relevant (the 200% SMI threshold is approximately 33,000 euro, and while many earn more, few earn above 600,000). But it is worth knowing the ceiling exists.

Capital gains (from selling shares, property, or other investments) are taxed at the non resident rates: 19% on gains up to 6,000 euro, 21% on gains between 6,000 and 50,000 euro, 23% on gains between 50,000 and 200,000 euro, 27% on gains between 200,000 and 300,000 euro, and 28% above 300,000 euro. These rates apply regardless of whether the gains are from Spanish or foreign sources, though in practice, the Beckham Law's non resident treatment means that foreign source capital gains may not be taxable in Spain at all (depending on the specific double taxation treaty in force between Spain and the country where the gains arise). This is complex territory where an asesor fiscal earns their fee.

Dividends, interest income, and other investment income from foreign sources are generally not taxable in Spain under the Beckham Law, because the non resident framework only taxes Spanish source income. Dividends from a US brokerage account, interest from a British savings account, or rental income from a property in Canada are not Spanish source income and are therefore outside the scope of Spanish taxation under this regime. This is one of the most significant advantages of the Beckham Law: your worldwide investment portfolio is largely invisible to the Spanish tax system.

What the Beckham Law exempts you from

Beyond the flat rate, the Beckham Law provides several additional exemptions that collectively make it one of the most favourable tax regimes in Europe.

Wealth tax (Impuesto sobre el Patrimonio, declared via Modelo 714 or the solidarity surcharge via Modelo 718) does not apply. Under normal IRPF rules, Spanish fiscal residents with worldwide assets above approximately 700,000 euro must file a wealth tax declaration. Under the Beckham Law, you are treated as a non resident for wealth tax purposes, which means only Spanish based assets (Spanish property, Spanish bank accounts) are subject to assessment, and even then, only above the exemption threshold.

Modelo 720 (the overseas asset declaration) does not apply. Under normal IRPF rules, Spanish fiscal residents must declare all assets held outside Spain if they exceed 50,000 euro in any category (bank accounts, securities, real estate). Under the Beckham Law, this obligation does not exist because you are taxed as a non resident. This alone saves many people significant stress and potential penalties.

Modelo 721 (the overseas crypto asset declaration, mandatory from tax year 2022) also does not apply for the same reason.

The Beckham Law vs standard IRPF: a concrete comparison

Consider a Digital Nomad Visa holder earning 80,000 euro per year from remote work for a US employer. Under the Beckham Law, the tax is 24% flat: 19,200 euro. Under standard IRPF (assuming no significant deductions), the tax would be approximately 28,500 euro (19% on the first 12,450 euro, 24% on the next tranche, 30% on the next, 37% on the next, and so on up the progressive scale). The annual saving is approximately 9,300 euro. Over six years, that is approximately 55,800 euro in tax savings, before accounting for the wealth tax and overseas asset declaration exemptions.

At 150,000 euro per year, the difference is even starker. Beckham Law: 36,000 euro. Standard IRPF: approximately 55,000 to 58,000 euro (depending on the autonomous community). Annual saving: approximately 20,000 euro. Six year saving: approximately 120,000 euro.

These numbers illustrate why filing a one page form (Modelo 149) on time is one of the most valuable administrative actions you can take when moving to Spain.

How long the Beckham Law lasts

The Beckham Law applies for the tax year of your arrival in Spain plus the following five tax years. If you arrive and start working in 2026, the Beckham Law covers tax years 2026 through 2031 (six years total). After the sixth year, you transition to the standard IRPF regime and are taxed on your worldwide income at progressive rates.

There is no way to extend the six year period. It is fixed. If you leave Spain before the six years are up and return later, you cannot restart the clock (because you would have been a fiscal resident within the last ten years). The Beckham Law is a one time opportunity per lifetime, with very limited exceptions.

The end of the Beckham Law period often coincides with the five year mark for permanent residency. This is not a coincidence; both clocks start when you arrive. The transition from Beckham Law to standard IRPF is a significant moment that requires planning. Your tax burden may increase substantially in year seven, and your obligations expand (worldwide income taxation, Modelo 720, wealth tax). An asesor fiscal can help you prepare for this transition.

Common mistakes that cost Digital Nomad Visa holders money

Filing Modelo 149 too late. This is the most expensive mistake. If you miss the six month deadline, you cannot opt in, and you are stuck with the standard IRPF regime for the duration of your stay. The difference over six years can be 50,000 to 150,000 euro depending on your income. Set a calendar reminder the day you sign your employment contract or the day your Digital Nomad Visa is approved.

Assuming the Beckham Law is automatic. It is not. Without filing Modelo 149, the Agencia Tributaria treats you as a standard IRPF resident. You must actively elect into the regime. No one will remind you. No one will file it for you. It is entirely your responsibility.

Miscounting the six month deadline. The deadline is six months from your start of work, not from your arrival in Spain, not from your visa issuance, and not from your TIE appointment. If you arrived on 1 January but did not start working until 1 March (because you were setting up, finding housing, or waiting for your TIE), the deadline is 1 September, not 1 July.

Earning more than 20% from Spanish sources. The Digital Nomad Visa requires that no more than 20% of your professional income comes from Spanish sources. If you start taking on Spanish clients after arriving and your Spanish income creeps above 20%, you may jeopardise both your Digital Nomad Visa status and your Beckham Law eligibility. Monitor your income split carefully.

Not understanding what happens after year six. Many people optimise their first six years under the Beckham Law and then face a shock in year seven when they are suddenly taxed on worldwide income at progressive rates, required to file Modelo 720, and potentially subject to wealth tax. Plan ahead. Some people restructure their finances, others consider leaving Spain before year seven, and some simply accept the higher rate. The point is to make a conscious decision, not be surprised.

The Beckham Law and your home country: double taxation

The Beckham Law's non resident treatment creates an interesting situation with double taxation treaties (DTTs). Spain has DTTs with most countries, and these treaties typically allocate taxing rights based on residency. Under the Beckham Law, Spain treats you as a non resident for tax purposes, even though you physically live there. This can create ambiguity: are you a resident of Spain (for the purposes of the treaty) or not?

In practice, most countries will consider you a tax resident of Spain if you live there full time, regardless of what Spain calls you internally. This means the DTT tie breaker rules usually resolve in Spain's favour, and your home country should give you a credit or exemption for taxes paid in Spain. But the specifics depend entirely on which two countries are involved, and the interaction between the Beckham Law and DTTs is one of the most complex areas of international tax law. If you have significant income in your home country alongside your Spanish income, consult a cross border tax specialist. This is not a DIY area.

FAQ

Lock in the 24% flat tax before your deadline passes

Our in-Spain module includes the complete Modelo 149 walkthrough so you file on time and do not leave money on the table.

Moving to Spain made simple.