guides
Spanish Public Healthcare for Foreigners: Step by Step
How foreigners get Spain's public healthcare and a tarjeta sanitaria: the route for workers, S1 pensioners, visa holders and the convenio especial, step by step.
Foreigners get Spanish public healthcare by paying into Spanish social security (as an employee or as a self-employed autónomo), by bringing healthcare rights from another country with an S1 form or similar, or, after a year of legal residence, by buying in through the convenio especial. The Ministry of Health lists that last option at 60 euros a month under 65 and 157 euros from 65.
Once social security recognises your right, your regional health service issues the card, the tarjeta sanitaria individual. Getting there is paperwork in a fixed order: each step needs a document from the one before it, and the first depends on where you live. Below are the steps with realistic times and costs, and the traps for visa holders who wrongly assume they are covered.
Step 0: work out which route you are on
Do this before you book any appointment, since the route decides which office you visit and whether you apply at all.
| Your situation | How you get public healthcare | Do you need to apply? |
|---|---|---|
| Employee on a Spanish payroll | Your employer registers you with social security | No, it is automatic |
| Self-employed (autónomo) paying contributions | Your own registration with social security | No, it is automatic |
| EU or UK state pensioner | S1 form from your home country, registered with INSS | Yes, register the S1 |
| Spouse, partner or child of a covered person | Added as a beneficiary of the account holder | Yes, as a dependant |
| Non-lucrative visa holder | Private insurance; convenio especial possible later | Private first |
| Digital nomad visa, foreign employer | Depends on where you pay social security | Check your setup |
| Resident with no other cover | Recognition as a resident without resources, or convenio especial | Yes |
The legal backbone is Real Decreto-ley 7/2018, which restored healthcare to everyone residing in Spain regardless of nationality, after the 2012 cuts had left many foreign residents with emergency care only. "Residing" is the operative word. Tourists and people on a 90-day stay are outside the system and rely on the European Health Insurance Card, or on travel insurance that pays a private clinic.
Step 1: get your padrón (week 1, free)
Every route starts at the town hall. The empadronamiento registers you as living at an address, and the health centre will not give you a card for a neighbourhood the town hall does not know you live in.
You need your passport (or TIE) and proof that you live there, usually your rental contract. This is where renting and healthcare collide: in a short-term room or an Airbnb, or with a landlord who refuses to let you register, you are stuck until you sort the address.
Town halls are required to register foreigners who actually live in the municipality, but they will still ask for paperwork. Our guide to registering on the padrón walks through the documents and the awkward cases.
Time: often the same day in small towns; in Madrid or Barcelona the wait for an appointment can run to several weeks. Cost: free.
Step 2: NIE and residence document (weeks 2 to 8)
Your NIE number is your identity for the Spanish state. The physical TIE card, or the green EU registration certificate for European citizens, proves you live here legally. Most visa holders already have the NIE from their consulate; the TIE comes after arrival, at a police station, with fingerprinting and a small fee paid with form 790-012.
You do not always need the card in hand to move on. An employer can register you with social security using the NIE alone. For S1 pensioners and dependants, INSS will normally ask for the residence document, so book this appointment early.
Step 3: social security number (days, or zero effort)
The social security number (número de afiliación, often called NUSS) is not the same as your NIE, and confusing the two is the most common reason a health centre sends someone home.
Employees may never see the process, because the employer requests it, and autónomos get it when they register. Everyone else asks for it at a social security office (TGSS) or online with a digital certificate. It is free.
Step 4: INSS recognises your right (one day to two months)
This is the step that actually switches healthcare on, and it is the one that varies most.
Workers and people on a Spanish pension do nothing: INSS recognises the right automatically, as the official application form itself notes.
UK and EU pensioners with an S1. You request the S1 from your pension country first. For UK pensioners, gov.uk explains that you phone NHS Overseas Healthcare Services, receive the S1 at your Spanish address and then register it with INSS, at an office or online.
Bring the S1, the INSS application, passport, padrón certificate and residence document. Keep the original S1, because it also covers UK-funded treatment on visits home.
Anyone else with no other cover files the INSS application as a resident. The form spells out the condition that trips people up: you must not have cover through any other channel, including the right to export healthcare from your country of origin.
Dependants. A covered spouse, registered partner or children under 26 are added as beneficiaries on the same form, with proof of the relationship. For non-Spanish marriage or birth certificates, plan for an apostille and a sworn translation, which is where most families lose a month.
Expect an answer in a few days for simple employee cases and up to two months for S1 or resident applications, especially in summer. The resolution letter is the document you take to the next step.
Step 5: register at your health centre and get the card (week 1 after INSS)
Go to the centro de salud that corresponds to your padrón address. Bring:
- Passport or TIE
- Padrón certificate (some centres want a recently issued one)
- Social security number or the INSS resolution
- For dependants, the INSS document listing them
Several regions now do this through their health service website or app. You are assigned a family doctor (médico de cabecera) and, for children, a paediatrician. Many centres hand you a provisional document on the spot, which you can use straight away, and post the plastic card a few weeks later.
The card is regional: move from Valencia to Madrid and you register again in the new region after updating your padrón. Emergency care works anywhere in Spain in the meantime.
Step 6, if you are on a visa without work: insurance now, convenio later
If you hold a non-lucrative visa, you do not pay into Spanish social security, so steps 3 and 4 give you nothing. You had to buy private insurance to get the visa, and you keep it.
The Spanish consulate in Melbourne's checklist for the non-lucrative visa is typical: a policy from an insurer authorised in Spain, covering at least 30,000 euros for the full first year, without co-payments or waiting periods and not on a reimbursement model. Travel insurance does not qualify, and renewals usually ask for the same standard. Our non-lucrative visa rental guide covers the income side of the same application.
After a year of continuous legal residence you can apply for the convenio especial with your regional health service. In the Basque Country, for example, the regional procedure requires that year of residence, current padrón in the region and no access to public healthcare through any other route.
The catch, as the Basque page spells out, is that the convenio covers the basic common portfolio of the national health system but not pharmacy. You pay full price for prescriptions, plus prosthetics and non-urgent ambulance transport.
A healthy 50-year-old will usually find 60 euros a month plus full-price medicines cheaper than private premiums. Over 65 with regular prescriptions, compare the 157 euros a month with the private quote before switching.
Digital nomad visa holders split in two. Autónomos in Spain and anyone on a Spanish payroll contribute, so steps 3 to 5 apply as for any worker. Work for a foreign company while staying in your home country's social security system, and you are not covered by default and need private insurance. The digital nomad visa rental guide explains how that choice also affects what landlords see on your file.
What it costs in total
An employee pays nothing beyond the TIE fee and a few afternoons in waiting rooms. S1 pensioners add a sworn translation or two if dependants are involved, and patience. Non-lucrative visa holders carry private insurance in year one, then either stay private or pay 60 to 157 euros a month through the convenio, plus medicines.
The cost nobody budgets is the address: without a rental contract that lets you register on the padrón, none of the steps above start. If you are still flat hunting, our guide to renting in Spain as a foreigner explains how to get a contract you can register with, and British readers will find the post-Brexit specifics in renting in Spain as a UK citizen.
Book your padrón appointment the day you sign the lease. Everything else waits on that piece of paper.
