This page is general information, not legal or medical advice.
Spain has a public health system, the Sistema Nacional de Salud (SNS), run by each region. How you get into it depends on why you are in Spain. Workers, pensioners and people with no other route each have a different path. Some visas also require private cover, at least at first.
Who is covered by the public system
Under article 3 of Ley 16/2003, foreign nationals who have their residence in Spain are among the people entitled to health protection.
To get care paid from public funds, a foreign national must have legal and habitual residence in Spain and must not be obliged to prove health cover by another route. That second condition is in article 3.2.c of the same law.
Some residence permits do oblige you to hold health insurance. The non-lucrative permit is one, as the Ministry of Inclusion's information sheet shows. More on that below.
In practice there are four common routes for new residents: working and paying Social Security, a pension from another country with an S1, the convenio especial, or private insurance.
If you work in Spain: Social Security
People who are employed or self-employed in Spain and pay Social Security contributions are "entitled to state healthcare on the same basis as a Spanish worker", according to GOV.UK's Spain healthcare guidance.
You need a Social Security number (NUSS) first. It identifies you to the Spanish Social Security system and becomes your affiliation number when you start your first paid job, as administracion.gob.es explains.
If you have no NUSS, your employer can request one through the RED system. You can also request it yourself through the TGSS portal or the Import@ss app (administracion.gob.es).
The Import@ss service asks for your identity details (DNI or NIE), a mobile number, an email address and your usual address. If you have no Cl@ve or digital certificate, you can apply with a selfie and a photo of your identity document. See our NIE guide if you do not have a NIE yet.
An employer must register you with Social Security before the job starts, and no more than 60 days in advance (administracion.gob.es).
Once you are covered, you can download a document that proves your right to public healthcare from the Social Security e-office, using Cl@ve, a digital certificate or an electronic DNI (Seguridad Social guide).
You then register at your local health centre (centro de salud), which issues the regional health card (tarjeta sanitaria). GOV.UK describes this step for S1 holders, and it is the same local step for other covered residents (GOV.UK).
If you draw a pension from another country: the S1
UK State Pension holders
If you get a UK State Pension and live in an EU country, "you and your dependants may be entitled to an S1", according to the NHS.
Some exportable UK benefits also qualify, such as contribution-based Employment and Support Allowance and Maternity Allowance (NHS).
You cannot get a UK S1 if you also receive a state pension from the country you live in. That country then covers your healthcare (NHS).
You apply to NHS Overseas Healthcare Services by phone on +44 (0)191 218 1999 or by email at s1applications@nhsbsa.nhs.uk (NHS).
You can apply up to 90 days before your move date. If you are not yet receiving your State Pension, you should wait until you are (NHS).
You must register the S1 at your local INSS office in Spain. The INSS then posts you a Spanish Social Security number, which you take to your local health centre (GOV.UK).
It is your responsibility to have cover while you wait for the S1 to be registered (NHS). Many people use private insurance for this gap.
A dependant who is eligible for their own S1 must apply separately (NHS).
When you move abroad you are no longer automatically entitled to NHS treatment in the UK, because the NHS is based on residence (NHS).
With a registered S1, you can get a UK-issued EHIC or GHIC for state-funded necessary treatment on visits to other eligible countries (NHS).
EU and EEA pensioners
If your pension comes only from another EU country, ask that country's health insurance institution for an S1 form. You then register it with the health insurance institution in Spain (Your Europe).
If you also receive a pension from Spain, Spain covers you, even if you receive pensions from other countries too (Your Europe).
US, Canadian and other non-EU pensioners
The S1 is a form under the EU social security rules described on Your Europe. A pension from the US, Canada or Australia does not give you one.
Medicare.gov says Medicare usually does not cover health care while you are outside the US, with some exceptions.
If you have no other route: the convenio especial
The convenio especial de prestación de asistencia sanitaria is a pay-in scheme that gives access to the public system. It is set out in Real Decreto 576/2013.
You must have lived in Spain for at least one continuous year before you apply (Ministry of Health). The year can also be in another EU or EEA country, Switzerland or the UK, according to the same page.
You must be registered on the padrón of your town when you apply (RD 576/2013, art. 3). See our padrón guide.
You must not have access to public cover by any other route (RD 576/2013, art. 3).
The monthly fee is €60 if you are under 65 and €157 if you are 65 or older (RD 576/2013, art. 6; Ministry of Health, both checked 26 November 2026).
Regions may increase the fee if they include extra services beyond the common basic package. The national amounts can also be revised by ministerial order (RD 576/2013, art. 6). Ask your regional health service for the current figure.
You apply to the health service of your region, or to INGESA in Ceuta and Melilla (Ministry of Health).
This scheme is different from the Social Security convenio especial used to top up pension contributions. The Ministry of Health page makes the same distinction.
GOV.UK lists the convenio especial, employee contributions and private insurance as the usual ways people prove healthcare cover in Spain (GOV.UK).
When private health insurance is mandatory
Several Spanish visas require health insurance before you can get the permit. This is where most new arrivals from the US, UK, Canada and Australia need a private policy.
Non-lucrative visa. Applicants need "un seguro público o privado de enfermedad concertado con una Entidad aseguradora autorizada para operar en España" (public or private health insurance with an insurer authorised to operate in Spain), per Hoja informativa 6 (updated May 2025).
To renew the non-lucrative permit, you must show that you kept health insurance during the permit, under article 64.2 of RD 1155/2024. Read more in health insurance for the non-lucrative visa and our non-lucrative visa guide.
Student visa. Article 35 of RD 1155/2024 requires health insurance with an insurer authorised in Spain, with benefits similar to the SNS common basic package, valid for the planned stay. See our student visa guide.
Digital nomad (international teleworker) visa. Article 62.3.e of Ley 14/2013 requires public or private health insurance with an insurer authorised in Spain. If you later pay into Spanish Social Security, you are covered as a worker. See our digital nomad visa guide.
Our health insurance hub sets out what each visa asks for and which policies state that they meet it.
Private insurance alongside public cover
Some people with public cover also buy private insurance, for example to choose English-speaking doctors. That is a personal choice. The visa rules above are the cases where cover is required.
Visitors and the EHIC
The EHIC is proof that you are insured in an EU country, for unplanned care during a temporary stay (Your Europe).
GOV.UK says students and people on temporary stays can use an EHIC or GHIC. Once you live in Spain, you need one of the routes above (GOV.UK).
A simple order of steps
- Before you move, work out your route: job, S1, or private cover.
- If your visa needs insurance, buy a compliant policy before you apply. Start at /health-insurance/.
- After you arrive, get your NIE or TIE and register on the padrón.
- Get your Social Security number, or register your S1 with the INSS.
- Register at your local health centre and get your tarjeta sanitaria.
- After a year on the padrón with no other route, you can look at the convenio especial.
Our moving to Spain checklist puts these steps on a timeline. If you want help with the paperwork, see what a gestoría does.