Healthcare in Spain

Who is entitled to public healthcare in Spain

Editorial team Last reviewed 15 August 2026 Next review 15 November 2026

The short answer

Since 2018, the right to publicly funded healthcare in Spain has been attached to residence rather than to paying social-security contributions. Spanish nationals and foreign nationals with established residence hold the right directly. Separate rules cover people whose healthcare is payable by another country, and people in Spain without legal residence.

The rule that changed, and why it still confuses people

Publicly funded healthcare in Spain used to be framed around aseguramiento: being an insured person or the beneficiary of one, in the social-security sense. Fit neither category and you were outside the system.

The 2018 royal decree-law on universal access changed the basis of the right. The Social Security administration describes the effect in its own words: the reform detaches publicly funded cover from insured status and links it to residence in Spain, while preserving access for people who hold the right here under some other legal title.

Advice from before 2018, and from people who moved before 2018, is frequently wrong now for that reason. The question is no longer “do you contribute?” but “do you live here, and is anyone else legally obliged to pay for your care?”

The main routes, in plain terms

You are a Spanish national, or a foreign national with established residence in Spain. The law names exactly these two groups as holders of the right to health protection and healthcare. This is the ordinary route for most people who have moved here and hold residence.

Students arriving to study are a common version of this question, and the separate matter of what a policy needs to do for a young adult is covered in student health insurance.

You hold healthcare rights by another legal title. Entitlement can arrive through a different route altogether: the EU social-security coordination rules, evidenced by an S1 issued in the state that pays your pension, or a bilateral agreement Spain has signed. Access under this heading applies where no third party is obliged to pay for the care, which is pensioner and posted-worker territory. Where another country’s institution is liable for your costs, that arrangement governs instead of direct Spanish funding.

You work or have worked in Spain. Contributing is no longer the source of the right, but it remains the route through which many people’s entitlement is recognised and recorded. Our Social Security guide covers that process.

You reside here, hold no other cover, and no other route applies. The convenio especial, a paid subscription to the public system, exists for exactly this gap.

You are in Spain without legal residence. The law grants the right on the same conditions as Spanish citizens, but the funding conditions are narrow and the route is not automatic. It is for people with no other legal position, not an alternative to a residence-based one, and since March 2026 it has had a single national procedure.

The two conditions that catch people out

Almost every difficult entitlement case turns on one of two things.

Exportable rights. If you can export healthcare cover from another country, Spanish public funding is not the first port of call. That is not a penalty; it is the coordination system working as designed, and it is why applicants from countries with a coordination agreement must produce certification from that country’s institution.

Third-party liability. Where another party is legally obliged to pay — another state’s institution, an insurer, an employer’s scheme — that obligation is not displaced by Spanish public entitlement.

Neither condition asks whether you have other cover in a loose sense. Both ask whether someone else is legally obliged to pay. That is a narrower and more answerable question, and it is the one to put to the administration in writing.

Family members: each person, assessed separately

The single most common mistake international households make is assuming one adult’s position covers everyone. It does not. Since 2018 the right attaches to a person through residence or another legal title, so each family member has their own position and needs their own recognition and health card — including children.

The older beneficiario vocabulary has not vanished from every administrative process, and we are not going to describe a dependant route we have not verified against current procedure. What has gone is the assumption that family entitlement flows through one household member’s contributions. Ask the INSS what applies to each person in your household, and get the answer in writing.

A non-working spouse or partner with established residence usually holds entitlement in their own right, through residence rather than through the working partner’s record. Simpler than the pre-2018 position, but it still has to be recognised and registered.

Children need the same treatment. A child born in a Spanish hospital is not thereby registered for healthcare: the birth and the health-card registration are separate administrative acts, and children arriving with you need their own recognition too.

And a family member whose healthcare is another country’s responsibility follows that country’s route, not yours. If a spouse draws a pension from elsewhere, the coordination rules may make that state liable for their care even while you are contributing here.

What entitlement does not settle

Being entitled does not by itself get you seen. It has to be recognised and recorded, and your autonomous community then issues the health card, which is the subject of our registration guide.

Whether a residence permit obliges you to hold private insurance is decided under immigration rules, separately from your healthcare entitlement. The two are regularly conflated; satisfying one has no bearing on the other.

Entitlement also says nothing about waiting times, hospital choice or how you reach a specialist. Those are questions about how care is delivered rather than who may have it, and public versus private healthcare is where we take them up.

Check before you rely on a route

  • Confirm your own status in writing with the INSS or your regional health service rather than relying on what applied to someone else
  • If you hold healthcare rights from another country, check whether they are exportable before assuming Spanish public cover applies
  • Check whether a residence or visa condition separately requires you to hold private insurance, which is a different question from entitlement
  • Keep your empadronamiento current — several routes depend on it

How the public and private systems relate

Establishing your entitlement settles who pays for your public healthcare. Whether to hold private cover alongside it is a separate question: it is useful in some circumstances, and many people rely on their established public entitlement alone. Registration itself is linked below.

How the public and private systems relate

Sources & evidence

  1. Real Decreto-ley 7/2018, de 27 de julio, sobre el acceso universal al Sistema Nacional de Salud · Boletín Oficial del Estado dated 27 July 2018, in force 31 July 2018 · accessed 2026-08-15 · applies to: the whole of Spain · in Spanish · supports: holders of the right are all persons of Spanish nationality and foreign persons with established residence in Spanish territory (art. 3.1); persons holding healthcare rights by another legal title may access services where no third party is obliged to pay (art. 3.2 b); foreign persons not registered or authorised as residents hold the right on the same conditions, subject to the funding conditions in art. 3 ter Supports the substantive conditions directly. The procedural detail — declarations, evidence and processing — comes from Real Decreto 180/2026, not from this norm.
  2. Ley 16/2003, de 28 de mayo, de cohesión y calidad del Sistema Nacional de Salud (consolidated text) · Boletín Oficial del Estado dated 28 May 2003, consolidated text · accessed 2026-08-15 · applies to: the whole of Spain · in Spanish · supports: the articles amended by Real Decreto-ley 7/2018 that now govern entitlement (arts. 3, 3 bis, 3 ter)
  3. Real Decreto 180/2026, de 11 de marzo, por el que se regula el reconocimiento del derecho a la protección de la salud y a la atención sanitaria con cargo a fondos públicos de las personas extranjeras que encontrándose en España no tengan su residencia legal en el territorio español · Boletín Oficial del Estado dated 11 March 2026, published 12 March 2026, in force 13 March 2026 · accessed 2026-08-15 · applies to: foreign nationals in Spain without legal residence · in Spanish · supports: the recognition procedure only, for this specific route: application by declaración responsable with supporting documentation and the five declarations in the annex (art. 2.1); identity and habitual-residence evidence, with empadronamiento primary and listed alternatives (art. 2.3-2.4); certification from the competent foreign institution where international coordination rules may apply (art. 2.1); processing by the competent regional unit or INGESA, provisional document on application, three-month maximum and positive silence for applicant-initiated files (art. 3); loss of effect and recoverability of costs where the declaration is materially inaccurate (annex) Supports the procedure for foreign nationals without legal residence. It is not a general eligibility test for foreign residents, and does not support any wording applying these declarations to other entitlement routes.
  4. Asistencia sanitaria — Prestaciones y pensiones de trabajadores · Seguridad Social (Ministerio de Inclusión, Seguridad Social y Migraciones) accessed 2026-08-15 · applies to: the whole of Spain · in Spanish · supports: the administration's own statement that Real Decreto-ley 7/2018 detaches publicly funded cover from social-security insured status and links it to residence in Spain

How we source and review claims: sources & review policy. Reviewed 15 August 2026 · next review 15 November 2026.