Beckham Law Self-Employed Spain: Why Freelancing Excludes You
Many foreigners arrive in Spain under the Beckham Law thanks to an employment contract and, a few months later, are asked to invoice as an autónomo (self-employed), often for the same foreign client. It looks like a change of paperwork, but it is not: the law forbids people in the regime from earning income through a permanent establishment in Spain, and the regulation lists the only business activities they may carry on. This guide explains why working from your home counts as a permanent establishment, why having every client abroad does not save you, what the three exceptions require (ENISA, start-ups, R&D), what five rulings of the Directorate General of Taxes said, how exclusion and modelo 149 work, what happens with modelo 130 and the tax return for the excluded year, which legal alternatives exist, which warning signs the tax office looks at and what to do if you are already in this situation. Everything comes from the official texts listed at the end.
Quick answer
No. If you invoice a business or professional activity from your home in Spain, you earn income through a permanent establishment and lose the Beckham Law from that same year (art. 93.1.c LIRPF and art. 118 RIRPF), even if all your clients are abroad. The only exceptions are an ENISA-approved entrepreneurial activity and services to start-ups or R&D work.

Reviewed by
Valery Grinkevich
Licensed economist · tax adviser · 20+ years of experience · Torrevieja, Costa Blanca
Key takeaways
- A person in the regime may not earn income through a permanent establishment located in Spain, except in cases 3.º and 4.º of art. 93.1.b (art. 93.1.c LIRPF).
- An individual operates through a permanent establishment if they have in Spain, continuously or habitually, facilities or workplaces of any kind where they carry on their activity (art. 13.1.a TRLIRNR).
- Having 100 % of your clients abroad does not prevent exclusion (DGT ruling V2248-24 of 21-10-2024).
- While in the regime, the only business activities allowed are an ENISA-approved entrepreneurial activity, services to start-ups and training or R&D (art. 113.2 RIRPF, last paragraph).
- Exclusion takes effect in the tax year of the breach, must be reported within one month on modelo 149, and you can never opt in again (art. 118 RIRPF).
- The excluded year is taxed under ordinary IRPF on worldwide income, with quarterly modelo 130 payments and a modelo 100 return (arts. 2 and 99.7 LIRPF and 109 to 111 RIRPF).
On this page
- Why a self-employed person loses the Beckham Law
- What a permanent establishment is when you work from home
- All my clients are outside Spain: why that changes nothing
- The only business activities allowed while in the regime
- What the exceptions require: ENISA, start-ups and R&D
- What the tax authority says: five DGT rulings
- Exclusion: from when and with what consequences
- How to report exclusion: modelo 149 within one month
- The excluded year: ordinary IRPF, modelo 130 and modelo 100
- Legal alternatives: real employment, a company or a start-up
- Typical mistakes and warning signs
- What to do if you are already in this situation
- How to regularise a Beckham Law exclusion caused by a business activity
- Frequently asked questions
Why a self-employed person loses the Beckham Law
The Beckham Law is the popular name for the special regime for workers, professionals, entrepreneurs and investors who move to Spain, set out in art. 93 LIRPF (Spanish Personal Income Tax Act). It lets you pay tax under the rules of the Non-Resident Income Tax (IRNR) in the year you become resident and the five following years, but only while every condition is met. Letter c) of art. 93.1 requires that the taxpayer does not earn income that would be classed as obtained through a permanent establishment located in Spain, except in the cases of letter b).3.º and 4.º.
The regime is designed for income that does not depend on an establishment in Spain. Its content (art. 93.2 LIRPF and art. 114 RIRPF) is to apply the IRNR rules for income obtained without a permanent establishment, with a rate of 24 % up to 600,000 € of taxable base and 47 % above that (art. 93.2.e.1.º LIRPF). A business activity carried on from Spain does not fit that logic: it is exactly what the law calls income obtained through a permanent establishment.
So the decisive question is not whether you register as an autónomo, but whether you earn income from a business or professional activity carried on from Spain. Art. 27.1 LIRPF defines that income as the result of organising, on your own account, means of production or human resources in order to take part in producing or distributing goods or services, and it expressly includes the liberal professions. A programmer, consultant, translator or designer who invoices for services fits that definition.
What a permanent establishment is when you work from home
The concept is in art. 13.1.a TRLIRNR (Non-Resident Income Tax Act): an individual operates through a permanent establishment in Spain when, under any title, they have there, continuously or habitually, facilities or workplaces of any kind in which they carry on all or part of their activity, or when they act through an agent authorised to contract in their name and on their behalf who habitually exercises those powers.
The rule does not require an office, a sign or rented premises. A workplace «of any kind» that you use habitually and from which you run the activity is enough, and it makes no difference whether you own it, rent it or borrow it («under any title»). The study in your flat in Alicante, Torrevieja or Valencia, from which you serve your clients every day, fits that description. The same provision lists places of management, branches and offices as typical cases.
In the rulings below, the DGT does not stop to discuss whether the professional's home is a workplace: when the person in the regime habitually carries on a business activity from Spain, it applies the exclusion directly. Arguing that your home is not a permanent establishment, when you work there every day for your clients, is a very weak position against that doctrine.
Example
An engineer in the regime through a contract with a German company settles in Benidorm. In her second year she ends the contract and starts invoicing the same company as an independent professional from her flat. From the first invoice she earns business income with a habitual workplace in Spain (art. 13.1.a TRLIRNR) and no longer meets art. 93.1.c LIRPF.
All my clients are outside Spain: why that changes nothing
It is the most common argument and it does not work. A permanent establishment is defined by where you work, not by where your clients are or where you get paid. Art. 13.1.a TRLIRNR looks at the facilities or workplaces located in Spain in which you carry on your activity.
The DGT said so expressly in binding ruling V2248-24 of 21-10-2024. The taxpayer, in the regime through an employment contract, wanted to leave the job and register as an autónomo to develop software, and 100 % of his clients would be companies resident in non-EU countries. The answer: except for cases 3.º and 4.º of art. 93.1.b LIRPF, earning business income through a permanent establishment located in Spain would lead to exclusion, effective in the tax year of the breach itself.
Nor does it help that the client has no presence in Spain. In ruling V1203-21 of 30-04-2021 the client was an Israeli company with no permanent establishment in Spain, and the conclusion was the same. What counts is the taxpayer's permanent establishment, not the client's.
Watch out
Invoicing from a foreign address, getting paid into an account in another country or using a payment platform does not change where you work. If you habitually work from Spain, the art. 93.1.c LIRPF problem remains.
The only business activities allowed while in the regime
The regulation is blunt. The last paragraph of art. 113.2 RIRPF (Personal Income Tax Regulation), in force since 7-12-2023, states that during the years of the regime the only business activities that people in it may carry on are an entrepreneurial activity, services to start-ups and the training, research, development and innovation activities of numbers 3.º and 4.º of art. 93.1.b LIRPF.
Any other business activity is excluded: ordinary consulting, commissioned programming, translation, design, private medicine or financial advice. The regulation sets no minimum income threshold and makes no distinction between a main activity and one that is secondary to a job.
The rule applies to everyone in the regime, whichever route they came in by. Someone who arrived through an employment contract (number 1.º) or as a company director (number 2.º) may, in principle, carry on an activity that meets every requirement of 3.º or 4.º, but not just any business activity. For 3.º, the second paragraph of art. 113.2 RIRPF also requires a favourable ENISA report if the entrepreneurial activity starts after opting into the regime.
What the exceptions require: ENISA, start-ups and R&D
Entrepreneurial activity (art. 93.1.b.3.º LIRPF). This is an innovative activity, or one of special economic interest for Spain, that has a favourable report from ENISA (the National Innovation Company) under art. 70 of Law 14/2013. Art. 113.2 RIRPF also requires the residence authorisation for business activity of art. 69 of that law before the move. EU citizens need the ENISA report, requested before moving, which ENISA must issue within ten working days of receiving the application.
Services to start-ups (art. 93.1.b.4.º LIRPF). You must be a highly qualified professional, with the qualification of art. 71 of Law 14/2013 or with that article's residence authorisation before moving (art. 113.2 RIRPF), and provide services to a start-up within the meaning of art. 3 of Law 28/2022. That law requires, among other conditions, that the company has its registered office, domicile or permanent establishment in Spain, 60 % of its workforce on employment contracts in Spain, no more than five years since registration (seven in certain sectors) and an innovative, scalable project assessed by ENISA (arts. 3.1 and 4.1). A foreign company with no presence in Spain does not qualify.
Training, research, development and innovation (art. 93.1.b.4.º LIRPF). The activity must fit one of the cases in letters a) to d) of art. 72.1 of Law 14/2013, or you must hold that article's residence authorisation before the move (art. 113.2 RIRPF). A technical or consulting service is not, by itself, R&D.
In both routes of number 4.º, pay for that activity must represent more than 40 % of all your business, professional and employment income. And it has to be proven: art. 119.2.f and g RIRPF asks for evidence of the qualification, the start-up's entry in the Mercantile Register and a document proving the services, or one proving the R&D activities. In the five rulings analysed here, the DGT keeps numbers 3.º and 4.º as an abstract exception, without applying them to any specific case.
Exclusion: from when and with what consequences
Art. 118.1 RIRPF provides that anyone who, after opting in, breaches any condition of the regime is excluded, and that exclusion takes effect in the tax year in which the breach occurs. It does not wait until the following year: if you issue your first invoice in October, that whole year is taxed under ordinary IRPF.
Art. 118.5 RIRPF adds that excluded taxpayers cannot opt into the regime again. If you had four of the six years left, you lose them all. Art. 118.3 also requires withholding and payments on account to follow IRPF rules from the breach onwards, except for employment income, which changes when you notify your payer of the breach. If you receive a salary, you must give your employer the data notification of art. 88 RIRPF (modelo 145) together with a copy of the exclusion notice.
If it happens in the first year of the regime, the practical effect is that the regime never applies at all. And if your spouse or children opted in with you under art. 93.3 LIRPF, art. 118.4 RIRPF excludes them jointly when the main taxpayer is excluded, with effect in the same tax year.
Watch out
Deregistering the activity a few months later does not bring you back into the regime. The breach has already happened in that tax year and art. 118.5 RIRPF prevents you from opting in again.
How to report exclusion: modelo 149 within one month
Art. 118.2 RIRPF requires you to report the exclusion to the tax administration within one month of the breach, using the notification form of art. 119. That form is modelo 149, approved by Order HFP/1338/2023 together with modelo 151, the regime's tax return, as the DGT itself notes in ruling V0849-24. On the AEAT (Spanish Tax Agency) e-office, the modelo 149 page covers the «notification of the option, waiver, exclusion and end of the posting».
The month runs from the breach, which in practice is when you start earning income from the activity. It is worth fixing that date with documents (first invoice, first payment, tax registration) because the deadline and the tax year affected depend on it.
If you report late, the delay may fall under the minor infringement of art. 198.1 LGT (failure to file returns on time without financial loss to the Treasury): a fixed fine of 200 €, which art. 198.2 halves if you file late without a prior request from the AEAT. Art. 188.3 LGT cuts the penalty by a further 40 % if you pay on time and do not appeal. The expensive part is not that fine but the tax difference for the excluded year, explained next.
The excluded year: ordinary IRPF, modelo 130 and modelo 100
Once the year is excluded, you are taxed like any resident: on all your income, wherever it arises and whatever the payer's residence (art. 2 LIRPF). The 24 % rate and taxation limited to Spanish-source income disappear; your salary, your invoices, your interest and your foreign gains go into the ordinary annual return, modelo 100, instead of the regime's modelo 151. Exclusion also ends the limited (obligación real) liability to Wealth Tax that art. 93.1 LIRPF attaches to the regime.
As an autónomo under the direct assessment method, art. 99.7 LIRPF and art. 109.1 RIRPF require quarterly payments on account with modelo 130: 20 % of the net income accumulated from 1 January to the end of the quarter, minus the payments for previous quarters and any tax withheld (art. 110 RIRPF). The deadlines are 1-20 April, July and October, and 1-30 January for the fourth quarter (art. 111.1 RIRPF).
The exception in art. 109.2 RIRPF, which frees professionals from modelo 130 when at least 70 % of the previous year's income was subject to withholding, will rarely apply to you: a foreign client with no presence in Spain is not, as a rule, among those required to withhold under art. 76.1 RIRPF, so your invoices carry no Spanish withholding.
If the quarters of the excluded year passed without filing modelo 130, filing late without a prior request carries the surcharge of art. 27.2 LGT: 1 % plus another 1 % for each full month of delay and, after twelve months, 15 % plus late-payment interest, with no penalty. If the AEAT finds it first, the tax and interest may be joined by the art. 191 LGT penalty for unpaid tax, which at its minor level is a fine of 50 % of the amount unpaid.
Example
Net income accumulated from January to June: 30,000 €. First-quarter payment: 2,400 €. The second-quarter modelo 130 is 20 % of 30,000 € (6,000 €) minus 2,400 €: 3,600 €, payable between 1 and 20 July (arts. 110.1.a and 111.1 RIRPF).
Legal alternatives: real employment, a company or a start-up
Stay an employee of the foreign payer. If the relationship is genuinely one of employment (subordination, working hours, payslips, contributions as an employee), your earnings are employment income and there is no business activity. Art. 93.1.b.1.º LIRPF treats the contract condition as met when the work is done remotely by telematic means, and the DGT has accepted a move to another unrelated employer resident in Spain (ruling V1053-17, cited in V2248-24). What does not work is calling a services contract a job: where there is sham, art. 16 LGT taxes the chargeable event actually carried out, with late-payment interest and, where applicable, a penalty.
Set up a company. Invoicing through your own company is not an automatic fix. Art. 27.1 LIRPF classes as business income what you earn from an entity in whose capital you hold a stake for professional activities when you are registered in the RETA (the self-employed Social Security scheme), and art. 15 LGT allows the AEAT to correct notoriously artificial acts whose only relevant effect is the tax saving. If the company is foreign and you run it from your home in Spain, art. 13.1.a TRLIRNR lists places of management as a permanent establishment of that company.
Fit into the entrepreneurial activity or a start-up. If your project is genuinely innovative, the route is number 3.º (ENISA report before starting the activity, art. 113.2 RIRPF) or providing services as a highly qualified professional to a start-up with its office or permanent establishment in Spain (art. 3 of Law 28/2022). Neither cures what you invoiced before meeting the requirements.
Leave the regime in an orderly way. Sometimes the sensible course is to accept the exclusion, report it and plan for ordinary IRPF. Art. 117 RIRPF allows you to waive the regime in November and December with effect from the following year, but a waiver does not help for the year in which you already breached it: that year the exclusion operates on its own (art. 118.1 RIRPF).
Typical mistakes and warning signs
A services contract used to justify a «job». Opting in through the employment route requires a document from the employer recognising the employment relationship (art. 119.2.a and c RIRPF). If what was filed is a service agreement paid against invoices, the option rests on a relationship that is not employment, and the AEAT may declare that what was really carried on was a business activity (art. 16 LGT).
RETA registration on the same day as the «arrival». Modelo 149 records the date of entry into Spain and the start date of the activity shown in the Social Security registration (art. 119.2 RIRPF), and the six-month deadline to opt in runs from that date (art. 116.1.a RIRPF). If the registration shown is a self-employed one, the notice itself reveals self-employment from day one.
Invoices dated before the declared arrival date. Invoices issued from an address in Spain, payments on account or VAT returns earlier than the date stated on modelo 149 contradict that date. This affects the year in which you became resident, which is the first calendar year with more than 183 days of presence after the move (art. 115 RIRPF), and the six-month deadline, and it opens the door to arguing that the option was never valid.
Other common slips: keeping on filing modelo 151 in the excluded year, not filing modelo 130 because «I was on the Beckham Law», thinking a small or occasional activity does not count (the regulation sets no minimum) or believing that deregistering soon afterwards fixes the year.
Watch out
If someone suggests ticking a ground on modelo 149 that does not match your real situation, or adjusting the arrival date to meet the deadline, the risk is yours: art. 16 LGT allows the tax office to tax what was actually done, with late-payment interest and a penalty.
What to do if you are already in this situation
First, rebuild the facts with documents: real arrival date, date and type of Social Security registration, the contract filed with modelo 149, first invoice and first payment. That tells you whether there is a breach, since when, and whether the option itself was correct.
Then act before the AEAT does. File modelo 149 reporting the exclusion (even if the month has passed, the art. 198.2 LGT penalty is lower without a prior request), bring the excluded year's modelo 130 filings up to date with the art. 27 LGT surcharge, notify your payer of the change in withholding (art. 118.3 RIRPF) and prepare that year's modelo 100 with all your worldwide income. If you already filed modelo 151, that return will need to be regularised; the guide on supplementary returns explains the surcharges.
If you have already received a request from the tax office, do not improvise the answer: what you reply stays on the file and shapes the regularisation. And if you want to stay in the regime, decide before issuing the first invoice: either a real employment relationship, or one of the activities of numbers 3.º and 4.º with every requirement proven.
Tip
Keep in one folder the regime certificate, the modelo 149 receipt, the contract you filed, your tax and Social Security registrations and your first invoices. It is the first thing any review will ask for.
Step-by-step
How to regularise a Beckham Law exclusion caused by a business activity
Fix the date of the breach
Find the first invoice or first payment for the activity carried on from Spain. That day starts the month of art. 118.2 RIRPF and determines the excluded tax year (art. 118.1 RIRPF).
File modelo 149 reporting the exclusion
Report the exclusion on the AEAT e-office within the month. If it has passed, file it anyway without waiting for a request: the art. 198.2 LGT penalty is halved.
Tell your payer if you receive a salary
Give your employer the data notification (modelo 145) with a copy of the exclusion notice so it applies IRPF withholding (art. 118.3 RIRPF).
Bring modelo 130 up to date
File the payments on account for the quarters of the excluded year (arts. 109 to 111 RIRPF). Late ones carry the art. 27 LGT surcharge if there has been no prior request.
File the year on modelo 100
Include all your income, including foreign income (art. 2 LIRPF), in the ordinary IRPF return and regularise modelo 151 if you already filed it.
| Ruling | Facts | DGT conclusion |
|---|---|---|
| V5668-26 (30-09-2026) | Medical specialist in the regime (2026-2031) who wants to add medical services as an independent professional to her employment contract | Exclusion if she earns business income through a permanent establishment in Spain, except numbers 3.º and 4.º; effective in the same tax year |
| V2248-24 (21-10-2024) | Person in the regime through an employment contract who becomes an autónomo to develop software, with 100 % of clients in non-EU countries | Exclusion, except numbers 3.º and 4.º; effective in the same tax year |
| V1274-25 (10-07-2025) | Person in the regime considering work as an independent professional issuing invoices | Exclusion, except numbers 3.º and 4.º; effective in the same tax year |
| V1203-21 (30-04-2021) | Employee in the regime since 2019 who would add financial advice for an Israeli company with no permanent establishment in Spain | Exclusion effective in the same tax year (law before 2023) |
| V0849-24 (23-04-2024) | International remote worker with an employment contract who registered with Social Security and the AEAT for business activities | If she earned business income through a permanent establishment in Spain, she would breach art. 93.1.c LIRPF |
FAQ
Frequently asked questions
Can I be self-employed and stay on the Beckham Law?
No, unless your activity is one of the three the regulation allows. Art. 113.2 RIRPF says the only compatible business activities are an ENISA-approved entrepreneurial activity, services by a highly qualified professional to start-ups and training or R&D. Any other activity carried on from Spain means income through a permanent establishment and excludes you from the regime (art. 93.1.c LIRPF).
What if all my clients are outside Spain?
You are excluded all the same. A permanent establishment depends on where you work, not where your clients are (art. 13.1.a TRLIRNR). In ruling V2248-24 the DGT applied the exclusion to a software developer with 100 % of clients in non-EU countries.
Does my home count as a permanent establishment?
It can, if you work there habitually. Art. 13.1.a TRLIRNR refers to facilities or workplaces «of any kind» that you have «under any title» on a continuous or habitual basis. In the rulings cited in this guide, the DGT does not require a separate office to apply the exclusion.
From when does the exclusion apply?
From the same tax year in which the breach occurs. Art. 118.1 RIRPF says so and the DGT repeats it in V5668-26, V2248-24 and V1274-25. If you start invoicing in October, that whole year is taxed under ordinary IRPF.
How do I report the exclusion to the tax office?
On modelo 149, within one month of the breach. Art. 118.2 RIRPF refers to the notification form of art. 119, which is modelo 149 approved by Order HFP/1338/2023. It is filed on the AEAT e-office.
What happens if I do not report the exclusion on time?
You face a fixed fine of 200 €, halved if you file late without a prior request (art. 198 LGT). The bigger problem is the tax: the excluded year is taxed under ordinary IRPF and, if you filed under the regime, the difference may bring surcharges, interest and the art. 191 LGT penalty.
Can I go back to the Beckham Law if I stop invoicing?
No. Art. 118.5 RIRPF states that excluded taxpayers cannot opt into the regime again. Deregistering the activity after the breach recovers neither that year nor the following ones.
Do I have to file modelo 130 in the excluded year?
Yes, like any autónomo under direct assessment. Art. 109.1 RIRPF requires payments on account, and the exception for 70 % of income subject to withholding (art. 109.2) almost never applies with foreign clients, who do not usually withhold. The deadlines are 1-20 April, July and October and 1-30 January (art. 111.1 RIRPF).
Can I invoice through a company to stay in the regime?
It is not an automatic fix and it can make things worse. If you hold a stake in the company, provide professional services through it and are registered in the RETA, art. 27.1 LIRPF treats that income as business income. Art. 15 LGT also allows notoriously artificial structures to be corrected, and a foreign company run from your home may have its place of management in Spain (art. 13.1.a TRLIRNR).
Does registering with the tax office or the RETA already exclude me?
Exclusion happens when you earn income from the activity, not because of the registration itself. In ruling V0849-24, on a remote worker registered for business activities, the DGT made the breach conditional on her earning that income. Even so, a registration with no real activity is a warning sign worth correcting.
Does a small or occasional activity also exclude me?
Yes. Art. 113.2 RIRPF sets no minimum income: it lists the only activities allowed. In ruling V5668-26 the activity was secondary to an employment contract and the DGT still applied the exclusion if income is earned through a permanent establishment in Spain.
Related guides
- Reporting & compliance
Beckham Law Spain 2026: requirements, 6-month rule, modelo 149
The Beckham law (art.
Read the guide → - Self-employment
Modelo 130 for foreign freelancers in Spain: 2026 guide
Modelo 130 is the quarterly income tax (IRPF) instalment of an autónomo under direct assessment: you pay 20% of the net profit accumulated over the year, less earlier payments and withholdings (art.
Read the guide → - Self-employment
How to Become an Autónomo in Spain as a Foreigner 2026
To be an autónomo in Spain you need a NIE and, if you are not an EU, EEA or Swiss citizen, a self-employment work authorisation.
Read the guide → - Reporting & compliance
Amended tax return in Spain 2026: how to file and surcharges
If you find income missing from your Spanish income tax (IRPF) return, file an autoliquidación rectificativa (2024 onwards) or a declaración complementaria (2023 and earlier) before the tax office contacts you.
Read the guide →
Related services
Beckham regime: eligibility review and modelo 149
from €1,499 + VAT / taxpayer
Sources
- Ley 35/2006 del IRPF (Spanish Personal Income Tax Act), consolidated text, BOE, arts. 2, 27, 93 and 99
- Real Decreto 439/2007, Reglamento del IRPF (Personal Income Tax Regulation), consolidated text, BOE, arts. 76, 109 to 111 and 113 to 119
- Real Decreto Legislativo 5/2004, texto refundido de la Ley del IRNR (Non-Resident Income Tax Act), BOE, art. 13.1.a
- Ley 58/2003, General Tributaria (General Tax Act), consolidated text, BOE, arts. 15, 16, 27, 188, 191 and 198
- Ley 28/2022, de fomento del ecosistema de las empresas emergentes (Start-ups Act), BOE, arts. 3 and 4
- Agencia Tributaria: modelo 149, special regime for posted workers (option, waiver and exclusion)
- Agencia Tributaria: modelo 130, IRPF payment on account under direct assessment
- Agencia Tributaria: modelo 100, annual IRPF return
- Dirección General de Tributos (Directorate General of Taxes): binding ruling V5668-26 of 30-09-2026
- Dirección General de Tributos: binding ruling V2248-24 of 21-10-2024
- Dirección General de Tributos: binding ruling V1274-25 of 10-07-2025
- Dirección General de Tributos: binding ruling V1203-21 of 30-04-2021
- Dirección General de Tributos: binding ruling V0849-24 of 23-04-2024
Last updated: 2026-11-20