Healthcare in Spain for Foreign Residents: Complete Guide

Last Updated: August 2026 | Applies To: Foreign residents and newcomers in Spain | Official Sources Checked: Seguridad Social, Ministerio de Sanidad, European Commission and BOE | Author: Editorial Team

Healthcare in Spain for foreign residents is often described as either “free for everyone” or “you need private insurance.”

Neither statement is accurate enough to be useful.

Spain has a public healthcare system, but the route through which you obtain entitlement depends on your circumstances. A worker employed in Spain, an EU pensioner with an S1, a dependent spouse, a non-lucrative resident and someone without legal residence may all access healthcare through different legal and administrative routes.

The important question is not simply:

“Can I go to a Spanish doctor?”

It is:

Which legal route gives me healthcare coverage in Spain, who recognises it, and how do I obtain my regional health card?

How the Spanish Public Healthcare System Works

Spain’s public healthcare system is the Sistema Nacional de Salud, usually abbreviated to SNS.

It is a national system, but most healthcare delivery is organised by Spain’s autonomous communities.

This means there are two administrative levels you need to distinguish:

Level Typical Role
National administration Determines or coordinates entitlement in many Social Security and international cases.
Autonomous community Registers you in the regional health service, assigns healthcare resources and issues the regional health card.

The precise procedure therefore differs somewhat depending on whether you live in Andalucía, Madrid, Valencia, Cataluña, the Canary Islands or another autonomous community.

What Is the Tarjeta Sanitaria Individual?

The Tarjeta Sanitaria Individual, or TSI, is the personal health card used to identify you within the Spanish public healthcare system.

The Ministry of Health describes it as the official document used to identify each person when accessing services and benefits of the Sistema Nacional de Salud.

The card is issued by the competent regional health authority to people who have their healthcare entitlement recognised.

A regional health card issued by one autonomous community is valid throughout the national health system, although your normal primary-care registration remains linked to the region where you live.

Healthcare entitlement and the health card are not the same thing. First you need an entitlement or coverage route. The regional card is the practical document used to access the system.

Who Has a Right to Public Healthcare in Spain?

Under the current national framework, holders of the right to healthcare include Spanish nationals and foreign nationals who have established residence in Spain, subject to the applicable legal conditions and international coordination rules.

People may also have healthcare rights in Spain under:

  • EU, EEA and Swiss Social Security coordination rules;
  • bilateral Social Security agreements;
  • Spanish employment or self-employment;
  • pension or benefit status;
  • beneficiary status through another entitled person; or
  • specific rules applying to people without legal residence.

So there is no single application route for every foreign resident.

The Main Healthcare Routes for Foreign Residents

Your Situation Typical Healthcare Route
Working in Spain Spanish Social Security coverage through employment or self-employment.
Spanish pension or qualifying Spanish benefit Entitlement through the Spanish Social Security system.
Pensioner insured by another EU/EEA/Swiss state S1 registration where the international coordination rules make that state responsible.
Posted or cross-border worker May remain insured in another state and use an S1 or other coordination documents where applicable.
Dependent family member May qualify as a beneficiary where the legal conditions are met.
Resident without another compulsory healthcare route May qualify under Spain’s residence-based healthcare framework, subject to the applicable requirements.
Immigration category requiring private insurance Private health insurance may be required for the immigration procedure, particularly before another public entitlement exists.

Healthcare if You Work in Spain

If you work in Spain and are registered with Spanish Social Security, your healthcare entitlement will normally arise through the Spanish system.

This applies to both:

  • employees; and
  • self-employed workers registered in the applicable Social Security regime.

Once the entitlement is recognised, you normally register with your regional health service to obtain the health card used for doctors, prescriptions and other public healthcare services.

Foreign residents should not confuse their Social Security number with their health card. They are separate administrative identifiers.

Healthcare if You Receive Spanish Unemployment Benefits

Recipients of qualifying periodic Spanish Social Security benefits, including unemployment benefit or subsidy, can have healthcare entitlement through that status.

The Seguridad Social also lists certain unemployed residents who have exhausted unemployment benefits among the groups entitled to healthcare.

The exact entitlement should be checked against your Social Security record rather than assuming that being unemployed either automatically gives or removes healthcare rights.

Healthcare for Pensioners Moving to Spain

Pensioners are one of the most important cross-border healthcare groups.

If you receive a pension from Spain and that pension gives healthcare entitlement, Spain will normally be responsible for your healthcare.

If you move to Spain but remain insured by another EU, EEA or Swiss country, that other country may remain responsible for the cost of your healthcare.

In that situation, the key document is often the S1 form.

What Is the S1 Form?

The S1 is a European Social Security coordination document certifying entitlement to healthcare when you live in one country but are insured in another.

It replaced older forms including E106, E109 and E121.

The S1 is commonly used by:

  • pensioners retiring to another European country;
  • posted workers;
  • cross-border workers in applicable circumstances;
  • certain family members; and
  • other people covered under European Social Security coordination.

The form is issued by the competent healthcare or Social Security institution in the country responsible for your coverage.

You then register it with the competent institution in Spain.

S1 does not mean “private insurance.”

It means another participating country’s Social Security system remains financially responsible while you receive healthcare in Spain under the coordination rules.

How Does an S1 Pensioner Register in Spain?

The broad process is:

Step 1: Obtain the S1

Request it from the competent institution in the country responsible for your healthcare.

Step 2: Establish Residence in Spain

Complete the residence and address documentation applicable to your situation.

For EU citizens, see our EU Citizen Moving to Spain guide.

Step 3: Register the S1 in Spain

Present the S1 through the competent Spanish Social Security healthcare process, normally involving the Instituto Nacional de la Seguridad Social where applicable.

Step 4: Obtain Evidence of Healthcare Entitlement

Once recognised, obtain the document or electronic confirmation showing your healthcare entitlement.

Step 5: Register With the Regional Health Service

Take the required documentation to the health service of your autonomous community and obtain your Tarjeta Sanitaria Individual.

What if You Receive Pensions From More Than One Country?

This can change which country is responsible for your healthcare.

Under European coordination rules, if you receive pensions from more than one country and one of those pensions is from the country where you reside, the country of residence will generally be responsible for healthcare coverage.

If you do not receive a pension from the country where you live, another pension-paying country may remain responsible under the coordination rules.

This is one reason not to assume that a pensioner moving to Spain automatically needs an S1 from whichever country happens to pay the largest pension.

Can Your Spouse or Children Be Covered as Beneficiaries?

Possibly.

Spanish Social Security recognises certain family members as beneficiaries for healthcare purposes where the legal requirements are met.

Potential beneficiaries include:

  • a spouse;
  • a registered partner or person in an equivalent qualifying relationship; and
  • certain dependent descendants or assimilated persons.

Age, dependency, disability, residence and whether the person already has healthcare rights in their own name can matter.

A family member should therefore not simply assume that being married to an entitled person automatically means the administrative registration has already happened.

Beneficiary status normally has to be recognised. Once recognised, the beneficiary can then complete the regional health-service registration needed for their own health card.

Does a CUE Automatically Give an EU Citizen Public Healthcare?

No.

The CUE is evidence that an EU, EEA or Swiss citizen has registered under the free-movement residence regime.

Healthcare entitlement is a separate question.

Indeed, economically inactive EU citizens may need to demonstrate appropriate healthcare coverage as part of qualifying for residence in the first place.

See our CUE in Spain guide.

Does a TIE Automatically Give You Public Healthcare?

No.

The TIE documents an immigration status.

Your healthcare rights depend on the legal basis through which you are covered.

A person may have a valid TIE while relying on:

  • Spanish Social Security coverage;
  • international healthcare coordination;
  • private insurance required by their residence route; or
  • another legally recognised healthcare basis.

For the card itself, see our TIE in Spain guide.

Does the Padrón Give You Healthcare Entitlement?

No, not by itself.

The padrón proves municipal registration of where you habitually live.

It can be important evidence when registering with healthcare authorities, but registration on the padrón does not by itself create every healthcare entitlement.

See our Empadronamiento in Spain guide.

Do Foreign Residents Need Private Health Insurance?

Sometimes, but not universally.

Private insurance is particularly important in immigration procedures where the applicant is required to demonstrate healthcare cover independently of Spanish Social Security.

Examples can include certain:

  • economically inactive EU residence applications;
  • non-lucrative residence applications;
  • study situations;
  • family or other residence categories depending on the legal route.

But a person who is fully covered through Spanish Social Security does not need private insurance merely because they are foreign.

Immigration insurance and public healthcare entitlement are separate issues. A policy that is acceptable for a residence application does not itself register you in the Spanish public healthcare system.

What About the European Health Insurance Card?

The European Health Insurance Card, or EHIC/TSE, is designed primarily for medically necessary healthcare during a temporary stay in another participating European country.

It is not the normal substitute for registering healthcare rights when you permanently relocate to Spain.

If you move your habitual residence to Spain but remain insured in another participating state, an S1 may be the appropriate document instead.

EHIC/TSE: Mainly temporary stays.

S1: Registration for healthcare where you live when another participating state remains responsible for your insurance.

How Do You Check Whether Spain Recognises Your Healthcare Right?

Seguridad Social provides an online service for checking whether a person is recognised as a holder or beneficiary of public healthcare entitlement.

Where entitlement is confirmed, the system can also provide documentary evidence of that status.

This can be useful before visiting the regional health service if you are unsure whether your national healthcare entitlement has already been recognised.

How Do You Get a Spanish Health Card?

The exact documents vary between autonomous communities, but the general sequence is:

Step 1: Confirm Your Healthcare Entitlement

Make sure your entitlement through Spanish Social Security, an S1, beneficiary status or another route has been recognised where required.

Step 2: Register Your Address

Your regional health service normally needs evidence that you live within its territory.

Padrón documentation is commonly important here.

Step 3: Contact Your Regional Health Service

This may be your local health centre or another regional registration office depending on the autonomous community.

Step 4: Present the Required Documents

These can include:

  • passport or identity document;
  • NIE where applicable;
  • evidence of healthcare entitlement;
  • padrón or address evidence; and
  • other documents requested by the regional service.

Step 5: Receive Your Health Identification

You will normally be assigned the regional patient identification and health card used to access your local public healthcare service.

Can You Use a Health Card From One Region in Another Region?

Yes, the Tarjeta Sanitaria Individual forms part of the national health-system identification framework and is valid throughout the Sistema Nacional de Salud.

However, your ordinary primary-care doctor, health centre and regional electronic records remain associated with the autonomous community in which you are registered.

If you move permanently from one region to another, you should update your registration with the new regional health service.

What if You Move From One Spanish Municipality to Another?

Update your padrón first and then update your healthcare registration where necessary.

If the move is within the same regional health system, this may simply involve changing your assigned health centre.

If you move to another autonomous community, you may need to register with the new regional health service and obtain its regional version of the health card.

What Healthcare Can You Receive Through the Public System?

The precise common portfolio is governed nationally while services are delivered by the autonomous communities.

Public healthcare broadly includes areas such as:

  • primary care;
  • specialist care;
  • hospital treatment;
  • emergency care;
  • prescribed medicines under the applicable pharmaceutical contribution rules;
  • preventive care; and
  • other services included within the public healthcare portfolio.

Being entitled to public healthcare does not mean that every possible medical service, medicine or treatment is completely free of charge.

Are Prescription Medicines Free?

Not necessarily.

Spain operates a pharmaceutical co-payment system.

The amount a patient contributes can depend on factors including:

  • whether the person is working or retired;
  • income;
  • benefit status;
  • the medicine involved; and
  • specific exemption rules.

The health card is linked to the information used when prescriptions are dispensed through the public system.

What if You Are Not Legally Resident in Spain?

Spain also has a specific statutory framework for foreign nationals who are physically in Spain without registered or authorised legal residence.

The law provides healthcare protection subject to conditions including that:

  • the person is not required to obtain mandatory healthcare coverage through another applicable route;
  • healthcare entitlement cannot be exported from the country of origin or previous coverage; and
  • there is no third party responsible for payment.

Spain introduced a national procedure in 2026 intended to provide a more uniform process for recognising this healthcare right.

The autonomous communities remain responsible for implementing access through their health services.

This healthcare route does not regularise immigration status. Access to healthcare and legal residence are separate matters.

What if You Are Only Visiting Spain?

Visitors should not assume that the rules for residents apply to them.

Depending on nationality and circumstances, temporary healthcare may be covered by:

  • an EHIC/TSE;
  • a bilateral healthcare arrangement;
  • travel insurance;
  • private insurance; or
  • payment for healthcare directly.

A short-term visitor does not obtain a Spanish health card merely because they spend time in Spain.

Healthcare and the EU Citizen Residence Process

For EU, EEA and Swiss citizens, healthcare can also affect the immigration side of the move.

If you qualify for EU residence as an employee or self-employed worker, your situation is different from that of an economically inactive applicant.

Economically inactive EU residents generally need appropriate health coverage as part of their residence qualification.

That cover might arise through an S1 or another qualifying route rather than necessarily through privately purchased insurance.

See our cornerstone guide: EU Citizen Moving to Spain: Complete Paperwork Guide.

Healthcare and Non-EU Residence

For non-EU citizens, healthcare requirements depend heavily on the immigration category.

Private health insurance is commonly relevant to certain visas and residence authorisations, while other residents obtain public entitlement through employment, Social Security or another recognised route.

See our cornerstone guide: Non-EU Citizen Moving to Spain: Complete Paperwork Guide.

Common Healthcare Mistakes

“Everyone living in Spain automatically has a health card.”

No. Healthcare entitlement and regional health-card registration still have to be administratively established.

“My padrón gives me public healthcare.”

No. It establishes municipal residence and address, not every healthcare entitlement.

“My CUE proves I am insured.”

No. CUE registration and healthcare entitlement are separate.

“My TIE gives me healthcare.”

No. The TIE documents immigration status, not the legal source of healthcare coverage.

“An EHIC is enough after I permanently move to Spain.”

Usually not. The EHIC is primarily intended for temporary stays. If another European state remains responsible after you move, an S1 may be the relevant registration document.

“Every pensioner moving to Spain needs Spanish private insurance.”

No. Many pensioners covered by European Social Security coordination obtain healthcare through an S1 instead.

“If I have an S1, I stay outside the Spanish health system.”

No. Once registered, you receive healthcare in Spain under the Spanish system. The distinction is primarily which country is financially responsible under the coordination rules.

“Public healthcare means every prescription is free.”

No. Pharmaceutical co-payments can apply.

Healthcare in Spain Checklist

Before moving

1. Determine which country is responsible for your healthcare.

2. Check whether you will be covered through Spanish employment, pension, benefits, an S1, beneficiary status or private insurance.

3. If another European country remains responsible, check whether you need an S1.

4. If your immigration route requires private insurance, confirm that the policy meets the immigration requirements.


After arriving

5. Complete the relevant residence and padrón registrations.

6. Register your S1 or other healthcare entitlement where required.

7. Check that Spanish Social Security recognises your entitlement.

8. Register with your autonomous community’s health service.

9. Obtain your Tarjeta Sanitaria Individual.

10. Confirm your assigned health centre and primary-care doctor.


Later

11. Update the health service if you move.

12. Review your coverage if you start working, stop working or begin receiving a pension.

13. Update beneficiary status when family circumstances change.

14. Do not assume that an old EHIC, S1 or private policy remains appropriate after your circumstances change.

Healthcare in Spain for Foreign Residents: The Short Version

Healthcare in Spain for foreign residents depends on the legal route through which the person is covered.

If you work in Spain, healthcare will commonly arise through Spanish Social Security.

If another EU, EEA or Swiss country remains responsible for your healthcare, you may need an S1.

Some family members can obtain healthcare as beneficiaries.

Some immigration categories require private insurance.

Your CUE, TIE and padrón can all be relevant pieces of your paperwork, but none of them should be confused with healthcare entitlement itself.

Once the entitlement is established, you normally register with your autonomous community’s health service and obtain your Tarjeta Sanitaria Individual.

Healthcare entitlement: Determines why Spain covers you.

INSS / Social Security: Important for recognising many national and cross-border entitlements.

S1: Used when you live in Spain but another participating state remains responsible for your healthcare.

Regional health service: Registers you locally and issues your health card.

TSI: Your practical identification card for the Spanish public healthcare system.

Official Sources

This guide was checked against current Spanish Social Security, Ministry of Health, EU and statutory information. Healthcare coordination can depend on your country of insurance, employment, pension and family situation, so check your individual entitlement before relying on a particular route.

Important: This is a general administrative guide, not individual healthcare, immigration, Social Security or legal advice. The authority responsible for your coverage can change if your employment, pension, residence or family circumstances change.