The tests set out in law

Spanish income tax legislation sets out three routes to treating an individual as tax-resident in Spain. They are alternatives: meeting one is enough.

1. Presence of more than 183 days

Days of presence on Spanish territory are counted over the calendar year, from 1 January to 31 December. It is not a rolling twelve-month period but the calendar year, which has practical consequences for anyone arriving or leaving mid-year.

2. Main centre of economic interests

Even if you do not reach 183 days, you will be tax-resident if Spain is the main base of your activities or economic interests: where your professional activity is, where the bulk of your income comes from, where your productive assets are concentrated. This test is assessed in the round, not by a formula.

3. The family presumption

The law presumes, unless proved otherwise, that you reside in Spain if your spouse (not legally separated) and your dependent minor children habitually live here. It is a rebuttable presumption, but it shifts the burden of proof onto whoever says otherwise.

Sporadic absences

This is the point that generates the most argument. For the purposes of counting the 183 days, sporadic absences are added in as though you had been in Spain, unless you evidence tax residence in another country through the corresponding certificate issued by its tax authority.

Put another way: travelling, spending periods abroad or working a few weeks overseas does not automatically deduct days. If you want those periods not to count, you need a certificate of tax residence from another state, not simply boarding passes.

And it must be a certificate of tax residence, issued for the purposes of the double taxation treaty where one exists. A municipal registration certificate, a tenancy agreement or a utility bill in another country do not serve that purpose.

What changes once you are tax-resident

  • You are taxed on worldwide income. You declare all your income in the IRPF return, wherever it comes from: pensions, rents, dividends, gains abroad. You stop using the Modelo 210, which is the non-resident route.
  • Wealth tax changes. A non-resident is taxed only on assets and rights located in Spain; a resident, on worldwide wealth, with whatever thresholds and reliefs their region applies.
  • Reporting obligations appear. The declaration of assets and rights held abroad, and the declaration of virtual currencies held abroad, apply to residents above the set thresholds.
  • You gain access to IRPF allowances and reliefs that do not exist under the IRNR: personal and family allowances, joint taxation, the reduction for residential letting, regional deductions.

It is not automatically better or worse: it depends on the make-up of your income. On a modest pension, IRPF with personal allowances can be more favourable than the IRNR's 24%; on substantial foreign-source income, the opposite.

Spain does not allow the year to be split

Unlike some other countries, Spanish rules do not provide for split-year treatment: you are either tax-resident for the whole calendar year or you are not. If you move in September and do not exceed 183 days in that first year, you are a non-resident for that entire tax year and a resident from the following one. Planning the date of the move therefore has real tax consequences.

If two countries both treat you as resident

This is common on relocation and it is not resolved by choosing. Where a double taxation treaty exists between Spain and the other country, the treaty itself contains tie-breaker rules applied in order: where you have a permanent home available; if in both or neither, where the centre of your vital interests (personal and economic) lies; then where you habitually live; then which state you are a national of; and as a last resort, a mutual agreement procedure between the two authorities.

How it is evidenced

Spanish tax residence is evidenced by the certificate of tax residence issued by the Agencia Tributaria, which can be requested with a digital certificate. There are two versions: the general certificate and one issued specifically for the purposes of a double taxation treaty. Requesting the wrong one is a common reason for rejection by the foreign authority.

A special regime worth knowing about

Anyone moving to Spain for work reasons may, if they meet the requirements and apply in time, opt into the special regime for posted workers, which allows employment income to be taxed for several years under rules similar to those for a non-resident. It has strict conditions and a short application window from registration with Social Security, so the decision has to be made on arrival, not the following year.

In short

Tax residence is not a choice and does not depend on holding a TIE or a registration certificate: it depends on facts — days, economic interests, family — that the authorities can verify. If your situation is close to the line, or if you have just moved, it is worth analysing before the calendar year closes, while it can still be documented. At Asistenio we carry out that analysis and prepare the supporting documentation; see the tax advisory service.

This content is general and informational in nature; regulations and deadlines may change. For your specific situation, please contact us.