Public healthcare in Spain for foreigners: when you can join

By Jon Unzueta ·

Foreigners can use Spain's public health system if they work and pay Spanish Social Security, if another country pays for their care (for example a UK pensioner with an S1), or, after one year of residence, by paying into the public convenio especial for €60 a month (€157 from age 65). Having a residence permit is not always enough by itself.

Who is entitled under Spanish law?

Article 3 of Ley 16/2003 says foreigners who live in Spain have the right to healthcare. To get it free of charge, paid from public funds, a foreigner must be in one of these situations (art. 3.2):

People with rights under the EU social security rules or a bilateral agreement get care in the form those rules set (art. 3.1). Anyone who does not qualify can pay for public care through the convenio especial (art. 3.3).

The phrase in art. 3.2.c matters for visa holders. The non-lucrative permit requires you to have health insurance and to keep it to renew (Real Decreto 1155/2024, arts. 61 and 64). Read together, these rules mean that holding that permit does not on its own give you a public health card. That is our reading of the texts, and it matches the Ministry of Health, which presents the convenio especial as the option for economically inactive foreigners who must take out health insurance to live in Spain. Your regional health service makes the decision in your case.

The routes, side by side

Your situationRoute into the public systemCost
Employee or self-employed in SpainRegistration with Social Security (alta)Through your Social Security contributions
Digital nomad registered with Spanish Social SecuritySame as a workerThrough contributions
Digital nomad still covered by home social securityNo Spanish route while that lasts; private insurancePrivate premium
UK State Pension holder living in SpainS1 from the UK, registered with the INSSPaid by the UK
EU/EEA/Swiss pensioner paid by another member stateS1 or equivalent certificate from that statePaid by that state
Not working, no pension entitlement, 1+ year in SpainConvenio especial with your regional health service€60 a month (under 65), €157 (65+)
Not working, less than a year in SpainNone. Private insurancePrivate premium
Student from the EU/EEA, Switzerland or the UKEHIC or UK GHIC for necessary care during studiesFree at the point of use for necessary care
Student from elsewhere (for example the US)None while studying, unless registered with Social Security for a job. Private insurancePrivate premium

Working in Spain

If you work in Spain, employed or self-employed, you are registered with Social Security and get state healthcare on the same basis as a Spanish worker, as the UK government's guidance puts it. For the digital nomad visa, one.gob.es says that applicants registered with Spanish Social Security do not need to show private insurance. If your employer keeps you in your home country's system under a social security agreement, you are not paying into Spain's, so you will need private cover. Check the salary calculator to see what Social Security costs from your pay.

UK pensioners: the S1

If you receive a UK State Pension (or another exportable UK benefit) and live in Spain, the UK can pay for your Spanish state healthcare through an S1. According to GOV.UK:

  1. Request the S1 application by phone from Overseas Healthcare Services, part of the NHS Business Services Authority.
  2. Register the S1 with the INSS (Instituto Nacional de la Seguridad Social). This can be done online.
  3. Register at your local health centre.

You generally cannot get an S1 if you also receive a pension from Spain, because Spain is then responsible for your healthcare. The S1 is also useful for visas: the London consulate accepts a receipt of S1 registration as the health insurance for the non-lucrative visa, and London and Manchester accept a registered S1 for the digital nomad visa.

The convenio especial: paying into the public system

This is a public scheme you pay for monthly, regulated by Real Decreto 576/2013 and run by each region's health service (INGESA in Ceuta and Melilla).

ConditionDetail
ResidenceAt least one continuous year of actual residence in Spain right before applying
PadrónRegistered in a municipality of the region where you apply
No other public coverYou cannot have access to public healthcare by any other title
Fee€60 a month under 65; €157 a month at 65 or over. Regions can increase it if they add services
What it coversThe public system's basic common services: primary and specialist care, outpatient and hospital, and urgent medical transport
What it does notPrescription medicines at the pharmacy (you pay 100%), orthotics and prosthetics, dietary products and non-urgent transport

The Ministry of Health describes it as aimed at economically inactive foreign citizens who need health cover to live in Spain. If you want to use it for a residence permit renewal, confirm with your immigration office that it will accept it. The ministry page also says residence in another EU or EEA country, Switzerland or the UK counts towards the one-year rule; ask your regional health service how it applies this.

What if you do not qualify yet?

You need private insurance, which is also what most consulates ask for anyway. Check your visa's exact conditions in the visa health insurance checker.

Sources

FAQ

Can a foreigner use public healthcare in Spain?

Yes, through one of these routes: working in Spain and paying Social Security, holding an S1 or another EU or bilateral entitlement from the country that pays your pension, or, after a year of residence, paying into the convenio especial. Living in Spain legally is not always enough on its own.

Do non-lucrative visa holders get public healthcare?

Not just by living in Spain. The health law gives free public care to legal residents who do not have to prove health cover by another route, and the non-lucrative permit requires you to have health insurance. The usual routes are an S1 if you receive a UK State Pension, or the convenio especial once you have lived in Spain for a year.

How much does the convenio especial cost?

€60 a month if you are under 65 and €157 a month if you are 65 or over, under Real Decreto 576/2013. Regions can charge more if they add services. Prescription medicines are paid in full.

Can UK pensioners still use the S1 in Spain?

Yes. If you receive a UK State Pension and live in Spain, you can ask the NHS Overseas Healthcare Services for an S1 and register it with Spain's National Social Security Institute (INSS). You generally cannot get one if you also receive a Spanish pension.