Money & Practicalities, Spain
You can spend under 183 days in Spain and still owe tax on your worldwide income
Almost every guide to moving to Spain hands you the same figure and tells you to build your year around it: 183 days. Stay fewer, the story goes, and Spain has no claim on your income. It is a comforting rule because it is easy to count, and for a large number of people it is the wrong rule to be counting. Spanish law opens three separate doors into tax residency, the day count is only one of them, and the door that catches most newcomers has nothing to do with how long they were in the country.
Three doors, and you only need to walk through one
The rule sits in article 9 of Spain's personal income tax law. It says you are tax resident for a given year if any one of three things is true. The first is the familiar one: you spent more than 183 days of the calendar year on Spanish territory. The second is that the main base or centre of your economic interests is in Spain, directly or indirectly. The third is a presumption rather than a test: if your spouse who is not legally separated and your dependent minor children habitually live in Spain, the tax office assumes you do too, and the burden is on you to prove otherwise.
Read together, those three lines mean the 183-day count is a sufficient condition and never a necessary one. A consultant who spends 150 days in Spain but runs a business from a Madrid flat, bills mostly Spanish clients and keeps the main accounts here can be a full Spanish tax resident on the economic-interests limb alone. So can a person who travels constantly for work but whose family home, and family, is in Valencia. Neither of them ever crosses 183 days, and neither of them is outside the net.
The day count is not a plain tally either
Even the people relying on the day rule tend to count it wrong. The 183 days do not have to be consecutive, and they are measured against the calendar year, which in Spain runs January to December with no option to pick a different twelve months. The part that surprises people is what Spain does with the days spent outside the country. Those are treated as sporadic absences and still counted as days of presence in Spain, unless you can show a certificate of tax residence from another country covering that time. A certificate from a territory Spain classes as a tax haven does not do the job, and the office can ask for more. The effect is that leaving for a few weeks here and there does not chip away at the total the way most people assume it does.
There is no half-year in Spanish tax
Spain has no split-year treatment. You are either resident for the whole calendar year or non-resident for the whole calendar year, and the switch flips on a single date. Someone who arrives in early June, settles in and crosses the 183-day line by the end of December is a Spanish tax resident for that entire year, including the five months when they were still living and earning somewhere else. Countries such as the United Kingdom let you split the year at the date of the move. Spain does not, and that missing feature is why a mid-year move so often produces a tax bill nobody planned for, on income earned before Spain was even in the picture.
Whether Spain treats you as a tax resident is rarely as simple as a calendar, and getting it wrong is expensive to unwind. We look at your days, your income sources, where your family lives and what your home country will certify, and tell you plainly which side of the line you are on before the year closes and the choice is made for you. If a move is still being planned, the timing of it is one of the few things you can still control.
Resident means worldwide income, and a form most people have never heard of
The reason the line matters so much is what sits on either side of it. A non-resident pays Spanish tax only on Spanish-source income, at a flat 24 percent, or 19 percent for residents of the EU and the EEA. A resident pays tax on worldwide income, on the progressive scale that reaches into the mid-40s in percentage terms, and reports it every spring on the IRPF return. Salary, freelance profit, foreign dividends, rent on a flat kept back home, capital gains on shares sold anywhere: once you are resident, all of it is in scope.
Residents with assets outside Spain also pick up a reporting duty that carries no tax of its own but a good deal of risk. Form 720 requires anyone tax resident in Spain to declare foreign bank accounts, foreign investments and pensions, and foreign property, in three separate categories, once the value in any one category passes 50,000 euros. It is due by 31 March for the previous year. Spain's original penalty regime for getting it wrong was struck down by the European Court of Justice in 2022 for being disproportionate, and the replacement, in force since Law 5/2022, is milder: fixed penalties now run from a few hundred euros to around 20,000 per category, the ordinary four-year limitation period applies, and the old practice of taxing undeclared assets as if they were current income with a 150 percent surcharge is gone. It is still not a form to forget. A separate declaration, Form 721, covers cryptocurrency held on foreign platforms.
When two countries both claim you
Because Spain's tests are wide, it is common to satisfy them and your home country's rules in the same year. That is dual residency, and it is not settled by arguing with the tax office. It is settled by the double tax treaty between the two countries, which runs a tie-breaker in a fixed order: first the country where you have a permanent home available to you, then the country where your personal and economic ties are closer, then the country where you habitually live, then your nationality, and finally a negotiation between the two tax authorities if nothing else has resolved it. Winning that tie-breaker for the other country still means holding the evidence, above all a certificate of tax residence issued by that country for the year in question. Without it, Spain has no reason to step back.
The escape hatch, and why most people miss it
There is a legal way to live in Spain and not be taxed on your worldwide income, and it has a famous nickname. The special regime for inbound workers, known as the Beckham Law, lets a qualifying newcomer be taxed as a non-resident for up to six years: a flat 24 percent on Spanish employment income up to 600,000 euros, foreign income that is not employment income left untaxed in Spain, no wealth tax on assets held outside Spain, and no Form 720. To qualify you must not have been a Spanish tax resident in the previous five years, and you need a triggering reason such as a Spanish employment contract, an intra-group posting, a company directorship or recognised remote work for a foreign employer.
The detail that undoes people is the deadline. The regime is neither automatic nor open-ended. You have six months from the date you register with Spanish social security, or from the start date on the paperwork, to file the election. Miss that window and the door is shut for the whole of your stay, and you are on the ordinary worldwide-income regime whether you expected to be or not. Anyone weighing this route should read our fuller account of Spain's digital nomad visa and the Beckham tax break alongside their own numbers, because the regime helps high earners with clean foreign investment income far more than it helps everyone else.
Who gets caught
The pattern is consistent. It is the remote employee who moved over on a whim, kept the contract with the company back home and decided they were only visiting until the days added up. It is the graduate who finished a Spanish degree, stayed on and started invoicing clients, without noticing that the centre of their working life was now unmistakably in Spain. It is the early retiree living quietly off a portfolio held abroad, who never filed an IRPF return because no Spanish income was coming in. It is the person whose partner and children settled in Spain a year before they did. In each case the exposure builds silently, and when the tax office does ask, it can look back four years and add penalties and late-payment interest on top of the tax itself.
None of this is a reason to avoid Spain. It is a reason to decide, on purpose and in advance, which side of the residency line you intend to be on, and then to arrange your year, your paperwork and where your family lives so the facts match the intention. The people who run into trouble are almost never the ones who planned. They are the ones who assumed a single number would decide it for them.
Frequently asked questions
Can I be a Spanish tax resident if I spend fewer than 183 days in Spain?
Yes. Article 9 of Spain's personal income tax law makes you resident if any one of three tests is met, and the 183-day count is only one of them. If the main centre of your economic interests is in Spain, or if your non-separated spouse and dependent minor children habitually live there, you can be a full tax resident on worldwide income without ever crossing 183 days.
How does Spain count the 183 days?
Against the calendar year, January to December, and the days do not need to be consecutive. Days you spend outside Spain are treated as sporadic absences and still counted as Spanish days unless you can produce a certificate of tax residence from another country for that period. There is no option to use a tax year other than the calendar year.
Does Spain have split-year tax treatment?
No. You are resident for the entire calendar year or non-resident for the entire calendar year. If you move to Spain in the middle of the year and cross the residency threshold, you are treated as resident from 1 January of that year, including the months before you arrived.
What is the difference in tax between resident and non-resident?
A non-resident pays Spanish tax only on Spanish-source income, at 24 percent, or 19 percent for residents of the EU and the EEA. A resident pays tax on worldwide income at progressive rates that reach the mid-40s in percentage terms, files an annual IRPF return, and if they hold more than 50,000 euros in any category of foreign assets must also file Form 720 by 31 March.
What is Form 720 and what happens if I do not file it?
It is an informational declaration of foreign bank accounts, foreign investments and pensions, and foreign property, in three categories, required of Spanish tax residents once any one category exceeds 50,000 euros. After a 2022 European Court of Justice ruling, the penalties were cut: fixed fines now range from a few hundred euros to around 20,000 per category, with the ordinary four-year limitation period. The former 150 percent surcharge on undeclared assets no longer applies.
How do I avoid being taxed on worldwide income after moving to Spain?
The main route is the special regime for inbound workers, the Beckham Law, which taxes you as a non-resident for up to six years if you have not been a Spanish tax resident in the previous five and have a qualifying reason such as a Spanish job. It is not automatic: you must elect into it within six months of registering with Spanish social security, and missing that deadline closes the option for your whole stay.
- , Work out which of the three article 9 tests could apply to you, not only the day count. The economic-interests test and the family presumption do not care how long you were in Spain.
- , Count days against the calendar year, and remember that trips abroad are treated as sporadic absences unless another country certifies your tax residence for that time.
- , If you are moving mid-year, model the tax on a full calendar year of worldwide income, because Spain has no split-year relief.
- , If you keep assets abroad, check each Form 720 category against the 50,000 euro threshold and diarise the 31 March deadline.
- , If two countries both treat you as resident, obtain a certificate of tax residence from the other one for the year in question, and read the tie-breaker order in the relevant treaty.
- , If you might qualify for the Beckham regime, file the election within six months of registering with Spanish social security. It cannot be claimed later.
This is general information, not tax advice. Spain's residency tests sit in article 9 of Law 35/2006, the reporting duty behind Form 720 and its reduced post-2022 penalty regime in Law 5/2022, and the outcome in any dual-residency case turns on the specific treaty and your own facts. Confirm the current figures and your own position with a qualified adviser before acting.
Keep exploring
One door always opens another.
Pull the next thread. Each one ends somewhere useful, a clearer shortlist, a real number, a plan you can keep, whether or not you ever work with us.
See where you fit on the map
Slide your grades and budget and watch Europe light up with your real matches.
Open thisTake the two minute assessment
A few honest questions and you walk away with a personal blueprint, free.
Open thisStudy in Germany
Free public tuition and the strongest job market in Europe.
Open thisStudy in Italy
Income based tuition and some of the most generous aid on the continent.
Open thisStudy in France
World names, tiny public fees, a generous safety net.
Open thisRead the hard truths
The traps agents paid by commission will never warn you about.
Open thisAsk us on WhatsApp
One honest message. No script, no pressure, a real person who has walked it.
Open thisWe do this for you, properly, every time.
Don't navigate this alone. Take the free 2-minute path finder and get a personalised read on exactly where you stand.
This guide reflects Visagrad's own view and information gathered at the time of writing. Rules, fees, deadlines and timelines can change quickly, and some details may already have moved. Nothing here is official, legal or immigration advice. For accurate, up-to-date guidance built around your own situation, speak with us first.
