OUR EXPERT
Brenda L.

Written by

Brenda.L

After completing her higher education, Brenda joined AnchorLess in 2023. She is an expert on relocation issues in Europe.
WHY YOU CAN TRUST ANCHORLESS
+10,000
Expats guided
1194

reviews noted 4.9/5

Spain
Tax
22/07/2026

Spain Tax Residency in 2026: The Three Criteria, the Costs, and the Forms

Spain tax residency guide

Spain tax residency is a status set by Article 9 of Law 35/2006 (the IRPF Law). You become a Spanish tax resident by meeting any one of three criteria: spending more than 183 days in Spain in a calendar year, having the main base of your economic interests in Spain, or having your spouse and dependent minor children live there. Meeting one is enough. Once you are resident, Spain taxes your worldwide income for the entire calendar year, and there is no split-year treatment.

Your visa does not decide this. Your TIE does not decide this. The three criteria do, and they apply whether or not you register for anything.

This guide explains the 183 day rule, how to determine tax residency in Spain, how the tax authority counts days you were not in the country, what the tax obligations for residents actually are, how double taxation works, what the benefits of being a tax resident are, how the Beckham Law changes the arithmetic, and the exact forms that start and end your Spanish tax residency.

What this guide is? Rules, sources and mechanics. AnchorLess is not a law firm or a tax advisor, so treat this as general information rather than advice on your file. Your outcome depends on your treaty position, your documents and your dates.

Spain tax residency is a status set by Article 9 of Law 35/2006 (the IRPF Law). You become a Spanish tax resident by meeting any one of three criteria: spending more than 183 days in Spain in a calendar year, having the main base of your economic interests in Spain, or having your spouse and dependent minor children live there. Meeting one is enough. Once you are resident, Spain taxes your worldwide income for the entire calendar year, and there is no split-year treatment.

Your visa does not decide this. Your TIE does not decide this. The three criteria do, and they apply whether or not you register for anything.

This guide explains the 183 day rule, how to determine tax residency in Spain, how the tax authority counts days you were not in the country, what the tax obligations for residents actually are, how double taxation works, what the benefits of being a tax resident are, how the Beckham Law changes the arithmetic, and the exact forms that start and end your Spanish tax residency.

What this guide is? Rules, sources and mechanics. AnchorLess is not a law firm or a tax advisor, so treat this as general information rather than advice on your file. Your outcome depends on your treaty position, your documents and your dates.

What is tax residency in Spain?

Spanish tax residency is a status defined by Article 9 of Law 35/2006, the IRPF Law. You acquire it by meeting any one of three criteria, and meeting one is enough.

Once you are a tax resident, Spain taxes your worldwide income. Salary, pensions, dividends, rental income from a flat in Manchester, capital gains on a US brokerage account. All of it becomes reportable in Spain.

If you are not a tax resident, Spain only taxes Spanish-source income under the non-resident regime (IRNR). That means salary from a Spanish employer, rent from a Spanish property, or profits from a Spanish business.

The part that catches people out is the separation. Tax residency runs on its own track, independent of immigration status, and it arrives whether you apply for it or not.

How to determine tax residency in Spain

To determine tax residency in Spain, you test yourself against the three criteria in Article 9.1 LIRPF. They are alternatives rather than a checklist, so any single one is enough to make you one of the tax residents in Spain for that whole calendar year.

Criterion What it measures The trap
Physical presence More than 183 days in Spain in a calendar year The count includes days you were not physically there
Centre of economic interests Whether the main base of your activities or economic interests sits in Spain No day threshold at all. Ninety days can be enough
Family presumption Whether your non-separated spouse and dependent minor children habitually live in Spain Rebuttable, but the burden of proof is on you

Work through them in that order. The day count is the one you can measure, the economic interests criterion is the one that catches people who thought they had measured correctly, and the family presumption is the one that applies even when you personally are barely in the country.

What is the 183-day rule in Spain?

The 183 day rule is the physical presence criterion for Spain tax residency, explained in Article 9.1.a LIRPF: spend more than 183 days in Spanish territory during a calendar year and you are a tax resident.

The number people quote is wrong. The statute says more than 183 days, so the trigger is 184. TEAC states this directly when it describes the legal minimum threshold, and a large share of the English-language guides on this topic get it wrong by writing "183 or more".

Days do not need to be consecutive. Three separate trips of 62 days each get added together the same way one long stay would.

The tax year is fixed to the calendar year, 1 January to 31 December. It does not start when you land, and it does not roll.

The centre of economic interests criterion

If the main core or base of your activities or economic interests sits in Spain, you are resident regardless of how many days you spent there.

There is no day count in this criterion. That is what makes it the one people miss.

It is a qualitative weighing exercise. The tax authority looks at where your assets sit, where your income comes from, where your business is actually run, and where your economic life happens, jurisdiction by jurisdiction rather than Spain against everywhere else combined.

Someone with 120 days in Spain, a Spanish company, a Spanish flat and mostly Spanish clients has an economic interests problem. Staying under the day threshold will not fix it.

The family presumption

If your legally non-separated spouse and dependent minor children habitually live in Spain, Spain presumes you live there too.

This presumption is rebuttable. You can defeat it, but you have to produce evidence rather than an argument.

What tends to work in practice: a tax residency certificate from the other country, a foreign employment contract, a foreign lease or utility bills in your name, foreign tax filings, and children enrolled in schools outside Spain.

What does not work: telling the tax authority that your centre of life is somewhere else.

How does Spain actually count your days?

TEAC doctrine breaks the day count into three tiers that get added together: certified presence, presumed days, and sporadic absences. This is set out in TEAC resolutions RG 4045/2020 (28-03-2023) and RG 4812/2020 (25-04-2023), and reproduced in the tax authority's own IRPF manual.

Tier What counts Why it matters to you
Certified presence Any day with hard proof you were physically in Spain Counted in full, with no minimum number of hours. Arrival and departure days both count
Presumed days Days between two certified presences, with no proof you were anywhere else Counted against you unless you can prove certified presence abroad
Sporadic absences Days spent outside Spain Added to your Spanish total unless you prove tax residency in another country

Three things follow from that table, and each one costs people money.

A partial day is a full day. TEAC cites Commentary 5 to Article 15 of the OECD Model Convention: being present for part of a day, however small, is a day of presence. A 6am flight out still counts as a day in Spain.

Gaps default to Spain. If you were certifiably in Madrid on the 3rd and certifiably in Madrid on the 11th, the days in between are presumed Spanish. Unless you can show certified presence somewhere else, they go on your total.

Leaving does not subtract. A sporadic absence gets added to your Spanish days rather than deducted from them. The only way to remove those days is a tax residency certificate issued by another country's tax authority.

That last point is the one people find hardest to accept. Three weeks in Bali does not reduce your Spanish count. It sits inside it.

The non-cooperative jurisdiction rule

If you claim you moved to a territory Spain classifies as non-cooperative (the term that replaced "tax haven"), the tax authority can require you to prove 183 days of actual physical presence in that territory.

Under Article 8.2 LIRPF, Spanish nationals who move to a non-cooperative jurisdiction remain Spanish IRPF taxpayers for the year of the move plus the following four tax periods.

That is five years of worldwide taxation after the point you believed you had left.

What your intention will not do for you

The Supreme Court has repeatedly rejected the idea that your intention to return to Spain, or not to, determines whether time abroad counts as a sporadic absence. A run of judgments from 28-11-2017 and January 2018 settled the point.

The count is objective. What you meant to do does not enter the arithmetic.

Does a visa or residence permit make you a tax resident?

No. Administrative status and tax status are separate legal regimes, and neither one produces the other.

You can hold a Spanish residence permit and be a non-resident for tax purposes. You can hold no permit at all and be fully tax resident. Both happen constantly.

Here is what each step does and does not do.

What you have Does it trigger tax residency? What it actually does
NIE No Gives you an identification number for economic transactions. Nothing more
Empadronamiento Not by itself Registers your address with the town hall. The tax authority treats it as evidence and cross-references the padrón during audits
TIE or residence card No Proves your immigration status
Digital Nomad Visa Not by itself, but almost always in practice Living and working remotely from Spain will usually trigger Article 9 within the first full calendar year
Non-Lucrative Visa Not by itself, but by design The NLV requires you to live in Spain, and living in Spain triggers Article 9
EU registration certificate No EU citizens skip the visa and hit exactly the same three Article 9 criteria

The empadronamiento point deserves its own line. It is not proof of tax residency, and Spanish notarial commentary is explicit that on its own it carries no tax significance. It is still an indicator the tax authority reads, and it is cross-checked against census data.

If you spend under 183 days in Spain, have no economic interests exposure, and do not want tax residency, registering on the padrón hands the tax authority a data point you did not need to give it.

What happens if you arrive in the middle of the year?

Spain has no split tax year. You are either resident for the entire calendar year or non-resident for the entire calendar year.

There is no proration for the months before you landed. The calendar does not negotiate.

Work the arithmetic through. You land on 1 April and stay through 31 August, which is 153 days. You come back in October for 31 days. Your total is 184 days.

You are now a Spanish tax resident for the whole of that year, including January, February and March, when you had not set foot in the country.

The mirror case is the useful one. Arrive on 1 September, stay to year end, and you are at roughly 122 days. Assuming no economic interests exposure and no family presumption, you are non-resident for that entire year, and Spanish tax residency starts on 1 January of the following year.

That is why the arrival date is a planning variable rather than a logistics detail. A late-year arrival buys a clean non-resident year. An early-summer arrival does not.

What are the tax obligations for residents in Spain?

The tax obligations for residents in Spain start with an annual income tax return, the Declaración de la Renta, filed with the Spanish Tax Agency (Agencia Tributaria) on Modelo 100 and covering worldwide income. Depending on your assets, they extend to wealth tax, the solidarity tax, and foreign asset reporting.

Five obligations sit under Spanish tax residency. They are governed by different rules and they do not all arrive together.

Obligation Form Who it hits Deadline
Income tax return Modelo 100 (Modelo 151 under the Beckham regime) Most residents Roughly early April to 30 June
Wealth tax Modelo 714 Net assets above the regional exemption, generally €700,000 Same window as the Renta
Solidarity tax (ITSGF) Modelo 718 Net wealth above €3,000,000 From 1 July
Foreign assets Modelo 720 More than €50,000 abroad in any category 31 March
Foreign crypto Modelo 721 Same threshold logic 31 March

Social security sits outside this list, because it follows where you work rather than where you are tax resident.

What is the impact of tax residency on income?

The impact of tax residency on income is that Spain moves from taxing only your Spanish-source income at a flat non-resident rate to taxing your worldwide income at progressive Spanish income tax rates. For most people that is the single largest financial consequence of crossing the threshold.

Non-residents pay a flat rate on Spanish-source income: 19% for residents of the EU, Iceland, Norway and Liechtenstein, and 24% for everyone else, which after Brexit includes the United Kingdom, and also includes the United States and Switzerland. There are no brackets and no personal allowance.

Residents move onto the IRPF scales, where the tax rates run progressively and the income earned anywhere in the world enters the base.

Income tax (IRPF) on the general base

Salary, pensions, business income and rental income sit in the general base.

The table circulating everywhere online, 19 / 24 / 30 / 37 / 45 / 47, is the withholding reference scale under art. 101.1 LIRPF. It combines the state scale with a default regional scale.

Your real rate depends on your autonomous community. Madrid's deflated scale puts the top marginal at around 45%. Catalonia and the Valencian Community push above the reference with extra bands for high incomes. Navarra and the Basque Country run separate regimes entirely, with top rates around 52% and 49%.

The state scale itself has not changed since 2021.

Savings income

Interest, dividends and capital gains sit in the savings base, and this scale is identical across common territory.

Savings base Rate
Up to €6,000 19%
€6,000 to €50,000 21%
€50,000 to €200,000 23%
€200,000 to €300,000 27%
Above €300,000 30%

The top band rose from 28% to 30% under Law 7/2024, with effect from 01-01-2025. It applies for the first time in the 2025 return, filed during 2026.

Wealth tax and the solidarity tax

Two layers, and the second one exists specifically to close the first one's gaps.

Regional wealth tax (Impuesto sobre el Patrimonio) applies above the regional exemption, generally €700,000, with an additional allowance of up to €300,000 against the main home. Madrid, Andalusia, Cantabria, La Rioja, Extremadura and Murcia apply a 100% relief, so nothing is paid at regional level there.

The Solidarity Tax on Large Fortunes (ITSGF), created by Law 38/2022, applies at state level above €3,000,000 of net wealth. No autonomous community can reduce or bonify it. Regional wealth tax already paid is credited against it, so the same wealth is not taxed twice.

For residents, both bite on worldwide assets. For non-residents, only on assets located in Spain.

Two developments worth knowing. The ITSGF was introduced as a temporary measure for 2022 and 2023 and has since been extended with no end date. And a TEAC resolution of 18-12-2025 extended the 60% cap (the escudo fiscal) to non-residents, removing a discrimination the tax authority had been applying.

foreigner tax resident Spain

Foreign asset reporting: Modelo 720 and Modelo 721

Spanish tax residents holding more than €50,000 abroad in any single category must file Modelo 720 by 31 March each year. The three categories are bank accounts, securities and insurance, and real estate. Crypto held abroad is reported on Modelo 721.

Neither form produces a tax bill. Both produce penalties when they are late or wrong, although the European Court of Justice forced Spain to bring the original penalty regime back into proportion.

Beckham Law filers are exempt from Modelo 720. For anyone with assets spread across several countries, that exemption is often worth more than the flat rate itself.

Social security is a separate system

Tax residency does not create social security liability. Working in Spain does.

For 2026, the figures come from the annual contribution order (Orden PJC/297/2026), applying art. 19 bis LGSS and art. 72 bis of the contribution regulation.

Item 2026
Maximum monthly contribution base €5,101.20, or €61,214.40 a year, up 3.9% on 2025
MEI surcharge 0.90%, split 0.75% employer and 0.15% employee
Solidarity contribution, tier 1 1.15% on the slice from €5,101.21 to €5,611.32
Solidarity contribution, tier 2 1.25% on the slice from €5,611.33 to €7,651.80
Solidarity contribution, tier 3 1.46% on the slice above €7,651.80

Two points matter for anyone negotiating a Spanish package.

The solidarity contribution applies only to employees, not to autónomos, who contribute on a separate real-income basis. And it buys nothing: it generates no additional pension entitlement. The employer carries roughly 83% of it.

On a salary of €8,500 a month, the employee's share works out at around €7.30 a month. The employer pays around €36.47.

The filing calendar

The Renta campaign for the previous year's income runs from roughly early April to 30 June, with an earlier cut-off if you are paying by direct debit. Modelo 720 and Modelo 721 are due by 31 March. The solidarity tax return opens on 1 July.

Autónomos add quarterly filings on top, which is why the 036 registration in the pipeline below matters before you issue your first invoice.

What are the benefits of being a tax resident in Spain?

The benefits of being a tax resident in Spain are the allowances, deductions and reliefs that non-residents cannot access. Non-residents pay a flat rate on gross Spanish-source income with almost nothing subtracted. Residents get a personal allowance, family allowances, regional deductions, joint filing, and treaty relief on income earned abroad.

Here is the practical comparison.

Non-resident (IRNR) Tax resident (IRPF)
What is taxed Spanish-source income only Worldwide income earned
Rate Flat 19% (EU, Iceland, Norway, Liechtenstein) or 24% (rest, including UK and US) Progressive scales, with a regional component
Personal allowance None Yes, starting at €5,550 and rising with age and disability
Family allowances None Yes, for children and dependent parents or grandparents
Expense deductions EU and EEA residents only Yes
Joint filing with a spouse No Yes
Main home Imputed income at 1.1% or 2% of cadastral value Exempt from imputed income
Wealth tax main home allowance Not available Up to €300,000 against the main home
Relief for foreign tax paid Not applicable Yes, through the treaty and the domestic credit

Three of those deserve a sentence.

The main home exemption. A standard Spanish tax resident owes no imputed income on the home they live in. A non-resident owning a Spanish property does, every year, whether or not it is rented. That single line reverses the usual assumption that residency is always the more expensive option.

Regional wealth tax reliefs. If you become resident in Madrid, Andalusia, Cantabria, La Rioja, Extremadura or Murcia, the regional wealth tax is fully relieved. Only the state solidarity tax above €3 million remains.

The 24% bucket. Post-Brexit, British nationals sit in the non-resident 24% band with no expense deductions on rental income. For a UK owner with a Spanish flat, becoming resident can genuinely reduce the bill rather than increase it. It depends entirely on the income earned elsewhere, which is why this is a calculation rather than a rule of thumb.

How does double taxation work in Spain?

Double taxation in Spain is resolved through the tax treaties Spain has signed with more than 90 countries, most of them following the OECD Model. When both countries claim you as resident, the treaty breaks the tie under Article 4. When only one country taxes the income but the other also has a claim on it, the treaty and Spanish domestic law give you credit for the foreign tax already paid.

Those are two different mechanisms, and people routinely mix them up.

The Article 4 tie-breaker sequence

The tie-breaker runs in a fixed order. You stop at the first step that produces an answer.

Step Test What it looks at
1 Permanent home Where you have a dwelling continuously available to you, owned or rented. A hotel stay does not count
2 Centre of vital interests Where your personal and economic ties are closest: family, social life, political activity, occupation
3 Habitual abode Where you spend more of your time
4 Nationality The state you are a national of
5 Mutual agreement The two tax authorities resolve it between themselves

The Supreme Court doctrine on residency certificates

Spanish authorities cannot reject the content of a tax residency certificate issued by another treaty country. The Supreme Court fixed this in its judgment of 12-06-2023 (rec. 915/2022, STS 778/2023), and reinforced it in a series of judgments in July 2024.

The doctrine is precise: national administrative or judicial bodies have no competence to assess the circumstances under which another state issued a certificate for treaty purposes, and cannot set its content aside.

Before this, the tax authority had been discarding foreign certificates when Spanish indicators such as property or bank accounts pointed the other way. That practice was closed off.

What the certificate does not do is win the case for you. It establishes that a conflict exists, which forces the Article 4.2 tie-breaker to be applied. Spain can still win at step one or step two. In one reported case involving a UK certificate, the taxpayer produced a valid certificate and still lost on the permanent home test.

Tax residency certificates are valid for one year, so this is annual housekeeping rather than a one-off.

Relief for foreign tax already paid

Where you are Spanish resident and another country has taxed income at source, Spain gives a credit for the foreign tax rather than exempting the income. The credit is generally capped at the Spanish tax that would have been due on the same income.

For US citizens this is the awkward one, because the United States taxes on citizenship regardless of where you live. That produces two live filing obligations every year and a treaty position that has to be managed rather than assumed. It is the single most common reason an American in Spain needs a professional on both sides.

How do the special regimes change the picture?

Two regimes matter for people arriving in Spain. One is national and one applies only in Madrid.

The Beckham Law (Article 93 LIRPF)

The Beckham Law lets qualifying new arrivals be taxed under non-resident rules while living in Spain, at a flat 24% on covered employment income up to €600,000, for the year they become resident plus the following five tax years.

Feature Detail
Rate 24% on covered general income up to €600,000, then 47% above
Duration Six tax years total: the year of arrival plus five
Prior residency bar You must not have been a Spanish tax resident in the five preceding years
Application Modelo 149, within six months of Social Security registration or the start of the activity
Annual return Modelo 151 instead of Modelo 100
Foreign passive income Exempt during the regime
Modelo 720 Not required
Family Spouse and children under 25 can opt in with their own Modelo 149

Who qualifies

The qualifying routes are a Spanish employment contract, an international assignment into a Spanish entity, remote work for a foreign employer, appointment as a company director, or ENISA-certified innovative entrepreneurship.

Law 28/2022, the Startup Act, opened the regime to remote workers, so Digital Nomad Visa holders employed by a foreign company can qualify. Self-employed autónomos are generally excluded, with narrow exceptions for ENISA-certified innovative entrepreneurs and highly qualified professionals providing services to startups or in R&D.

The three traps inside the regime

Foreign employment income is not exempt

Only foreign passive income is. Salary earned for work physically performed in Spain is treated as Spanish-source and taxed at the flat rate, wherever the employer sits. People read "foreign income exempt" and assume it covers their salary. It does not.

The six-month window is absolute

Six months from Social Security registration, or from the start of the activity where no registration is required. Miss it and the regime is closed for that entry into Spain. There are no extensions and no discretionary reopening.

Savings income does not get the 24%

Spanish-source dividends, interest and capital gains run on the savings scale, from 19% up to 30%. The flat rate covers general income only.

The unresolved question about your own home

If you own the home you live in under the Beckham regime, whether you owe imputed rental income on it is currently disputed between the tax tribunals and the courts.

TEAC resolution 3697/2025 of 17-07-2025, issued as a unification of criterion and binding on the administration, held that Beckham filers must declare imputed income on urban property in Spain including their main residence. The reasoning is that opting into the regime means accepting the non-resident rules in full, and art. 13.1.h of the non-resident income tax law contains no main-home exemption.

The calculation is 2% of cadastral value, or 1.1% where the cadastral value has been revised in the last ten years.

Two months later, the High Court of Justice of Madrid ruled the opposite way in judgment 665/2025 of 17-09-2025, holding that the main residence is exempt. It had reached the same conclusion previously.

So the position as of 22-07-2026 is that the tax authority's binding criterion says impute, and at least one high court says do not. The Supreme Court has not resolved it. On a property with a cadastral value of €500,000, the difference is real money every year, and this is a question to put to a Spanish tax professional on your specific facts rather than settle from a blog post.

The Mbappé deduction (Madrid, Law 4/2024)

Madrid gives new tax residents a deduction of 20% of the acquisition value of qualifying financial investments, applied against the regional portion of their IRPF. It was introduced by Law 4/2024 of 20-11-2024, as art. 17 bis of Legislative Decree 1/2010, and applies to people who became IRPF taxpayers from 01-01-2024.

Requirement Detail
Prior residency bar Not a Spanish tax resident in the five preceding years
Where You must acquire and keep tax residency in the Community of Madrid
Holding period Residence and investments maintained for six consecutive years
What qualifies Fixed income securities, and shares or holdings in listed and unlisted companies
What does not Real estate, and anything issued by entities in tax havens
Ownership cap Combined holding with family to the second degree cannot exceed 40% of an unlisted entity
Role cap No executive, management or employment role in the company invested in
Timing The year you acquire Spanish tax residency, or the following year
Unused amount Carried forward for five years

Two limits get skipped in most coverage. The deduction only reduces the regional portion of the tax, and the combined reduction cannot take your total liability below 50% of the year's full quota. And if you lose Madrid residency before the six years are up, the deduction already applied has to be repaid with interest.

It does not combine with the Beckham Law. Beckham filers compute their tax under non-resident rules, which means they have no regional quota for the deduction to attach to. Some marketing material presents the two as a combined package. Read that carefully before relying on it.

How to avoid becoming a tax resident in Spain

To avoid becoming a tax resident in Spain you have to fail all three Article 9 criteria at once, and you have to be able to prove it with documents. Staying under the day count on its own does nothing if your economic centre or your family is in Spain.

This is planning, and it is legitimate. It is also narrower than most people expect.

tax resident Spain guide

What actually works

Stay at or below 183 days. The trigger is 184, so 183 is the ceiling. Keep boarding passes, entry stamps, card transactions and lease dates, because the burden of proof falls on you and the presumed days rule fills gaps against you.

Hold a tax residency certificate from another country. This is the load-bearing document in the whole area. Without it, sporadic absences get added back to your Spanish total, and the treaty tie-breaker never gets triggered. Certificates run for one year, so this is an annual task.

Keep your economic centre demonstrably elsewhere. Where the business is run, where the clients are, where the income arises, where the assets sit. A day count of 150 with a Spanish company and Spanish clients is an economic interests problem waiting to be assessed.

Watch the family criterion. If your spouse and minor children live in Spain, the presumption applies to you regardless of your own day count, and only evidence rebuts it.

Be deliberate about the padrón. Registering when you do not need the municipal services hands the tax authority an indicator it cross-references in audits.

Time your arrival. Landing in September rather than May is the difference between a clean non-resident year and a full resident year retroactive to 1 January.

The Beckham Law trick, and what it does not do

People describe the Beckham Law as a trick for avoiding Spanish tax residency. That is not what it is, and the misunderstanding causes real filing errors.

Beckham filers are Spanish tax residents. Article 93 does not remove your residency. It changes the rules used to calculate your tax, borrowing the non-resident method while you remain resident. You still live in Spain, you still file annually, and you still have a Spanish tax residency certificate available to you.

What it actually delivers is a flat rate on covered general income, exemption for foreign passive income, and release from Modelo 720. For the right profile that is worth a great deal. It is a regime rather than an escape hatch.

Where this stops being planning

Two hard edges are worth knowing before anyone gets creative.

The non-cooperative jurisdiction quarantine. Spanish nationals moving to a jurisdiction Spain classifies as non-cooperative stay on the hook for IRPF for the year of the move plus four more tax periods, under Article 8.2 LIRPF.

Automatic information exchange. Financial account data moves between jurisdictions under the Common Reporting Standard. A day count that only exists on paper does not survive contact with bank records, and the tax authority runs residency as a standing audit priority rather than an occasional one.

If your situation is genuinely borderline, the answer is documentation and a Spanish tax professional, in that order.

What is the process to apply for tax residency in Spain?

Strictly speaking you do not apply for tax residency in Spain, because Article 9 assigns it automatically. What you do is register the status with the tax authority, and the process runs through a fixed sequence of steps that starts with the NIE and ends with the census form. Your residence permit sits alongside this sequence rather than inside it.

Step What you file Where What it does
1 NIE application National Police or a Spanish consulate Issues the identification number required for any economic transaction. Triggers no tax liability
2 Empadronamiento Local town hall Registers your address on the municipal register. Needed for public services and for the TIE
3 Residence permit or EU certificate Immigration authorities Your right to live in Spain. Separate from tax status
4 Modelo 030 Spanish Tax Agency Registers you in the taxpayer census, sets your fiscal address, and records the residence indicator
5 Modelo 036 or 037 Spanish Tax Agency For autónomos only. Registers you for VAT and sets your activity code, before your first invoice
6 Social Security alta Social Security Treasury Affiliates you to the system. This date starts the six-month Beckham clock
7 Modelo 149 Spanish Tax Agency Only if you are electing the Beckham regime. Six months from step 6

The two fields on Modelo 030 that people miss

Modelo 030 is where the census actually records what you are, and the address field is the least important part of it.

Boxes 201 and 202 hold the residence indicator. That is the field telling the tax authority whether you are a resident or a non-resident for IRPF purposes.

Box 217 records the effective date of that status. The tax authority's own instructions state that the box only needs completing when the residence indicator changes, and that tax residency is determined by complete calendar years.

Filing Modelo 030 does not by itself make you a tax resident. Article 9 does that. The form records the position and gives the administration an address for notifications.

Viewing and filing the form

Modelo 030 can be filed online with a digital certificate or Cl@ve PIN, or on paper at the tax office matching your Spanish address.

Before filing anything, check what the census already says about you. Log in to the tax authority's electronic office with a digital certificate or Cl@ve PIN and open "Mis datos censales", where you can view your fiscal address and your residence indicator as currently recorded. Since 2018, most town halls pass padrón registrations to the tax authority automatically, so in many cases the address is already correct and viewing the form is enough to confirm you have nothing to file.

There is also an extraordinary online procedure for submitting Modelo 030 without a certificate and without appearing in person, which matters if you are still outside Spain.

How do you stop being a Spanish tax resident?

Leaving Spain physically does not end your tax residency. You have to unwind it, and the tax authority will keep treating you as resident until you do.

The sequence has four steps and one financial check.

1. Deregister from the padrón

File a baja from the municipal register for a change of domicile abroad (baja por cambio de residencia) at the town hall where you were registered.

2. File Modelo 030, and flip the right field

This is where most people get it wrong. Changing your address on Modelo 030 tells the tax authority that you live abroad and remain a Spanish tax resident, which is the opposite of what you want on file.

To deregister as a tax resident you have to do two things on the same form.

  • Record the new address abroad, with country and city.
  • Go to the identifying data section, find the residence indicator, and select Clave 1: "No cumple artículo 9.1". This is the field that switches off your status as an IRPF taxpayer.

Then set the effective date in box 217.

The deadline is three months. The tax authority's guidance is that the change must be communicated within three months of the change taking place, unless the deadline for filing your next annual return falls first, in which case it goes on that return.

The three months run from when you stop meeting the Article 9 conditions, not from the day you physically left. Those are usually different dates.

Autónomos file Modelo 036, not Modelo 030. Self-employed people communicate both the end of activity and the change of residence on the 036.

3. Deregister from Social Security

Self-employed people must file a baja from the RETA with the Social Security Treasury within three days of ending their activity in Spain.

4. Get a certificate from your new country

The tax authority routinely asks for a tax residency certificate issued by the tax authority of your destination country. Without it, sporadic absences default back into your Spanish day count, and the Article 4 tie-breaker never gets triggered.

Certificates are valid for one year.

The exit tax check, before you go

Article 95 bis LIRPF taxes unrealised gains on shareholdings when a long-term resident stops being a Spanish tax resident. It only affects a narrow group, and it is expensive when it lands.

It applies if you have been tax resident in Spain for at least 10 of the previous 15 tax years, and either:

  • the combined market value of your shareholdings exceeds €4,000,000, or
  • you hold more than 25% of an entity and that holding is worth more than €1,000,000.

Four details change the outcome.

Payment is immediate only for non-EU and non-EEA moves. If you relocate inside the EU or EEA, the charge is deferred and only becomes due if you later move outside the bloc or actually sell the shares within ten years. The filing obligation stays either way.

Beckham years do not count. Tax periods spent under the Article 93 regime are excluded from the 10-of-15 calculation.

The gain is taxed on the savings scale, so 19% to 30%.

Returning cancels it. If you come back to Spain within five years without having sold the shares, the exit tax is cancelled, and refunded if it was already paid.

Real estate and non-financial assets sit outside the scope of the exit tax.

The mistakes that cost people money

These are the ones that show up repeatedly in relocation practice, in Spanish tax advisory commentary through 2025 and 2026, and in the guides written by people who have already been through it.

Assuming the visa handles the tax. The Digital Nomad Visa and the NLV are immigration products. Neither one registers you with the tax authority, and neither one elects you into a tax regime.

Thinking that leaving subtracts days. Sporadic absences get added to your Spanish total unless you hold a foreign residency certificate. Travelling more can make the position worse.

Treating 183 as a safe ceiling and stopping there. The threshold is 184 days, and the economic interests criterion has no day threshold at all.

Changing the address on Modelo 030 and calling it deregistration. Without flipping the residence indicator to Clave 1, the census still says you are a Spanish tax resident living abroad.

Missing the Modelo 149 window. Six months from Social Security registration, with no extensions. The regime is worth six figures to some people, and it closes on a date.

Registering on the padrón by default. If you are deliberately staying under the threshold, the padrón is a data point the tax authority reads and cross-references. Register when you need the services.

Leaving without a certificate from the destination country. Every defence in this area runs on documents issued by a foreign tax authority. Requesting one after the audit letter arrives is a much worse position than requesting one in January.

Spain tax residency FAQ

Do arrival and departure days count? Yes. Both count in full. TEAC applies the OECD standard that presence for any part of a day is a day of presence.

Does the padrón make me a tax resident? No. It is administrative registration with your town hall. It carries no tax significance on its own, though the tax authority treats it as evidence and cross-references it in audits.

Does having a NIE make me a tax resident? No. The NIE is an identification number. It creates no tax liability.

Is there a split tax year in Spain? No. Spanish law has no concept of a part-year resident. You are resident or non-resident for the whole calendar year.

I arrived in October. Am I a tax resident this year? Almost certainly not on the day count, since you cannot reach 184 days. You could still be resident through the economic interests criterion or the family presumption.

Can I be tax resident in Spain and another country at the same time? Under domestic law, yes. That is a residency conflict, and the applicable tax treaty resolves it under the Article 4 tie-breaker sequence.

Can the Spanish tax authority reject my foreign tax residency certificate? No. The Supreme Court held on 12-06-2023 that Spanish administrative and judicial bodies cannot set aside the content of a certificate issued by a treaty partner.

Does a foreign certificate mean I win? No. It establishes that a conflict exists and forces the tie-breaker to run. Spain can still come out as the residence state on permanent home or centre of vital interests.

What is the difference between Modelo 030 and Modelo 036? Modelo 030 is the census declaration for individuals not carrying on a business or professional activity. Autónomos and professionals use Modelo 036 or 037.

How long do I have to tell the tax authority I have left? Three months from when you stop meeting the Article 9 conditions, unless the filing deadline for your next annual return arrives first.

Do I have to file Modelo 720? If you are a Spanish tax resident with more than €50,000 abroad in any of the three categories, yes, by 31 March. Beckham Law filers are exempt. Crypto held abroad goes on Modelo 721.

Can I get the Beckham Law if I am self-employed? Generally no. The regime targets employees, assigned workers, directors and remote employees of foreign companies. Narrow exceptions exist for ENISA-certified innovative entrepreneurs and highly qualified professionals serving startups or R&D activity.

Can I combine the Beckham Law with the Madrid Mbappé deduction? No. Beckham filers are taxed under non-resident rules and have no regional quota for the deduction to reduce.

Will I pay the exit tax when I leave? Only if you were tax resident for at least 10 of the previous 15 years and hold shareholdings above €4 million, or above €1 million with a stake over 25%. Moves inside the EU or EEA defer the payment.

Does tax residency mean I pay Spanish social security? No. Social security follows where you work, not where you are tax resident. They are separate systems with separate triggers.

How can AnchorLess help you?

Tax residency in Spain is decided by the day count, your economic ties and your documents. The paperwork around it is decided by whether you can get an appointment, reach a Spanish office, and read a form written in Spanish while you are still living somewhere else.

That second part is what we handle. AnchorLess gets you the NIE, the Spanish NIF, a bank account and a digital certificate, remotely, through partner professionals who file on your behalf. You upload two documents, sign a power of attorney digitally, and stay where you are.

The digital certificate is the piece most people underestimate here. It is what lets you view your census data, file Modelo 030 online, and read the notifications the Spanish Tax Agency sends electronically rather than finding out about them later.

We are an intermediary. We connect you to licensed professionals rather than acting as a law firm or a tax advisor, and questions about your own tax position belong with a Spanish tax professional who can see your file.

Want to know what you need for a life in Spain? AnchorLess is here to assist and simplify your move.

Key Takeaways

Spanish tax residency is one status, three criteria, and one calendar year at a time. You meet it by spending more than 183 days in the country, by holding your economic centre there, or by having your immediate family live there, and any one of those is sufficient on its own.

The mechanics behind those criteria are stricter than the headline suggests. The real threshold is 184 days. Partial days count in full. Gaps between certified presences count against you. Time spent abroad gets added to your Spanish total rather than removed from it, unless a foreign tax authority certifies that you were resident somewhere else.

Once residency lands, it lands for the whole year and reaches your worldwide income. It brings the Renta filing with the Spanish Tax Agency, the savings scale, possible wealth tax exposure above €700,000 regionally and €3 million at state level, and Modelo 720 reporting above €50,000 abroad. Social security runs on a separate track and follows your work.

Residency is not only a cost. Residents get the personal and family allowances, joint filing, expense deductions, the main home exemption from imputed income, and treaty relief on foreign tax, none of which a non-resident paying flat 19% or 24% can reach. For some profiles, particularly British owners of Spanish property, the resident calculation comes out lower.

The two regimes that change the arithmetic are the Beckham Law, worth six figures to the right profile and closing six months after Social Security registration, and the Madrid deduction, which rewards new residents who invest and does not stack with Beckham. One question inside the Beckham regime, whether you owe imputed income on your own home, is genuinely unresolved between TEAC and the Madrid high court as of 22-07-2026.

Two things carry disproportionate weight across all of it. Your arrival date, because it decides whether your first year is resident or clean. And the residence indicator field on Modelo 030, because it is the switch that turns your status on and off, and changing your address instead of flipping it is the most common expensive mistake in this whole area.

Document the day count before anyone asks for it, get the certificate from the other country before you need it, and put the specifics of your own file in front of a Spanish tax professional.

Share this article

Share this article

Join a community of 10,000+ expats
Get the weekly tips, success stories, and step-by-step guides we share with our members to make their move a success.
Star Trustpilot
Star Trustpilot
Star Trustpilot
Star Trustpilot
Star Trustpilot
I love AnchorLess! They have been fantastic for my move to Portugal with the NIF, checking account, lawyer and tax consultation. I will be happy with when this process is over, but at least the journey has been smoother with them.
LD
Lisa D
From South Africa
Star Trustpilot
Star Trustpilot
Star Trustpilot
Star Trustpilot
Star Trustpilot
Guilherme was the best! I had so many questions and moving parts and he was responsive, always professional, and went above and beyond to help me with everything! He is a PRO!!!!
DS
Debra Savage
From The United States

Our readers also viewed

beckham law tax benefits spain
Beckham Law Spain
24% Tax
22/07/2026
Spain's Beckham Law caps tax at 24% for six years. See who qualifies in 2026, the six-month deadline...
Brenda
Brenda
Content Manager
Beach Portugal

Start your new life in Europe

Turn relocation stress into success with AnchorLess.

Relocating to Europe made simple.

Start to relocate now

Arrow icon
Talk to us for free
AnchorLess support team
4.9/5 Excellent
Star
Star
Star
Star
Star
Logo AnchorLess

AnchorLess is not a bank, accountant, tax advisor, investment advisor, or law firm, nor are we a government or official government website. We act as an intermediary, helping connect you with accredited professionals and streamlining administrative processes for your relocation in Europe.

Instagram icon
Reddit icon
Linkedin icon
Amex logo
Visa logo
Mastercard logo
& more
Pay 4X free of charge with
Klarna logo

🇵🇹 MOVE TO PORTUGAL

Arrow

🇪🇸 MOVE TO SPAIN

Arrow

🇮🇹 MOVE TO ITALY

Arrow

Resources

Terms and conditions

Privacy Policy

Disclaimer Policy

© 2022 - 2026 anchorless.io, all rights reserved.