When you become a Spanish tax resident
Tax residency follows from the facts of your situation: no form makes you resident and no form keeps you out. Article 9 of the income tax law (Ley 35/2006, the law governing IRPF, Spain's personal income tax) sets two independent tests, and meeting either one is enough. A third rule presumes residence because of where your family lives.
The day count. You are resident if you spend more than 183 days in Spain during a calendar year. Sporadic absences count towards that total, unless you prove tax residence in another country. If you claim residence in a jurisdiction Spain classes as non-cooperative, the AEAT can also require proof of 183 days there. Your intention to stay or leave does not change the count. The central tax tribunal (TEAC) counts every day of proven presence in full, however short, and adds the days reasonably falling between two proven presences unless you can prove you were abroad. Keep your travel records for that reason.
The centre of economic interests. You are also resident, whatever your day count, if the main base of your activities or economic interests is in Spain, directly or indirectly. So staying under 183 days does not on its own keep you non-resident. Someone who spends most of the year elsewhere while running their main business from Spain still needs to look at this test.
The family presumption. You are presumed resident if your spouse, from whom you are not legally separated, and your dependent minor children habitually live in Spain. You can rebut this with evidence, but the burden is then on you.
Residence covers the whole year. Under the Spanish rules you are resident or non-resident for the entire calendar year, and a change of residence does not interrupt the tax period. If you pass the test in the year you arrive, that year's return generally covers your income from before the move too. Where another country also treats you as resident, the tax treaty with that country, if there is one, decides how the two claims are resolved. To take the AEAT's own example, someone moving on 1 October 2025 spends 92 days in Spain that year, so they do not pass the day count in 2025. If they exceed 183 days in 2026, that is their first year of residence.
What to tell the tax office
Your NIE works as your tax number (NIF), and you need one before any Spanish tax registration. See the NIE guide if you do not have one yet. The AEAT's Modelo 030 is for individuals with no business activity and no income subject to withholding. It registers you in the tax census and changes your tax address, normally within three months of a move, and you can file it online or on paper. Anyone with a business or professional activity uses Modelo 036 instead, with one month to report a change of address. These forms record your status. They do not decide it.
If you are an employee staying on the standard regime, Modelo 147 is a separate form that tells the AEAT about your move so that payroll can withhold tax as for a resident. It needs a document from your employer. You can file it from 30 days before you enter Spain, up to 183 days after the move in the usual case.
The standard regime: what being resident means
Unless you opt out, this is the system that applies once you are resident. You pay IRPF on your income worldwide, not only on what you earn in Spain. Salary, self-employment income and most other general income are taxed on a progressive scale with a state part and a regional part. In 2025 the state part runs from 9.5% to 24.5% above EUR 300,000, and each autonomous community adds its own, so your combined rate depends on where you live. Dividends, interest and capital gains go on a separate savings scale, whose state and regional parts together run from 19% to 30% in 2025.
In return you get the personal and family allowances and the deductions the regime offers, and relief for foreign tax where the rules allow it. These matter most at moderate incomes and for families. You report on Modelo 100, normally in spring: for the 2025 tax year the window ran from 8 April to 30 June 2026. Whether you have to file depends on your income, and employees should not assume that payroll withholding has settled everything. A late return filed before the AEAT asks for it carries a surcharge of 1% plus 1% for each full month of delay, and after 12 months 15% plus late-payment interest. If the AEAT finds the problem first, penalties can apply. Getting your residence wrong can also leave the same income taxed in two countries.
Two further obligations catch new residents out. Modelo 720 is an annual return, due between 1 January and 31 March, reporting foreign assets where a category (accounts, securities and similar rights, or real estate) exceeds EUR 50,000. Wealth tax (Impuesto sobre el Patrimonio) applies to residents on their assets worldwide, with allowances and regional rules that make the real outcome very different from one region to another.
If you are self-employed you also have quarterly obligations. Modelo 303 is the quarterly VAT return for activities subject to VAT. Modelo 130 is the quarterly income tax instalment, and you file it as a nil return even in a quarter with nothing to pay. Professionals are excused from Modelo 130 if at least 70% of the previous year's activity income was subject to withholding. Our autónomo guide covers this in detail.
The Beckham regime: what changes
Its legal name is the special regime for workers, professionals, entrepreneurs and investors posted to Spain, set out in article 93 of the income tax law and articles 113 onwards of its regulation. It dates from the early 2000s and took its nickname from the footballer David Beckham, who moved to Spain at about that time. Professional athletes are now excluded. You remain a Spanish tax resident and an IRPF taxpayer, but your tax is worked out largely under the non-resident income tax rules. It runs for the year you become resident and the next five, six tax years at most.
What is taxed. Your employment income, and income from a qualifying entrepreneurial activity, counts as Spanish income wherever you earn it during the regime. Non-resident rules otherwise look at Spanish-source income, so other foreign income such as foreign dividends, interest and capital gains is generally outside this return. The AEAT describes regime taxpayers as people who do not pay tax on their total income. Work done before the move, or after you report the end of your posting, is not income under the regime, though it may still be taxed if it is Spanish-source.
The rates. General income is taxed at 24% up to EUR 600,000 and 47% above that. Dividends, interest and gains have their own scale: 19% up to EUR 6,000, 21% up to EUR 50,000, 23% up to EUR 200,000, 27% up to EUR 300,000 and, from 2025, 30% above that. Employers withhold 24%, and 47% on anything above EUR 600,000 from the same payer in a year. As an illustration, general income of EUR 700,000 would give EUR 144,000 on the first EUR 600,000 and EUR 47,000 on the rest, EUR 191,000 before deductions.
What you give up. The only amounts taken off the tax are donation deductions, withholdings and payments on account, and relief for foreign tax on foreign work or entrepreneurial income, capped at 30% of the tax attributable to it. The personal and family allowances of the standard regime are not on that list. Income is taxed item by item, so a loss on one investment cannot be set against a gain on another. If you own Spanish property you must declare notional rental income on it, even your main home, following a TEAC decision of 17 July 2025. A buyer of Spanish property from you must also retain 3% of the price.
What else changes. You file Modelo 151 instead of Modelo 100. You are not required to file Modelo 720, although family members who are resident and not in the regime can be. Wealth tax applies to your Spanish assets only.
The two regimes compared
This table sets out the main differences for the state system, using the rates the AEAT publishes for 2025. It shows how the rules work; your own figures decide the result.
How to weigh the choice
The regime tends to look stronger when your income is high and mostly from work, or when you hold significant foreign investments you do not want drawn into the Spanish return. It tends to look weaker when your income is moderate and family allowances would reduce your standard bill, when you expect losses you would want to offset, or when your main wealth is a Spanish home. There is no single break-even salary, because the standard figure depends on your region, family and deductions.
Compare both regimes on your actual figures for at least the first few years before you file. The choice is hard to reverse: if you renounce, you cannot opt in again. Also check how your home country will treat the arrangement, including whether you can rely on a tax treaty. That depends on the country and needs professional advice.
Who can opt in after the Startup Law
Spain's Startup Law, Ley 28/2022 of 21 December, widened the regime for tax periods from 1 January 2023. It cut the look-back period from ten years to five, added routes for remote workers, entrepreneurs and highly qualified professionals, and let certain family members join. You must meet all three conditions below.
First, five years without Spanish residence. You must not have been resident in Spain in the five tax years before the year you become resident. The count runs from the year you acquire residence, not the year you move. If your first year of residence is 2026, you look at 2021 to 2025.
Second, a qualifying reason for the move, arising in your first year under the regime or the year before. The AEAT lists these routes:
- Employment contract. A new job in Spain with a causal link to the move, a transfer ordered by your employer with a letter of assignment, or remote work done exclusively through IT and telecommunications, including under the international telework visa. A period of unemployment for reasons outside your control after that job ends does not in itself exclude you. Professional athletes are excluded.
- Company administrator. This applies whatever your shareholding, unless the company is a passive holding company (entidad patrimonial). In that case your stake must not make you a related party, which in practice means under 25%.
- Entrepreneurial activity. An activity that is innovative or of special economic interest under Ley 14/2013. You need a favourable report from ENISA, the state SME financing body, unless you hold the entrepreneur residence authorisation. EU citizens request the report before moving.
- Highly qualified professional at a startup. You meet the qualification standard of Ley 14/2013 and provide services to a company recognised as an emerging company under article 3 of Ley 28/2022.
- Highly qualified professional in training, research, development or innovation. Pay from these activities must exceed 40% of your total business, professional and employment income.
Third, no income through a Spanish permanent establishment, meaning a fixed place of business in Spain. The exception is the entrepreneur, startup and research routes. A shareholder who provides services to the company beyond being its administrator, and earns business income through a permanent establishment, fails this condition.
The list explains who is left out as much as who is included. There is no general route for ordinary freelancing, for retirement, or for simply investing: an investor needs to fit one of the routes above, such as administrator. The telework route sits under the employment contract route, and the AEAT asks for an employer's document, so if you are self-employed on a telework visa do not assume you qualify. Get that checked before you plan around the regime.
Family members
Since 2023 your spouse, your children under 25 (or of any age if they have a disability), and the other parent of those children if you are not married can also opt in. They must move with you or after you, before the end of your first year under the regime, and become Spanish tax resident because of the move. They must meet the same five-year and permanent establishment conditions, and the sum of their taxable bases each year must be lower than yours. Each person files their own Modelo 149, after yours. The deadline is the later of six months from their entry to Spain or six months from your start date. They stay in the regime only as long as you do.
Basque Country and Navarra
These territories levy their own income tax through their own tax authorities (Haciendas Forales), so rates and special regimes there can differ from what this guide describes. If you will live there, check the position with the relevant Hacienda Foral rather than relying on the state rules.
What this means in your situation
These are general starting points. In each case the outcome depends on your documents and dates.
You have a job with a Spanish employer
You can stay on the standard regime or, if you meet the conditions, opt in. Your employer withholds tax either way, at different rates. Your six months normally run from the Social Security registration your employer makes, so raise it before your first day.
You work remotely for a foreign employer
The regime is possible since the 2023 reform, and you will need a document from your employer that includes the expected length of the arrangement. A foreign employer may not withhold Spanish tax, so expect to deal with the reporting and payment yourself. Check Social Security and permanent establishment questions for the employer at the same time.
You are self-employed or starting a business
Ordinary self-employment does not qualify. Entrepreneurs with a favourable ENISA report or the entrepreneur authorisation can, as can the highly qualified routes. Otherwise you are on the standard regime with quarterly VAT and income tax obligations.
You are retiring to Spain
None of the routes fits a move for retirement, so the regime is generally not available. As a resident on the standard regime, your pension is taxed as income, and treaties may affect which country taxes it.
You arrive late in the year
If you do not pass the residence tests that year, your first regime year is the next one, so you may still get six full years. Your Modelo 149 deadline does not move, though: it still runs from your start date, so it can fall before you are resident.
You stay for less than 183 days
You are not resident on the day count, but check the economic interests and family tests too. If you stay non-resident, Spain generally taxes only your Spanish-source income, through non-resident tax. If you own Spanish property, our non-resident tax calculator gives an estimate. Keep counting days if your plans might change.
How to opt in, and how the regime ends
Filing is electronic, and your documents have to be uploaded first. This is the usual order:
Six months from your start date, not from your arrival
The clock starts with your activity start date, not when you enter Spain or become resident, and it is a maximum. If you miss it you stay on the standard regime, so plan your filing before you sign your contract or start work.
Fix your start date. Normally the activity start date in your Spanish Social Security registration. If you stay under your home country's system, it is the date in the document that allows this. If registration is not required, it is the date in a supporting document.
Get into the tax census. You need a NIF and must be listed in the census of taxpayers. If you are not, file the census declaration first.
Upload your documents. Use the AEAT procedure for providing the documents needed to opt in, and keep the registration number it gives you. The form asks for it.
File Modelo 149 online. You need an electronic certificate, DNIe or Cl@ve PIN. There is no paper route. Include your NIF, your nationality, your employer or linked company where relevant, your date of entry and your start date.
Keep what the AEAT issues. Where appropriate it issues a document confirming your option within a maximum of ten working days. Give your employer a copy so that payroll can apply regime withholding.
File Modelo 151 every year during the regime, in the same window as the general income tax return.
Documents you will need
The AEAT's instructions tie the documents to your route. Everyone needs the first set, plus the one that matches their reason for moving.
Everyone
Proof of your Spanish Social Security registration or the equivalent document, plus your residence authorisation where you have one, and your NIE or NIF.
Employment
A document from your employer recognising the employment. For a transfer, also the letter of assignment. For remote work without an employer order, a document from the employer with the estimated duration.
Administrator
A document from the company with the date you took up the post. If it is a passive holding company, also a statement that you are not a related party.
Entrepreneur
The favourable ENISA report, unless the residence authorisation you are submitting is the entrepreneur one.
Highly qualified professional
For a startup: proof of your qualification, the company's registration as an emerging company and evidence of your services, subject to exceptions. For research or training: evidence of the activity, unless your residence authorisation covers it.
Family member
Documents proving your link to the main taxpayer, and the disability certificate where that applies.
If the regime ends early
You can renounce the regime by filing Modelo 149 in November or December before the year it is to take effect, and you cannot opt in again afterwards. If you stop meeting the conditions you are excluded, must report it within one month, and also cannot return. If your posting ends but you stay tax resident, report that within one month too: income from activity after you file falls outside the regime. All three use Modelo 149.
Common misunderstandings
Is the Beckham law a visa or a residence permit?
No. It is an income tax option. You still need the right to live and work in Spain, and having a visa does not place you in the regime: you have to opt in separately, and in time.
Can I stay out of Spanish tax by staying under 183 days?
Not necessarily. The economic interests test and the family presumption apply whatever your day count, and even as a non-resident you pay Spanish tax on Spanish-source income.
Is 24% the only rate I will pay?
No. It applies to general income up to EUR 600,000. Above that the rate is 47%, savings-type income has its own scale, and wealth tax can apply to Spanish assets. Social Security contributions are separate from income tax.
Is all my foreign income tax free?
No. Employment income earned abroad during the regime is treated as Spanish, and the same goes for qualifying entrepreneurial income. You may get relief for foreign tax on it, up to the limit. Your other foreign income may still be taxed in the country where it arises.
Did the Startup Law open the regime to every remote worker and freelancer?
No. It added specific routes with their own evidence. Remote work is covered within the employment route, and the self-employed need the entrepreneur or highly qualified route.
Do I become resident by registering with the tax office?
No. Residence follows from the facts of your year. Census forms record your status, and being registered as a non-resident does not stop you being resident if you pass the tests.
Official sources and next steps
The law and the AEAT's guidance change. Before you act, check the current income tax law on the BOE (articles 9 and 93), the AEAT's pages on tax residence and Modelo 149, and its Modelo 030 page. Our guides below cover the steps around them.
Besoin d'une aide concrète ?
Si vous avez lu ce guide et souhaitez être accompagné dans les prochaines étapes, notre équipe peut vous aider, des démarches administratives aux rendez-vous.
Ce guide fournit des informations générales et ne constitue pas un conseil juridique. Les exigences varient selon les bureaux et évoluent avec le temps : confirmez les détails auprès de l'organisme concerné avant de vous y fier. EnterSpain est un cabinet de conseil en relocation et non un cabinet juridique agréé.