Pay later
Pay on invoice
Excellent
Rated Excellent
From A-Z a Big Smile!

Understanding residence in Spain: fiscal vs social residence

This information is up to date and has been checked on 2025.

To grasp the difference between fiscal and social residence in Spain, you have to accept a counterintuitive reality: you can be both, one without the other, or neither. These two statuses are managed by two distinct administrations (Agencia Tributaria for fiscal, TGSS for social), respond to different criteria, and have different consequences on your taxes and social rights.

This article explains exactly what tax residency is, what social residency is, how they differ, how they can coexist or split, and what the four big possible combinations are with their practical implications. We also detail typical cases (EU pensioners, teleworkers, posted directors) and the pitfalls to avoid.

What is tax residency in Spain?

Tax residency determines where you pay your income and wealth taxes.

Definition and authority

Tax residency is defined and applied by the Agencia Tributaria (the Spanish tax office). It determines whether Spain considers you a resident taxpayer (taxed on worldwide income) or non-resident (taxed only on Spanish-source income).

The three tax residency criteria

You become a tax resident if you meet one of three criteria: spending more than 183 days a year in Spain, having your centre of economic interests in Spain, or having spouse and minor children habitually resident in Spain. The detail of these criteria and their application is in how to become a tax resident in Spain.

Tax consequences

If you are a tax resident, Spain taxes your worldwide income via the IRPF (modelo 100), you may be required to declare your foreign assets (modelo 720), and you gain access to bilateral tax treaties. If you are not a tax resident, you only pay on Spanish-source income via the IRNR (modelo 210). For details, see how much tax a non-resident pays.

What is social residency in Spain?

Social residency determines whether you contribute to the Spanish social security system and what entitlements you access.

Definition and authority

Social residency is managed by the Tesorería General de la Seguridad Social (TGSS). It determines whether you contribute to the Spanish regime (and to which: RETA for autónomos, Régimen General for employees, etc.) and therefore whether you access the associated benefits (public healthcare, pension, sickness benefits, unemployment).

Triggers for social residency

You become a social resident in Spain in several cases: you sign an employment contract with a Spanish company, you register as an autónomo, you become an SL director (autónomo societario), or you receive a Spanish pension. The detail of how it works is in how the Spanish social security system works for self-employed and businesses.

Social consequences

If you are a social resident, you receive a NUSS (see everything about the NUSS number) and you can activate your TSI (health card) to access public healthcare. Your contributions accumulate for your Spanish pension, and you become eligible for sickness, unemployment and parental benefits.

Special European forms

The S1 form (for EU pensioners), the A1 form (for posted workers), and the U1 form (for contribution history) modify the standard application of social residency. A Belgian retiree with S1 accesses Spanish public healthcare without contributing locally; a French employee on a 6-month assignment with A1 stays attached to French social security.

What are the main differences between the two residencies?

The two concepts do not merge and follow distinct logics.

Different criteria

Tax residency depends on your physical presence, economic interests and family. Social residency depends on your professional activity or specific status (retiree, student). You can spend 200 days in Spain (so be a tax resident) without having Spanish professional activity (so not a social resident).

Different administrations

Tax residency is tracked by the Agencia Tributaria via your returns. Social residency is tracked by the TGSS via your contributions. The two administrations exchange information but do not merge, and it can happen that the two registers are temporarily desynchronised.

Different consequences

Tax residency affects your taxes (IRPF/IRNR, modelo 720, bilateral treaties). Social residency affects your social cover (health, pension, unemployment, leave). One does not replace the other, and you often have to manage both in parallel.

Different calendars

Tax residency is assessed by full calendar year. Social residency is assessed month by month according to contribution periods. This generates transitional situations where one of the statuses changes before the other.

What are the four possible combinations?

You can be both tax and social resident, or one without the other, or neither.

Combination 1: tax resident AND social resident

The most common case for active expats settled in Spain. You live more than 183 days in Spain, you work or have an autónomo activity there, you contribute to Spanish social security. You pay IRPF on your worldwide income and you access public healthcare via TSI.

Typical profile: a French citizen settled in Barcelona with a local job, a Belgian who became an autónomo in Valencia, or a German director of an SL in Madrid.

Combination 2: tax resident WITHOUT social resident

You live more than 183 days in Spain but you have no Spanish professional activity. You may telework for a foreign company, live off capital income, or be a retiree not covered by S1. You pay IRPF in Spain on worldwide income but you do not have a Spanish NUSS.

Typical profile: a consultant teleworking for foreign clients without registering as an autónomo in Spain (a situation that is often fiscally risky), or a passive income rentier.

Combination 3: social resident WITHOUT tax resident

You work in Spain and contribute to social security, but you do not exceed 183 days and your centre of economic interests is elsewhere. This happens in cases of temporary posting (short missions from a foreign employer), although in that case the A1 form often exempts from Spanish contribution.

Typical profile: rare in practice, except border missions or one-off commercial activity requiring RETA registration for 2-3 months.

Combination 4: NEITHER tax resident NOR social resident

You have neither exceeded 183 days, nor have professional activity in Spain, nor a resident family. This is the profile of the tourist or pure foreign investor. If you own a property, you pay the IRNR via modelo 210, but it is not full tax residency.

Typical profile: non-resident owner of a holiday apartment on the Costa Blanca, who comes a few weeks a year and does not work in Spain.

Special cases and important nuances

A few situations deserve specific attention.

The EU retiree with S1

A German retiree settling in Marbella with their S1 becomes a Spanish tax resident (exceeds 183 days, centre of interests in Spain) but their social residency is special: they access Spanish public healthcare without contributing locally, thanks to the S1 that transfers health cover from Germany. They have a NUSS and a TSI but no monthly cuota.

The teleworker with a foreign employer

A French citizen settling in Valencia who continues to work for their French employer in telework is in a grey zone. Fiscally, they become a Spanish resident (exceeds 183 days). Socially, they should either register as an autónomo in Spain, or obtain a French A1 (rare, since reserved for short missions), or their French employer must register as an employer in Spain (heavy). In practice, many forget to regularise and accumulate a social debt.

The director of a Spanish SL

The director of a Spanish SL must register as an autónomo societario with the TGSS and pay a monthly cuota. It is mandatory social residency. Their tax residency depends on standard criteria: if they live in Spain more than 183 days, they are tax resident; otherwise, non-resident. For SL set-up, see the SL roadmap in Spain.

The cross-border worker

A French citizen living in Hendaye and working in San Sebastián (or vice versa) is governed by the cross-border tax treaty that can maintain tax residency in the country of residence and social residency in the country of work. It is a specific case requiring dedicated expertise.

What pitfalls are common with these two residencies?

Several mistakes recur and complicate the situation of expats.

Believing tax residency = social residency

Mistake number one is to think that becoming a tax resident in Spain automatically triggers social residency, or vice versa. The two are independent. You can perfectly be a tax resident without contributing to social security (and so without access to public healthcare), or contribute to social security without being a tax resident.

Confusing both with administrative residency

Administrative residency (NIE/TIE/EU certificate) is yet another concept. For the full picture, see everything about residency in Spain.

Failing to regularise social status in telework

Many expat teleworkers live in Spain more than 183 days without registering with Spanish social security. This can generate contribution reassessments over 4 years plus penalties. Regularising proactively is almost always cheaper than being audited.

Believing the NIE = residency

Holding an NIE makes you neither a tax resident, nor a social resident, nor an administrative resident. It is just an identifier. See the impact of the NIE on your tax status to grasp this clearly.

Underestimating the S1 for EU pensioners

Many EU pensioners take out Spanish private health insurance (€1,200-€2,400/year) when they could have requested an S1 and benefited from public healthcare for free. Check with your pension fund if you are eligible.

Failing to anticipate the transition

If you know you will switch into tax and/or social residency, anticipate the steps. Planning of 6-12 months avoids blank periods without health cover or IRPF reassessments.

How do you know where you stand?

A few practical questions to position your status.

Are you a tax resident?

Answer the three questions: have you spent more than 183 days in Spain this year? Are your main economic interests in Spain? Do your spouse and minor children reside in Spain? If yes to at least one, you are probably a tax resident.

Are you a social resident?

Do you contribute to Spanish social security? Do you have a NUSS? If you are an employee of a Spanish company, an autónomo, or a director of an SL, the answer is almost always yes. If you are an EU retiree with S1, you are socially integrated without your own contribution.

When in doubt

Ask the Agencia Tributaria and the TGSS for a certificate of your respective situation. Both administrations issue official certificates confirming your status at a given moment. This is useful for cross-border procedures (notably to avoid being taxed twice).

Where to start to manage both residencies in Spain

The difference between fiscal and social residence in Spain is one of the most poorly understood distinctions among expats, and it can generate costly errors (IRPF reassessments, social debt, double taxation). The practical rule: tackle both dimensions separately, leaning on the objective criteria of each administration.

If you are planning a move, first check your probable fiscal status (days of presence, centre of interests) then your expected social status (professional activity, employer). Then choose the steps accordingly: possibly the Beckham regime for fiscal, autónomo alta or A1 for social. Bad management can cost several thousand euros a year for years.

Are you preparing a move or doubting your current status? At gestoraz, we can audit both your residencies (fiscal and social), identify the regularisations needed, and propose an optimisation plan for the years ahead.

Official sources

Get help from a specialist.
Apply for your NIE entirely remotely.
Register your NIE as NIF or request a new NIF.
Application for your NUSS number.
We fill out the Modelo 210 for you and submit it.
Complete formation of your S.L.
Full registration as Autónomo.
Full registration as Autónomo.
Complete formation of your S.L.

Obtain your Digital Certificate entirely remotely.

We help you with everything necessary to become a resident.
Payment options available afterward or in installments.
Rated Excellent on Trustpilot.
Get help from a specialist.
Request your NIE completely remotely.
Register your NIE as a NIF or apply for a new NIF.
Request your NUSS number.
We fill out the Modelo 210 for you and submit it.
Complete establishment of your S.L.
Full registration as an Autónomo.
Full registration as an Autónomo.
Complete establishment of your S.L.

Request your Digital Certificate completely remotely.

We'll help you with everything you need to become a resident.
It is possible to pay afterwards or in installments.
Rated 'Excellent' on Trustpilot.

Your smile comes first

It’s no coincidence that hundreds of people went before you. Read their experiences and discover why so many people choose Gestoraz.

Featured on  

Logo Expatica