Moving to Spain in the middle of a calendar year puts you in a position most tax guides don’t explain well: for part of the year you were a tax resident somewhere else, and for part of it you’re potentially a Spanish tax resident. Two countries. One year. Naturally, your first question is whether you’re going to end up paying taxes in both.
The short answer is: probably not twice in full — but yes, you’ll likely file in both. This article explains how that works, why it’s less catastrophic than it sounds, and what actually determines which country taxes what.
In a normal year, your tax residency is settled. You live somewhere, you file there, you’re done. The first year of a move breaks that pattern because tax residency — in Spain and in most other countries — is determined on a full-calendar-year basis, not month by month.
Spain’s rule: if you spend more than 183 days in Spain during a calendar year, you are a Spanish tax resident for that entire year — including the months before you arrived. Your previous country of residence has its own departure rules that determine when, exactly, you stopped being their taxpayer. Those two sets of rules don’t always line up neatly, and the gap between them is where the complexity lives.
Example: You move from Germany to Spain in June. By November you’ve crossed 183 days in Spain. Spain now claims you as a tax resident for the full year — January through December — including the months you were still in Germany. Germany has its own rules about when your German tax residency ended. Both countries technically have a claim on the same income from January to May.
This is the “tax split” situation. It’s not a loophole or an edge case — it’s a structural reality of relocating mid-year, and it happens to essentially everyone who moves countries.
The mechanism that prevents double taxation is the bilateral tax treaty between Spain and your previous country of residence. Spain has tax treaties with over 100 countries, including the US, UK, Germany, France, the Netherlands, and most other places people commonly relocate from.
These treaties do two things relevant to the tax split situation:
The result is not that you pay zero tax in one country — it’s that you don’t pay the same tax twice. The country that “loses” the tie-breaker either exempts the income or gives you a credit for taxes already paid to the other country.
If your previous country doesn’t have a tax treaty with Spain — a smaller group, but it exists — Spain’s domestic law provides a unilateral tax credit for foreign taxes paid. You won’t get the refined tie-breaker mechanism of a treaty, but Spain’s IRPF does allow you to deduct taxes paid abroad on the same income from your Spanish tax liability. The credit doesn’t eliminate all complexity, but it does prevent straightforward double-payment.
Spain doesn’t have a formal partial-year resident return the way some countries do. If you’re a Spanish tax resident for a year, you file the full Declaración de la Renta (IRPF) for that calendar year — covering January 1 to December 31 — regardless of when you arrived.
What changes the picture is what gets included in your Spanish taxable income. Income earned before you became a Spanish tax resident may be excluded or credited depending on:
Your Spanish asesor fiscal (tax accountant) will apply the relevant treaty provisions when preparing your IRPF return. The pre-move income won’t simply be ignored — it needs to be declared and handled correctly, which is different from being taxed in full by Spain on top of what you already paid elsewhere.
This varies significantly by country, and it’s the part of the tax split that most people underestimate. Your previous country has its own rules about when you ceased to be their tax resident — and those rules don’t automatically align with the day you boarded a plane to Spain.
The UK uses a Statutory Residence Test (SRT) to determine UK tax residency — a points-based system that considers days in the UK, ties to the UK (home, work, family), and whether you’ve been UK resident in prior years. When you leave the UK, you may be able to use “split-year treatment,” which divides the tax year into a UK-resident part and a non-UK-resident part. The split-year rules are detailed and have specific qualifying conditions — not everyone who leaves the UK mid-year automatically qualifies. HMRC publishes guidance, but for a year involving both Spain and the UK, an advisor who knows both systems is worth the cost.
Germany taxes on the basis of domicile (Wohnsitz) and habitual residence (gewöhnlicher Aufenthalt). German tax residency generally ends when you deregister your address (Abmeldung) and no longer maintain a home in Germany. In the year of departure, you file a German return covering January through your departure date (or the date you deregistered). The Germany-Spain tax treaty governs how the overlap is resolved.
The US is a special case and the most complex one: the US taxes its citizens on worldwide income regardless of where they live. Moving to Spain and becoming a Spanish tax resident does not remove your US filing obligation. You file a US return every year as a citizen, and you apply the Foreign Earned Income Exclusion (FEIE) and/or the Foreign Tax Credit (FTC) to reduce or eliminate double taxation. The US-Spain tax treaty and the totalization agreement on social security add further layers.
For US citizens, the first year of relocation to Spain involves a US return for the full year (as always) plus a Spanish IRPF return if you’ve crossed 183 days. Both returns need to be coordinated — which is why most Americans in this situation use a firm that specializes in US expat tax combined with Spanish tax, rather than two separate accountants working independently.
The Beckham Law (formally the régimen especial para trabajadores desplazados) is Spain’s special tax regime for qualifying newcomers. Under it, you pay a flat 24% on Spanish-source income up to €600,000 rather than the progressive IRPF rates, and foreign income is generally not taxed in Spain at all — for up to 6 years.
For people with foreign employment income or foreign clients, the Beckham Law effectively simplifies the tax split problem significantly: if your pre-move income was foreign-sourced and you’re under the Beckham regime, Spain isn’t claiming it.
The critical constraint: the Beckham Law application must be filed within 6 months of your first registration with Spanish social security (or the start of your registered activity). There is no extension. If you miss the window — because no one told you it existed, or because you were focused on settling in — you cannot go back and apply it retroactively.
Whether the Beckham Law is beneficial depends on your income level, income source, and your home country’s tax treaty with Spain. For some people it’s a clear win; for others, the standard regime with treaty credits produces a similar or better outcome. Run the numbers with a professional before deciding.
If you cross 183 days in Spain within that calendar year, Spain technically claims you as a resident for the full year — including January through August. However, the tax treaty between Spain and your previous country of residence governs how pre-move income is handled. In most cases, income earned and taxed in your home country before your move will be excluded from Spanish tax or credited, not taxed again in full. The exact treatment depends on your specific treaty and income type.
If you arrive late enough in the year that you won’t cross 183 days before December 31, you’re not a Spanish tax resident for that calendar year — even if you’re living in Spain and intend to stay permanently. You’ll file as a non-resident for that year (Modelo 210, on Spain-source income only if any) and become a resident the following year when you cross the threshold. This is actually a common and legitimate planning outcome — your first full tax year as a Spanish resident starts the year you cross 183 days.
No. The DNV is an immigration status, not a tax status. Tax residency is determined by where you physically spend your days — specifically whether you cross 183 days in Spain during a calendar year (or meet one of the other residency tests). You can hold a DNV without being a Spanish tax resident in a given year, and you can be a Spanish tax resident without holding a DNV.
This is one of the most common first-year headaches. If your employer continued withholding taxes in your home country after you’d already established Spanish residency, you may have overpaid at home and underpaid in Spain — or the amounts may largely cancel out through treaty credits. Either way, you’ll need to reconcile this when you file in both countries. Your Spanish asesor fiscal and (if needed) your home-country tax advisor will coordinate the credits. It’s a paperwork problem, not a financial catastrophe — but it does need to be done correctly.
Almost certainly yes, for the year of your move. The specifics depend on your previous country’s rules about departure-year filings, your income level, and whether you have Spain-source income before becoming a resident. In most situations, you’ll file a departure return (or equivalent) in your previous country and an IRPF return in Spain. The treaty ensures the same income isn’t fully taxed twice, but filing in both is typically required regardless.
Documentation that can support your prior-country residency period includes: a certificado de residencia fiscal (tax residency certificate) from your previous country’s tax authority, your final tax return filed there, proof of deregistration (where applicable, e.g. the German Abmeldung), bank records, lease agreements, and travel records showing when you were physically present where. Spain’s AEAT may request supporting documentation when treaty provisions are applied on your return.
The standard IRPF filing period runs from approximately April through June 30 of the year following the tax year. So for your first calendar year as a Spanish resident, you’d file the following spring. The AEAT opens an online filing system (Renta Web) each year — verify the exact dates for the current year on aeat.es, as they can vary slightly.
The year of your move is the hardest one. It involves two countries, treaty provisions, potentially split-year rules in your home country, employer withholding mismatches, and possibly the Beckham Law decision window. Most people who try to handle this alone either overpay, miss credits they were entitled to, or make errors that require correction later. The professional fee for the transition year almost always costs less than the mistakes it prevents. Subsequent years, once you’re settled into Spanish residency, are more straightforward.
| When | What to Do |
|---|---|
| Before you move | Find a Spanish asesor fiscal. Check the Beckham Law eligibility. Tell your employer about the move. Understand your home country’s departure rules. |
| When you arrive | Get your NIE. Register with empadronamiento. Track your days in Spain from day one. |
| When you register with social security | The Beckham Law 6-month window opens here. If you’re going to apply, start the process immediately. |
| End of the calendar year | Count your days. If you’ve crossed 183, you’re a Spanish tax resident for the full year. Begin gathering documents for both countries. |
| Early the following year | File (or prepare to file) your departure return in your home country. Gather income documentation for the full prior year. |
| April – June following year | File your Spanish IRPF return for the prior year. Treaty credits, Beckham provisions, or foreign tax credits applied here by your accountant. |
Note: Tax laws in Spain and in other countries change regularly. Treaty provisions, IRPF rates, Beckham Law eligibility rules, and departure procedures in your home country should be verified with a licensed tax professional before you file anything. This article is for general informational purposes only and does not constitute tax advice.