Contains AI-generated informationMore information

Dual residency and tax treatiesArticle 1 of 8 · 5 min read

What decides it when Spain and your home country both claim you

Explains when a tax treaty's tie-breaker applies if Spain and your home country both treat you as a tax resident, the order of the tests, and how to show your result in Spain. For newcomers with ties to two countries.

Key rules

  • Conflict only: The tie-breaker applies only if both countries treat you as resident under their own rules.
  • Set order: Permanent home, closest ties, habitual abode, nationality, then agreement between the tax authorities.
  • Treaty wording: Each treaty's own residence article governs, and wording differs between treaties.
  • Spanish return: There is no treaty-residence box; your residence shows in which return you file.

When the tie-breaker applies

A treaty does not create residence and does not replace Spain's own residence rules. Spain treats you as a tax resident if any one of these is true: you spend more than 183 days in Spain in a calendar year (see How the 183-day rule counts your days in Spain); your main base of activities or economic interests is in Spain (see When Spain can claim you through your economic interests); or your spouse, if not legally separated, and your dependent minor children live in Spain. The other country applies its own tests. The tie-breaker is needed only when both countries say you are resident.

If you meet Spain's rules, you stay resident in Spain for Spanish purposes. You are treated as a treaty resident of Spain unless the tie-breaker gives your residence to the other country.

The order of the tests

The tests run in a set order. You move to the next one only if the previous one does not settle it.

  1. Permanent home. You are resident where you have a home available to you. A home can be owned or rented. It must be kept available at all times on a continuous basis, not for a short stay. If you have a permanent home in both countries, the closest-ties test (step 2) decides. If you have one in neither, skip to habitual abode (step 3).
  2. Closest personal and economic ties. This weighs family and social ties, work, political and cultural activities, where your business is based and where you manage your assets. The facts of your own case decide. If your closest ties cannot be placed, habitual abode decides.
  3. Habitual abode. You are resident where you stay more often. The comparison covers a long enough period and counts time at any of your homes in each country. If you stay equally long in both, or in neither, nationality decides.
  4. Nationality. This is simply citizenship. If you are a citizen of both countries, or of neither, the two tax authorities settle it.
  5. Agreement between the tax authorities. The two countries decide between themselves.

Treaties are worded differently

Most of Spain's treaties follow this order, but the wording varies by treaty and some change the order or add steps. The exact text is in the official gazette, as set out in Finding and reading Spain's tax treaty with your home country.

Common situations

  • Moving mid-year: Spain has no split year. The tax year is the calendar year, and if you meet a Spanish test you are resident for the whole year, so Spain taxes your worldwide income from 1 January. The tie-breaker can still place your residence by period, as the worked example below shows. Moving to Spain mid-year and when your residency starts covers the arrival year.
  • Keeping a home abroad: A home you keep available in the other country counts as a permanent home in step 1. If you also have a home in Spain, step 2 decides, so the location of your family, work and assets matters more than where you sleep.
  • A family split across two countries: A spouse and children in Spain weigh heavily in step 2. When one spouse is Spanish tax resident and the other is not covers it.
  • Remote work for a foreign employer: The employer's country does not change the tests. Days you work while living in Spain count as days in Spain, and pay for work done in Spain is taxed in Spain. Do remote workers and digital nomads pay Spanish income tax?
  • Pensions and rental income from abroad: The treaty gives each income type its own rule, read in Finding and reading Spain's tax treaty with your home country.
  • A country with no treaty with Spain: There is no tie-breaker. Spain's own rules decide, and Spain relieves double tax by its own credit for foreign tax.

Worked example: moving on 1 July

You live and work in your home country until 30 June. On 1 July you move to Spain with your family, give up your home there and rent a flat in Spain. You are in Spain for 184 days of the year, so Spain treats you as resident for the whole calendar year, and your home country treats you as resident until you left.

  • 1 January to 30 June: your only permanent home was in your home country, so under the treaty you are resident there. Your home country taxes this income, and Spain gives you a credit for that tax.
  • 1 July to 31 December: your only permanent home is in Spain, so you are resident in Spain and Spain taxes this income.

What you file: in Spain, the resident return, Modelo 100, for the whole year, declaring all your income and claiming the credit for foreign tax on the January to June income; in your home country, the return for the months you lived there, showing your move date and your Spanish address. Keep the end of your home lease or the sale deed, your employment end letter and your Spanish lease to prove the date.

How you declare it in Spain

The Spanish return has no box for treaty residence. You show your position by the return you file:

  • If the tests make you resident elsewhere, you file as a non-resident with Modelo 210 for your Spanish-source income, and keep the tax residence certificate from the other country's tax authority as proof.
  • If the tests make you resident in Spain, you file the Spanish resident return, Modelo 100.

If the tests do not settle your case, a dispute needs a mutual agreement request.

Documents you need

  • Tax residence certificate from the other country's tax authority, to claim treaty benefits as a non-resident and to get relief from tax withheld at source.

  • Spanish certificate of tax residence from the Spanish tax agency, if you are resident in Spain and need to show it abroad.

Need certainty before you act?

For important relocation decisions, speak with a qualified human specialist.

Consult with a human specialist

For decisions that depend on your own circumstances, a qualified human professional should look at your case. Tell us what you need help with and we will reply by email.

Always verify important information with the relevant official authority or a qualified adviser before acting. This website uses large language models together with various public data sources, official government documents and other established sources. Due to the amount of data on this website, some information might be wrong. Information may also be incomplete or outdated.

What matters to me

Tell us who you are and what you care about. Fit scores and rankings across the site follow your answers.