“For the Beckham Law, being a foreigner and coming to work is enough.”
No. Nationality is not in the law. What is in the law is why you come, when you were last resident and what you are going to earn here.
The short answer
You can opt into the Beckham Law if you acquire tax residence in Spain as a consequence of your relocation to Spain and you meet three conditions at the same time (Article 93(1) of the Spanish Personal Income Tax Act (LIRPF)).
Not having been resident in Spain in the five tax years prior to the year of the relocation. The relocation taking place in the first year of the regime or in the year before, and for one of the causes the law lists. And no income that would be classified as obtained through a permanent establishment in Spain, except on two specific routes.
If you meet them, you are taxed under the rules of the Non-Resident Income Tax (IRNR) in the year you change residence and in the five following ones. If a single condition fails, there is no regime.
This guide is about the main taxpayer
Everything that follows sets out the requirements of the person who relocates for one of the causes of art. 93(1), the main taxpayer. Their family has a route of its own, that of art. 93(3) LIRPF, with different rules. We summarise it at the end.
First, you have to become tax resident
The regime is for residents. Whoever does not become tax resident in Spain does not apply it, even holding the AEAT certificate in their hand (V2201-19).
You are resident if you stay in Spain for more than 183 days of the calendar year or if you have here, directly or indirectly, the main centre or the base of your activities or economic interests (art. 9(1) LIRPF). To count the days, sporadic absences are counted as presence, unless you prove your tax residence in another country (and for countries or territories classified as tax havens, the tax authorities may require proof of presence there for 183 days in the calendar year), while temporary stays resulting from unpaid cultural or humanitarian cooperation agreements with Spanish public authorities are excluded. In addition, it is presumed, unless proven otherwise, that you are resident when your spouse, from whom you are not legally separated, and your dependent children under 18 habitually live in Spain.
For the regime, the Personal Income Tax Regulations (RIRPF) fix the starting year with a criterion of their own. It is the first calendar year in which, once the relocation has taken place, your stay in Spain exceeds 183 days (art. 115 RIRPF). That year and the five following ones.
If you arrive late in the year and that year you do not exceed 183 days, the regime would start the year after the relocation, if in that year you do exceed them and you meet the rest. It cannot be postponed. The law requires the relocation to take place in the first year of the regime or in the previous one, and whoever does not become resident the following year does not carry the regime over to a later year (V2201-19). The Spanish Directorate-General for Taxes (DGT) said so for someone arriving at the end of 2025, with the regime from 2026 (V1953-25), and it had said it, under the old wording, for an arrival at the end of August 2014 (V3235-13). We explain it with dates in the guide to Form 149.
The five tax years without residence
Letter a) of art. 93(1) requires that you have not been resident in Spain in the five tax years prior to the one in which the relocation takes place.
Tax years are counted, that is, calendar years. What matters is whether you were tax resident in each of those years under art. 9 LIRPF, not your nationality. A Spaniard who has been abroad long enough can come in just like a foreigner.
What you declared follows you
A Spaniard worked in Saudi Arabia from 2013 to 2021, but filed his IRPF returns in Spain in all those years. He wanted to come back in 2025 and apply the regime in 2026 (V0266-26).
The DGT answered that having filed those self-assessments allows it to be presumed that he was resident in Spain until 2021. With that, 2021 falls within the five previous tax years and the regime is excluded. He can rebut the presumption with evidence to the contrary, but the burden of proof is on him. The basis is art. 108(4) of the General Tax Act (LGT). What you entered in your returns is presumed true for you.
If in those years you filed Form 100 in Spain “just in case”, review it before you ask for anything.
A long stay counts too
A Chilean woman with Spanish nationality came to study a master’s degree in August 2023 and left in December 2024. She wanted to come back in 2025 with a contract (V1690-25).
The DGT warned that more than 183 days in Spain in 2024 would make her resident that year. And it added the way out. If at the same time she was resident in Chile, the conflict is resolved under the treaty with Chile, and if the treaty declares her resident in Chile, she meets letter a).
Studying, a long period of sick leave or a sabbatical year in Spain can count as residence. The treaty can rescue you, but you have to prove it.
Fewer than 183 days does not always keep you non-resident
Spending fewer than 183 days in Spain does not settle the five-year test on its own. You may also be tax resident if your main economic interests or activities are based in Spain, directly or indirectly (art. 9(1)(b) LIRPF).
The TEAC applied that test on 19 February 2026 in a standard IRPF case (TEAC RG 00/10390/2022). The taxpayer had spent 178 days in Spain in 2016 and 177 in 2017, held a tax residence certificate from another EU Member State and argued that artworks kept in a flat abroad had a higher nominal value than her assets in Spain. The tribunal explained that, especially where the quantitative gap is narrow, a simple arithmetic tally of assets is not enough. It weighed the qualitative make-up of the assets (rental properties and hospitality businesses compared with stored artworks), where the income was generated and where everything was managed, and also resolved the treaty tie-breaker in Spain’s favour under the centre of vital interests.
If during any of those five years you kept rental properties, active companies or the bulk of your income in Spain, staying just under 183 days does not remove the risk that you were already Spanish tax resident.
What the TEAC said under the old law
When the law required ten years, the Central Economic-Administrative Court (TEAC) held that the last year in which you were resident abroad counts within the period even if it is the same year as the relocation (TEAC RG 00/04760/2019, of 26 January 2021). That is a criterion issued for the ten-year wording. Today’s law looks at the five tax years prior to the one in which the relocation takes place.
Why you come
Letter b) requires the relocation to take place, in the first year of the regime or in the previous one, as a consequence of one of these causes (art. 93(1)(b) LIRPF).
An employment contract (number 1)
Those who start an employment relationship, ordinary or special, or statutory, with an employer in Spain qualify. So do those who come because their employer posts them under a posting letter. And those who, without the employer ordering it, work remotely using exclusively computer, telematic and telecommunication means.
The special employment relationship of professional sportspeople of Royal Decree 1006/1985 is out. The DGT recalls it even for someone already in the regime who adds a second job (V0466-26).
What the DGT looks at is the causality between the relocation and the start of the employment relationship (V0347-25). A prolonged gap between arrival and the start of the contract “may be an indication, among other factors to be considered”, that this causality does not exist (V5319-26). It is a question of fact assessed by the tax administration’s management and inspection bodies.
More detail in the guides on the posted worker and on remote work. With an international remote work visa under Law 14/2013, the remote work requirement is deemed met (V1198-26).
The post of company director (number 2)
Those who relocate as a consequence of acquiring the status of company director (administrador) of an entity qualify. If the entity is an asset-holding company (entidad patrimonial), your shareholding must not turn it into a linked entity.
In the specific case of a director with a shareholding below 25%, the DGT considered this requirement met provided there was causality (V2590-25). Everything else is in the guide to the company director.
Entrepreneurial activity (number 3)
Those who come to carry out in Spain an economic activity qualified as entrepreneurial under the procedure of art. 70 of Law 14/2013 qualify. The regulation requires the activity to be innovative or of special economic interest for Spain, to have a favourable report from ENISA and you to hold, before relocating, the residence permit for business activity of art. 69 of that law. For citizens of the European Union and those who benefit from freedom of movement, the regulation asks for the favourable ENISA report, also requested before the relocation (art. 113(2) RIRPF).
The highly qualified professional (number 4)
The highly qualified professional who comes to provide services to start-ups (empresa emergente) under Law 28/2022, or to do training, research, development and innovation, qualifies. With one numerical condition. What you are paid for those activities must represent more than 40% of all your business, professional and personal employment income.
The regulation refers to the qualification of art. 71 of Law 14/2013 and to art. 72 for the training and R&D&I activities. With the residence permit of those articles, obtained before the relocation, they are deemed met (art. 113(2) RIRPF).
Coming as self-employed, on its own, does not work
Someone who had worked for six years abroad asked whether he could come to Spain as self-employed and join the regime. The DGT answered that, apart from numbers 3 and 4, it is not possible (V2477-24).
An economic activity on your own account opens the door only if it is entrepreneurial with an ENISA report, or if it is that of a highly qualified professional providing services to start-ups or doing training, research, development and innovation, with pay for it that exceeds 40% in total of your business, professional and employment income.
No permanent establishment
Letter c) of art. 93(1) closes the circle. You must not obtain income that would be classified as obtained through a permanent establishment located in Spain. The exception is numbers 3 and 4.
The regulation spells it out. During the regime, the only economic activities the person covered can carry out are the entrepreneurial one, the provision of services to start-ups and those of training, research, development and innovation of those two numbers (art. 113(2) RIRPF).
It is not only an entry requirement. If you later obtain income from economic activities through a permanent establishment in Spain, outside those two numbers, you are excluded in that very tax year (V1274-25).
Not everything foreign contaminates either. In the case of a passive member of a British LLP with no professional activity or presence in Spain, the DGT concluded that he met the condition in letter c) (V1372-25).
The main taxpayer’s family
The main taxpayer’s spouse, their children under 25 or of any age if they have a disability and, where there is no marriage, the parent of those children can opt in (art. 93(3) LIRPF). They do not need a cause of relocation of their own under art. 93(1)(b).
Their conditions are different ones. Relocating with the main taxpayer or after them, provided the first tax year in which the regime applies to the main taxpayer has not ended. Acquiring tax residence in Spain. Meeting letters a) and c), that is, not having been resident in Spain during the five tax years prior to the year of their own relocation to Spanish territory and not obtaining income classifiable as obtained through a permanent establishment in Spain, subject to the statutory exceptions. And the sum of their taxable bases being lower than the main taxpayer’s in each tax year. They can also arrive before the main taxpayer, provided they do not acquire residence before the first tax year in which the regime applies to the main taxpayer (art. 113(3) RIRPF).
They do not have six years of their own. Their regime lasts, at most, until the last tax year in which it applies to the main taxpayer (art. 115 RIRPF). The family tie, the age and the disability are assessed as they stand at the moment the family member exercises the option (art. 116(1) RIRPF, last paragraph). And the conditions have to be kept. If a family member later breaches one of their own conditions, or the requirements of family tie, age or disability, they alone are excluded and the others continue. If the main taxpayer waives or is excluded, or the sum of the family members’ bases stops being lower than the main taxpayer’s, all the family members leave. A divorce or the annulment of the marriage does not count as a breach (art. 118(4) RIRPF).
Their deadline to opt in is six months from their entry into Spain, or the main taxpayer’s if it expires later (art. 116(1)(b) RIRPF). In the case of the Spaniard returning from Taiwan, the DGT recalled that his spouse and his daughter could opt in if they met art. 93(3) (V0266-26).
More detail in the guide to Form 149.
Who cannot opt in even if they qualify
The regulation closes the door on anyone who has applied the special procedure to determine withholdings on employment income of Article 89(B) RIRPF (art. 116(3) RIRPF).
And on anyone who already waived the regime or was excluded. Neither of the two can opt in again (art. 117(4) and 118(5) RIRPF).
Can you still opt in if you have already moved to Spain?
People who already live here often ask whether they have missed their chance. The answer does not turn on whether you have already unpacked, but on what prompted the move and whether the Form 149 deadline is still open.
If you signed a contract with a Spanish employer, relocated for that reason and the start date of the activity shown on your Spanish Social Security registration or applicable document is less than six months ago, you are still in time to file Form 149 (art. 116(1)(a) RIRPF). Already living in Spain when you ask does not shut the door if your move followed that contract and six months have not yet elapsed from that activity start date.
A different scenario is moving first for personal reasons and, months later, looking for a contract or setting up a company to become its director. Unlike a project already agreed before moving whose formal paperwork took a few months to complete, the causal link is missing here. For the DGT, a long gap between arrival and the start of the contract or post can be an indication, among other factors, that causality is missing (V5319-26, V1238-24), and where a director appointment faces an administrative delay it leaves causality to be proven before the management and inspection bodies (V0456-26). When an audit arrives years later, telling the story from memory will not do; you need offers, contracts, corporate resolutions, the start-of-activity document and dates that fit together.
Meeting the requirements is not having the regime
The regime is chosen. You have to communicate it with Form 149 within a maximum of six months from the start date of the activity shown in the registration with Spanish Social Security, in the documentation that allows keeping the home country’s social security or, if registration is not compulsory, in the document that proves the start of the activity (art. 116(1)(a) RIRPF).
And you have to keep meeting them. If you later stop meeting one condition, you are excluded with effect in the tax year of the breach (art. 118(1) RIRPF). We cover it in the guide to exclusion.
When it does not pay off
Meeting the requirements does not mean the regime pays off for you. You will be taxed under the IRNR rules, without offsetting one type of income against another, and there are deductions and exemptions you will stop applying. We explain it case by case in when the Beckham Law does not pay off.
The Beckham Law calculator compares your net salary and your tax with those of standard IRPF in your community.
Before the clock starts running
We check your case against each requirement before you file the 149. Previous residence, route of entry, dates and what you are going to earn in Spain. In writing.
Sources of this guide
We quote the BOE and the DGT rulings in our own translation. The legally binding text is the Spanish one, available through the links to the sources.
- LIRPF art. 93(1) (opening paragraph and letters a), b) and c)), 93(2) (opening paragraph and letters a) and c)) and 93(3)
- LIRPF art. 9(1)
- RIRPF art. 113(2) and 113(3)
- RIRPF art. 115
- RIRPF art. 116(1)(a), 116(1)(b) with its last paragraph and 116(3)
- RIRPF art. 117(4)
- Law 14/2013, arts. 69 to 72
- Law 28/2022, art. 3
- RIRPF art. 118, including 118(4)
- LGT art. 108(4)
- TEAC RG 00/04760/2019, of 26 January 2021
- TEAC RG 00/10390/2022, of 19 February 2026
- DGT, binding rulings cited in this guide