Searching for “tax residency Spain 183 days”? The key point is that Spain’s day-count test requires more than 183 days in the country during a calendar year. But you can also be Spanish tax resident with fewer days if Spain is the main base of your economic interests. A separate family presumption may apply, and a tax treaty can resolve competing claims from two countries.
The starting point is Article 9 of Ley 35/2006, Spain’s Personal Income Tax Law. The Agencia Estatal de Administración Tributaria (AEAT) applies these rules. Your visa, residence card and address registration do not, by themselves, decide your tax residence.
Tax residency Spain 183 days: how the test works
Under Article 9.1(a) of Ley 35/2006, an individual is tax resident in Spain if they spend more than 183 days in Spanish territory during the calendar year.
That means at least 184 days. The days do not need to be consecutive, and the relevant period is normally 1 January to 31 December—not any rolling 12-month period and not the first year after your visa was issued.
Exactly 183 days does not satisfy this particular test on its own. It is not, however, a safe harbour from the other Spanish tax resident rules.
Short trips abroad may still count
Article 9 says that sporadic absences are included when calculating your period of presence unless you establish tax residence in another country. Booking enough weekends outside Spain is therefore not a reliable way to remain non-resident.
The classification of an absence depends on the facts. Keep a travel record supported by tickets, boarding passes, accommodation records and other evidence of where you actually were. Passport stamps alone may leave substantial gaps, particularly within the Schengen area.
A foreign tax residence certificate is relevant evidence, but it does not automatically defeat Spain’s other residence tests or settle a treaty dispute.
The centre of economic interests test
Article 9.1(b) provides a separate route to Spanish tax residence: Spain is the principal centre or base of your activities or economic interests, directly or indirectly.
This is why staying below 184 days does not necessarily keep you outside Spanish tax residence. The day-count test and the centre of economic interests test are alternative grounds, not two conditions that must both be met.
The assessment can involve where you carry out your work, run a business, generate income and manage significant economic interests. No single bank account, property or company shareholding automatically answers the question.
If you work remotely from Spain for an overseas employer, the employer’s foreign address does not settle your personal tax position. Equally, owning a Spanish holiday home does not automatically make you resident.
The family presumption
Article 9 also creates a rebuttable presumption of Spanish tax residence where your spouse, from whom you are not legally separated, and your dependent minor children habitually reside in Spain under the preceding criteria.
This is a presumption, not an absolute rule. Someone whose family lives in Spain while they work abroad should gather evidence of their position rather than relying only on a count of Spanish overnight stays.
What if two countries consider you tax resident?
Two countries can both classify you as resident under their domestic laws. Where an applicable double taxation agreement exists, its residence article generally provides tie-breaker rules for individuals.
Many Spanish treaties examine these factors in sequence:
- Where you have a permanent home available.
- Where your personal and economic relations are closer: your centre of vital interests.
- Where you have a habitual abode.
- Your nationality.
- Agreement between the countries’ competent authorities if the earlier tests do not resolve the issue.
Check the actual treaty between Spain and the other country. Wording and coverage can differ, and not every country has a treaty with Spain. The AEAT publishes treaty information through its official electronic office.
The treaty concept of “centre of vital interests” includes personal as well as economic relations. It should not be confused with the domestic centre of economic interests test in Article 9.
A treaty tie-breaker determines residence for the treaty’s purposes. It does not necessarily remove every filing obligation or prevent the other country from taxing income that the treaty allows it to tax.
Your visa, NIE and padrón are different matters
Immigration permission and tax residence answer different questions. Holding a residence authorisation does not automatically make you Spanish tax resident, and lacking one does not prevent Spain from treating you as resident for tax purposes.
As our guide to the difference between a NIE and a TIE explains, an identification number and a residence card have distinct functions. Neither is a tax residence certificate.
Likewise, empadronamiento registers where you habitually live with the municipality. It can form part of the evidence about your circumstances, but registration does not replace the Article 9 tests. Remaining off the padrón does not create a tax exemption either.
If you hold a Spanish digital nomad visa or residence authorisation, assess your tax position separately from your immigration application. The permission to work remotely is not a ruling on where your income is taxable.
What changes when you become Spanish tax resident?
Under the ordinary IRPF system, Spanish tax residents are generally subject to Spanish income tax on worldwide income, with applicable exemptions, treaty provisions and double-taxation relief. Receiving your salary or client payments in a foreign account does not, by itself, keep that income outside Spanish taxation.
Non-residents may still owe Spanish tax on Spanish-source income under the Non-Resident Income Tax Law, approved by Real Decreto Legislativo 5/2004. Non-resident does not mean tax-free.
Spain normally determines individual tax residence for the calendar year as a whole. Articles 12 and 13 of Ley 35/2006 establish the calendar-year tax period, with a shorter period in the event of death. Do not assume that moving halfway through the year automatically creates a split-year treatment; any treaty implications need a separate review.
Qualifying people moving to Spain may elect the special inbound-worker regime under Article 93 of Ley 35/2006, as amended by Ley 28/2022. Our Beckham Law guide covers eligibility and treatment. The regime is not automatic, and using it does not mean you remain non-resident: qualifying taxpayers become Spanish IRPF taxpayers subject to its special calculation rules.
How to obtain a tax residence certificate
A tax residence certificate is an official document issued by a tax authority confirming tax residence for the period it covers. It is different from a residence permit, a rental contract or a municipal registration certificate.
To request a Spanish certificate, use the AEAT electronic office and look for “Certificados tributarios” and “Residencia fiscal”. Follow the current identification and application instructions there. The AEAT must be able to establish your tax residence; requesting a certificate does not create it.
For treaty relief, check whether you need a certificate expressly confirming residence for the purposes of the relevant double taxation agreement. The receiving authority may also specify the period or wording required.
If you are arguing that you are tax resident elsewhere, request the appropriate certificate from that country’s tax authority and retain the supporting evidence. An overseas tax number alone does not prove foreign tax residence.
Before deciding where to file
A useful review goes beyond counting days. Gather:
- A calendar-year travel record with supporting documents.
- Details of homes available to you in Spain and abroad.
- Employment, business, income and investment information.
- Your spouse’s and dependent children’s living arrangements, where relevant.
- Foreign tax residence certificates and relevant tax returns.
Ask an adviser to assess Article 9 first, then any applicable treaty and special regime. If two countries have a plausible claim, resolve the position before filing on inconsistent assumptions.
Frequently asked questions
Am I Spanish tax resident after exactly 183 days?
Not under the physical-presence test alone: Article 9 requires more than 183 days. However, sporadic absences may count, and the economic-interests test or family presumption may still establish Spanish residence.
Can I spend fewer than 183 days in Spain and still be tax resident?
Yes. Spain may be the principal base of your activities or economic interests even with fewer days of presence. The family presumption may also apply. An applicable tax treaty must then be considered if another country also treats you as resident.
Does paying tax abroad prove I am not resident in Spain?
No. Non-residents can pay tax on income arising in another country. A foreign return or tax payment is not the same as evidence of foreign tax residence, and it does not settle the Spanish tests.
Does a foreign tax residence certificate override Spain’s rules?
No, not automatically. It is relevant to the treatment of sporadic absences and to establishing a foreign residence claim. If both countries consider you resident, the applicable treaty’s residence provisions must be examined alongside the facts.
Do I pay Spanish tax only on income earned after I move?
Do not assume so. Under ordinary IRPF rules, residence is normally determined for the calendar year as a whole, and residents are generally taxed on worldwide income. Treaty provisions, exemptions and any applicable special regime can affect the result.