Skip to main content
Expato

Remote work in Spain: 183 days, Beckham regime

When a remote employee becomes a Spanish tax resident and how to opt into the Beckham regime (art. 93 LIRPF): conditions, rates, Modelo 149 and 151 deadlines.

Expato··Checked against primary sources: November 4, 2026·16 min read

This guide is for people who live in Spain and work under an employment contract for a company outside it, including a Ukrainian one. Two questions: when you become a tax resident, and whether you can pay under the Beckham regime instead of the ordinary IRPF scale. Every statement was checked against the consolidated BOE texts and the Agencia Tributaria (AEAT) pages on 4 November 2026.

This is not legal advice

This sets out the rules of the law and AEAT's position, not an assessment of your situation. Before filing Modelo 149 or a return, show your documents to a gestor: waiving the regime or being excluded from it means you cannot opt in again (arts. 117–118 RIRPF).

When you become a Spanish tax resident

Article 9 LIRPF (Ley 35/2006) has not changed since 2007; the Manual práctico de Renta 2025 repeats it unchanged. You are a resident for a calendar year if any of these holds:

  • More than 183 days a year in Spain. Sporadic absences (holidays, a trip home) count as days in Spain until you prove tax residence in another country. If that country is a tax haven, AEAT may require you to prove physical presence there for 183 days.
  • Centre of economic interests in Spain. Even with fewer days, you are a resident if the main core or base of your activities or economic interests is here, directly or indirectly.

Plus the family presumption: if your spouse, from whom you are not legally separated (no separado legalmente), and the minor children who depend on you habitually live in Spain, the law treats you as a resident too, unless proven otherwise.

What matters for a remote employee:

  • There is no split year. According to AEAT, an individual is a resident or a non-resident for the whole calendar year. If you arrived on 2 July or later, had not been in Spain that year before arriving and no other criterion applies, you do not reach the day threshold in the year of arrival.
  • How days are counted. AEAT, citing the TEAC, adds up days of proven presence, days between two proven presences and sporadic absences. A day with proven presence counts in full, there is no minimum number of hours; days do not have to be consecutive.
  • Certificate from another country. Residence in another country is proven with a certificate from its tax authority; AEAT treats it as valid for one year.

Ukraine and Spain: which treaty applies

Between Spain and Ukraine the Spain–USSR treaty of 1985 still applies: the consolidated BOE text states that it currently applies only to Tajikistan and Ukraine, and AEAT lists Ukraine among the countries the treaty applied to from the start and does not name it among those that have left.

The new Spain–Ukraine treaty was signed in Madrid on 10 September 2020 and sent to the Cortes in February 2021, but its entry into force has not been published in the BOE. As of 4 November 2026 the 1985 text is in force; do not cite the "2020 treaty" as applicable law.

What matters in it for a remote employee:

  • Dual residence (art. 1.3): if both countries treat you as a resident, they look in turn at your permanent home, centre of vital interests, habitual abode, nationality; if that does not settle it, the tax authorities of the two countries reach an agreement.
  • Salary (art. 12): income for work physically performed in Spain may be taxed by Spain unless three conditions are met at the same time: you spent 183 days or fewer in Spain in the tax year, the employer is not a Spanish resident, and the salary is not borne by a Spanish permanent establishment. Someone who lives in Spain all year already fails the first condition.

What the Beckham regime is

Its official name is régimen especial aplicable a los trabajadores, profesionales, emprendedores e inversores desplazados a territorio español, art. 93 LIRPF. The idea: a person who became a Spanish tax resident because of a move can opt to be taxed under the rules of the non-resident income tax (IRNR) while remaining an IRPF taxpayer.

The current wording was introduced by Ley 28/2022 from 1 January 2023; since then only the savings-income scale has changed (Ley 31/2022 and Ley 7/2024, the latter from 1 January 2025). The regulations are arts. 113–119 RIRPF as worded by RD 1008/2023 (art. 120 in its 2007 wording). At the time of checking, no other 2025–2026 law had amended art. 93, and we found no bill to reform the regime.

ConditionRule
DurationYear of the change of residence + five following tax periods (art. 93.1 LIRPF)
Not a residentIn none of the five tax periods before the year of the move (before 2023, ten)
When the moveIn the first year the regime applies or in the previous year (art. 93.1.b))
First year of the regimeThe first calendar year after the move in which you spent more than 183 days in Spain (art. 115 RIRPF)
No permanent establishmentIncome is not obtained through a permanent establishment in Spain, except under grounds 3 and 4 (art. 93.1.c))

Who can opt in: a closed list of grounds

The list in art. 93.1.b) is closed: at least one ground must fit.

No.GroundWhat is required
1Employment contract (ordinary, special or statutory)Employer in Spain; or posting by the employer with a carta de desplazamiento; or work done entirely remotely, exclusively through computer, telematic and telecommunication means. Professional athletes (RD 1006/1985) are excluded
2Appointment as a director (administrador)If the company is an entidad patrimonial, the director cannot hold a stake that makes them a related party under art. 18 LIS
3Entrepreneurial activity in SpainPositive ENISA report (art. 70 Ley 14/2013); nationals of non-EU countries also need the residence permit for entrepreneurial activity (art. 69 Ley 14/2013), obtained before the move
4Highly qualified professionalServices to a startup (empresa emergente, Ley 28/2022) or training / R&D&I; pay for them exceeds 40 % of all business, professional and employment income; qualification under art. 71 Ley 14/2013 (a permit under arts. 71/72 before the move counts as enough)

The remote variant is for employees only

The remote employee is covered by ground 1 in its third form: work under an employment contract done remotely. The law does not require the employer to be foreign; in practice it usually is, but that is not a condition. If you hold the international teletrabajo visa (visado) under Ley 14/2013 and are an employee, the condition is deemed met automatically.

Freelancers are not covered. Art. 93.1.b).1º speaks of a «contrato de trabajo» and of «trabajadores por cuenta ajena». An autónomo working remotely for foreign clients is not on the list, unless the activity is entrepreneurial with an ENISA report or consists of services to a startup / R&D&I (grounds 3–4); art. 113.2 RIRPF expressly names these as the only economic activity allowed under the regime. This is our reading of the closed list in the text of the law; we cite no DGT rulings.

Hence the confusion: the digital nomad visa is an immigration document, the Beckham regime is a tax one. The visa under art. 74 bis Ley 14/2013 is issued to third-country nationals to work remotely for companies outside Spain: an employee works only for foreign companies, and a self-employed person may invoice Spanish clients for no more than 20 % of their activity; you need a degree from a recognised university, a business school or vocational training, or at least three years of experience. An employee's visa covers only the condition on the reason for the move (art. 93.1.b)); the other conditions — five years without residence, no permanent establishment, the Modelo 149 deadline — are still required. A freelancer's visa does not cover that condition. More in the guide Digital nomad visa.

Family

Your spouse, children under 25 (any age if disabled) and, if there is no marriage, the other parent can also opt into the regime: they move with you or later, but before the end of your first year under the regime (art. 113.3 RIRPF also allows an earlier move if they did not become residents before that year), become residents, meet the five-year and permanent-establishment conditions themselves, and the sum of their taxable bases is lower than yours. Divorce or annulment of the marriage does not by itself end the family members' regime (art. 118.4 RIRPF).

How income is taxed under the regime

WhatRate / rule
General income, salary included24 % up to 600 000 € of taxable base, 47 % above
Dividends, interest, capital gains from selling assets19 % up to 6 000 €; 21 % up to 50 000 €; 23 % up to 200 000 €; 27 % up to 300 000 €; 30 % above (30 % from 1 January 2025; in 2023–2024 it was 28 %)
Withholding on salary by a Spanish payer24 %; 47 % on the part above 600 000 € from one payer in a year
Credit for foreign tax on salaryNo more than 30 % of the Spanish tax on that income (art. 114.2.b) RIRPF)
Wealth tax (Impuesto sobre el Patrimonio)Only on assets in Spain (obligación real)

Details people forget:

  • All salary is Spanish income. All employment income for the period of the regime is deemed obtained in Spain, wherever the work is done and wherever the employer is, including days abroad.
  • Other foreign income is outside Spanish tax. Only Spanish-source income is taxed (AEAT: «exclusivamente por las rentas que obtienen de fuentes situadas en España»); foreign dividends or rent abroad do not fall under the regime. The exception is salary and income from an activity with an ENISA report.
  • Income for work before the move or after notifying the end of the desplazamiento is not covered by the regime (art. 114.2.a) RIRPF).
  • Losses are not set off against gains: income items are taxed cumulatively for the year without offsetting each other (art. 93.2.c)).
  • IRNR exemptions do not apply, except employment income in kind under art. 14.1.a) TRLIRNR.
  • You are not a resident for treaty purposes. According to AEAT, a person under the regime is not treated as a Spanish resident for double taxation agreements; a residence certificate for treaty purposes is possible only in the cases the minister determines on a reciprocal basis (art. 120.2 RIRPF); an ordinary tax residence certificate can be requested (art. 120.1). How this plays out with Ukraine is a question for an adviser.
  • A foreign employer may not withhold. If the employer has neither a company nor a permanent establishment in Spain and does not operate here, on our reading of arts. 30–31 TRLIRNR it has no obligation to withhold Spanish tax; in that case the remote employee calculates and pays the unwithheld tax in the annual Modelo 151 (art. 114.4 RIRPF). A non-resident that operates in Spain without a permanent establishment is obliged to withhold (arts. 30 and 31.1.c) TRLIRNR); if you work for a Spanish company related to your employer, that company may be obliged to withhold (art. 114.3 RIRPF). Check with a gestor.

Deadlines and forms: Modelo 149 and Modelo 151

The current forms were approved by Orden HFP/1338/2023 (BOE of 15 December 2023). The regime needs two: Modelo 149 (opting in, waiver, exclusion, end) and Modelo 151 (annual return). If you used the Modelo 147 procedure, the special withholding procedure of art. 89.B) RIRPF, you cannot opt into the regime (art. 116.3 RIRPF).

ActionFormDeadline
Opting into the regimeModelo 149Six months from the start-of-activity date in your alta with the Spanish Seguridad Social, or in the document that keeps you in the social security system of your home country, or, if registration is not mandatory, in the document recording the start of activity
Opting in by a family memberModelo 149Six months from the date of entry into Spain, or up to the main taxpayer's deadline if that is later
Confirmation from AEAT—Within ten working days of filing; you give a copy to the payer so it withholds 24 %
Annual returnModelo 151The same deadline approved each year for the general IRPF campaign; online only
Waiving the regimeModelo 149November–December of the year before the one from which the regime stops applying; an employee first gives the employer the data notice under art. 88 RIRPF. You cannot opt in again
Breach of a conditionModelo 149Within one month of the breach; exclusion from that tax period, you cannot opt in again
End of the desplazamientoModelo 149Within one month of the end, if you remain a resident that year

The six months run from social security, not from arrival

The main trap for an employee of a foreign employer. Under the Spain–Ukraine social security convention of 1996 a worker is insured only where the work is performed: working from Spain means, as a general rule, the Spanish Seguridad Social. The main exception is an employee whom a Ukrainian employer has posted to Spain for up to two years, or a self-employed person insured in Ukraine who works temporarily in Spain for up to two years; they stay under Ukrainian legislation (in both cases, a further up to two years only if the period is exceeded due to unforeseen circumstances and Spain agrees). There are other exceptions: arts. 7.3–7.7 and art. 8 (the competent authorities of the two countries may agree other exceptions). On the text of the convention, a remote employee who moved on their own initiative does not count as "posted" (this is our reading). Before counting the six months, establish with a gestor which document you have: a Spanish alta or a document keeping you in the Ukrainian system.

Modelo 149 is filed online only; you need a NIF and to be included in the Censo de Obligados Tributarios; supporting documents are first uploaded to the AEAT service and their registration number is entered in the form. Under any ground you attach the residence permit, if you have one (art. 119.2 RIRPF); for the remote variant, also a document from the employer (art. 119.2.c): the employment relationship, the start-of-activity date from the social security document, and the expected duration of the work from Spain.

What to do, step by step

  1. Count your days in the calendar year. More than 183 and you are a resident for the whole year. Fewer: check the centre of economic interests and the family presumption. If you arrived after 1 July, the first year of the regime will most likely be the next one.
  2. Check the five years: you were not a Spanish tax resident in any of the five tax periods before the year of the move.
  3. Identify your ground. An employee with a contract and fully remote work: ground 1. An autónomo with no ENISA report and no services to a startup / R&D&I: the regime is not for you.
  4. Sort out social security: where you are insured and which document fixes the start-of-activity date; the six months run from it.
  5. Collect the employer's documents: employment relationship, start date, expected duration of the work from Spain.
  6. File Modelo 149 online within six months, after uploading the documents first. Make sure you have not filed Modelo 147.
  7. Get AEAT's confirmation (up to ten working days) and keep it.
  8. File Modelo 151 every year within the general IRPF campaign deadline. If the employer does not operate in Spain and withholds nothing, you pay the tax yourself when filing; whether it is obliged to withhold, check with a gestor.
  9. Keep an eye on the conditions. A breach is reported within a month of it, a waiver is filed in November–December, and in both cases there is no way back into the regime.

What is not covered here

Three questions are left out on purpose, because we have not read the primary source on them: imputed income from your own home in Spain under the regime; applying the regime to someone who lived in Spain, left and came back five or more years later; the specific filing dates for Modelo 151 for 2026 (published with the campaign). On all three, see an adviser.

Next

If the question for now is only whether you have become a resident, start with the guide Tax residence under temporary protection. For the immigration side of remote work: Digital nomad visa.

Last updated: 4 November 2026

Facts checked against the consolidated BOE texts (LIRPF, RIRPF, TRLIRNR, Ley 14/2013, the 1985 and 1996 conventions) and the AEAT pages on 4 November 2026. Before filing, check the current wording of art. 93 LIRPF and the Modelo 149 and 151 pages on the Agencia Tributaria website.

Get relocation updates

New guides, legal changes and practical tips for moving to Spain — straight to your inbox.

By subscribing you agree to receive emails from Expato and accept our Privacy Policy. You can unsubscribe at any time.

Or follow us on Telegram — daily updates for Ukrainians in Spain (channel in Ukrainian):Follow the channel →

Frequently asked questions

I work remotely from Spain for a foreign company. When do I become a tax resident?
Under art. 9 LIRPF, when you have spent more than 183 days in Spain in a calendar year, or when the main centre of your economic interests is here. Short trips abroad count as days in Spain until you prove tax residence in another country with a certificate from its tax authority. There is no split year: for a given year you are either a resident for the whole year or not at all.
Does the Beckham regime work for a remote employee whose employer is not in Spain?
It can, if you are an employee (contrato de trabajo), the work is done remotely, exclusively through computer and telecommunication means — art. 93.1.b).1º LIRPF says so explicitly — and the other conditions are met (five years without residence, the Modelo 149 deadline). The law does not require the employer to be foreign. Holders of the international teletrabajo visa under Ley 14/2013 who are employees are deemed to meet this condition automatically.
I am a freelancer (autónomo) with foreign clients. Can I opt into the Beckham regime?
On the text of the law, no, unless your activity is entrepreneurial with a positive ENISA report or consists of services to a startup / R&D&I (grounds 3 and 4 of art. 93.1.b)). The list of grounds is closed, and the remote variant covers only «trabajadores por cuenta ajena». This is our reading of the article, not a DGT ruling; discuss a borderline case with a gestor.
How long do I have to file Modelo 149?
Six months from the start-of-activity date shown in your alta with the Spanish Seguridad Social, or in the document that keeps you in the social security system of your home country, or, if registration is not mandatory, in the document recording the start of activity (art. 116.1.a) RIRPF). The clock starts from the date in that document, not from the date you arrived.
How many years does the regime last and what tax is paid on salary?
The year you change residence plus the five following tax periods: six in total. General income, salary included, is taxed at 24 % up to 600 000 € of taxable base and 47 % above that. Dividends, interest and capital gains go on a separate scale from 19 % to 30 % (the top 30 % band applies from 1 January 2025; in 2023–2024 it was 28 %).
How do I pay the tax if my foreign employer withholds nothing?
If the employer has neither a company nor a permanent establishment in Spain and does not operate here, on our reading of arts. 30–31 TRLIRNR it has no obligation to withhold Spanish tax. In that case you calculate and pay the unwithheld tax yourself in the annual Modelo 151 return (art. 114.4 RIRPF), whose deadline matches the general IRPF campaign for that year. A non-resident that operates in Spain without a permanent establishment is obliged to withhold (arts. 30 and 31.1.c) TRLIRNR); if you work for a Spanish company related to your employer, that company may be obliged to withhold (art. 114.3 RIRPF). Check with a gestor.

Sources

Related guides