Why timing and structure matter more than intention
Moving to Madrid does not automatically make you a Spanish tax resident. But tax residency in Spain is also not something you choose based on intention or long-term plans.
It is determined by law. Once the legal threshold is crossed, the consequences apply to the entire calendar year, backwards and forwards. Understanding how that works before you arrive is what separates people who plan from people who react six months later with a bill they didn’t see coming.
This matters especially for North Americans, who are typically managing income, assets, and family life across more than one country when they make this move.
How Spain determines tax residency
Spanish tax law uses three independent tests. Meeting any one of them makes you a tax resident for that calendar year. These tests are not subjective, and they don’t care about your visa type, your intentions, or how long you plan to stay.
Physical presence: the 183-day rule
Spend more than 183 days in Spain between January 1 and December 31, and you are a Spanish tax resident for that year.
Days are counted broadly. Arrival and departure days count. Partial days count. Short trips abroad don’t reset the calculation.
Spanish tax authorities also apply a presumption of presence. If they establish that you were in Spain on two dates, they are permitted to presume you were present on the days in between, unless you can demonstrate otherwise. This is standard practice in many tax systems. What it means in practice is that documentation matters: travel records, accommodation records, and financial activity that reflects where you actually were.
Economic centre of interests
Even if you spend fewer than 183 days in Spain, residency can still arise if Spain is considered the centre of your economic life.
The assessment looks at where your active economic activity is based. Running a business from Spain, working remotely from Spain, or managing Spanish income-producing assets are all relevant factors. Passive investments held abroad generally carry less weight.
In practice, tax authorities focus on where your economic activity is most meaningfully anchored compared to the next strongest competing jurisdiction. For remote workers and internationally mobile professionals, this test catches more people than they expect.
Family ties and legal presumptions
Spanish law includes a family-based presumption that surprises many international families.
If your spouse (not legally separated) and dependent minor children habitually reside in Spain, the law presumes you are also a tax resident. That presumption can be challenged, but doing so requires clear evidence of tax residence elsewhere and consistent economic and physical ties outside Spain.
This comes up regularly when one partner relocates to Madrid with the family while the other continues working internationally. The working partner often assumes they are outside the Spanish tax net. They are not always right.
What tax residency changes
Once Spain considers you a tax resident, it taxes your worldwide income.
Employment income, self-employment income, rental income, dividends, interest, and capital gains are all in scope, regardless of where they originate. Tax rates are progressive, combining state and regional components. Madrid’s regional rates tend to be lower than in other parts of Spain, which is one reason the city attracts internationally mobile professionals, but marginal rates at higher income levels remain significant.
Savings and investment income is taxed under a separate scale.
Beyond income tax, residency brings reporting obligations that exist even when no additional tax is owed.
Foreign assets and disclosure: Modelo 720
Spanish tax residents holding foreign assets above certain thresholds must file a declaration called Modelo 720.
The threshold is €50,000 per category, across three categories: foreign bank accounts, foreign securities and investment products, and foreign real estate. Each category is assessed independently.
This is a disclosure requirement, not a tax. Penalties were reformed following a 2022 European Court of Justice ruling that found the previous penalty regime disproportionate. The obligation to report remains. Non-compliance still carries risk.
North Americans holding RRSPs, 401(k)s, pension accounts, or investment portfolios abroad need to understand how these assets interact with both Modelo 720 and Spanish income tax obligations. The US-Spain and Canada-Spain tax treaties address some of this, but the treatment of specific account types requires advice from a cross-border specialist. This is not an area where general guidance is sufficient.
One important note: if you qualify for the Beckham Law regime (covered below), you are generally exempt from filing Modelo 720. That exemption is one of the regime’s most significant practical advantages and worth understanding before you arrive.
A special regime worth knowing about: the Beckham Law
There is a special tax regime in Spain known informally as the Beckham Law, formally the régimen especial para trabajadores desplazados.
Under this regime, qualifying individuals are taxed only on Spanish-source income for up to six years, at a flat rate of 24% on income up to €600,000, rather than under the standard progressive system. They are also generally taxed only on Spanish-source assets for Wealth Tax purposes, which is a meaningful advantage for high-net-worth individuals with substantial assets outside Spain.
It is not available to everyone. Eligibility requires that you have not been a Spanish tax resident in the five years prior to your arrival, and that you are coming to Spain under specific circumstances: an employment contract with a Spanish company, appointment as a director of a Spanish entity, or certain remote work arrangements under the digital nomad visa framework.
For families, there is an important update from 2023. Under reforms introduced by the Startups Law, the regime can now extend to your spouse and dependent children under 25 (or of any age with a disability), provided they also relocate to Spain and their income is lower than yours. This is a significant benefit that many families don’t discover until after the eligibility window has passed.
The application window is narrow regardless of family situation. You have six months from the date your Spanish social security registration begins to apply. Miss it, and the option is gone.
If you think you or your family might qualify, this is the first question to raise with a cross-border tax advisor before you arrive, not after.
Madrid’s investment deduction: the Mbapé Law
Since January 1, 2024, the Community of Madrid has offered a regional tax incentive that allows new residents to deduct 20% of certain qualifying investments, including shares and fixed-income securities, from their regional personal income tax liability.
The incentive is informally known as the Mbappé Law, named for the French footballer whose reported relocation to Madrid brought the policy into public discussion. It is also referred to as the Invest in Madrid incentive.
For internationally mobile professionals and families arriving with investment portfolios, this is worth understanding as part of the broader picture of why Madrid specifically, rather than other Spanish cities, tends to attract this profile of resident.
The eligibility conditions and qualifying investment categories are specific, and the rules are recent enough that they warrant direct verification with a tax advisor. What matters here is that you know it exists and ask about it early. Most people moving to Madrid don’t hear about it until well after they’ve arrived.
Wealth tax: a note for higher net worth families
Madrid has historically offered a 100% rebate on the regional Wealth Tax, making it effectively zero for most residents. That advantage remains.
However, the national Solidarity Tax on Large Fortunes, introduced in 2022, applies to individuals with net assets exceeding approximately €3 million, regardless of regional rebates. If your family’s combined assets are in that range, this is a material consideration that belongs in a conversation with a specialist, not a blog article. The threshold and exemptions involved are specific enough that general guidance doesn’t serve you well here.
If you are not a Spanish tax resident
Non-residents are taxed only on Spanish-source income, typically at flat rates, through a separate reporting system. Foreign income and assets remain outside the Spanish tax net.
Residency status drives this distinction, not visa type. You can hold a long-stay visa and not be a tax resident, depending on how your time and economic activity are structured.
Why timing matters more than people expect
Spain operates on a calendar year. If a residency test is triggered at any point during the year, tax residency applies to the full year.
Arriving in July and remaining past the 183-day threshold means residency for the entire calendar year, including the months before you arrived. Leaving in November does not undo what was already triggered.
For families, this intersects directly with practical decisions: when your children start school, when your lease begins, when you register with the local council. These are not separate from tax planning. They are part of the same timeline.
Remote work: a common point of confusion
Working for a foreign employer does not shield you from Spanish taxation if you are a Spanish tax resident.
Tax treaties prevent double taxation, not double filing. In practice, this often means filing in more than one country and using credits to offset tax already paid elsewhere. The administrative burden is real, and the rules vary depending on which treaty applies.
Even non-residents may face Spanish tax obligations if work is physically performed from Spain.
Planning instead of reacting
Spanish tax residency is not about intention. It is about how real life lines up with legal tests.
For some people, that means structuring time and activity so residency does not arise in a given year. For others, it means accepting residency early and planning income, reporting, and cash flow accordingly. Either is rational. What creates problems is arriving without a position on the question.
The families I work with are managing housing decisions, lease timing, school enrolment, and the full logistics of a relocation simultaneously. Tax residency runs alongside all of that. The people who come out ahead bring the right professionals into the conversation before they arrive, not after they have already triggered something they didn’t intend to.
I work with a network of cross-border tax advisors and legal professionals who specialise in exactly this situation. If you are at the planning stage and want an introduction to the right person for your specific circumstances, that is a conversation I am glad to have.
Ready to make sense of the moving parts?
The decisions you make before you arrive in Madrid, around timing, housing, schools, and tax structure, are connected. A Madrid Clarity session is where we work through how those pieces fit together for your specific situation, before you commit to anything.
→ Book a Madrid Clarity session
Follow Madrid Move-Smart on LinkedIn for practical, honest coverage of what international families need to know.
Disclaimer
This article is for general informational purposes and reflects the regulatory framework as of the time of writing. It does not constitute legal or tax advice. Individual circumstances vary. Consult a qualified cross-border tax professional before making decisions related to Spanish tax residency or reporting obligations.
