Public healthcare in Spain for foreigners: how to access it in 2026
What nobody tells you when you arrive: healthcare in Spain isn't automatic
You arrive in Spain, you get sick, and you have no idea where to go or what documents to bring. This happens to thousands of people every year. The Spanish healthcare system is great — it's considered one of the best in the world — but getting access to it involves specific steps that nobody explains on the plane.
This guide is for you: so you know exactly what you need, when you can apply, and what to do if you don't have your papers yet.
The most expensive mistake: waiting until you have your NIE to register your address
The most common trap is thinking you need your NIE or valid papers to register on the municipal census (empadronamiento). Not true. You can register even if you're undocumented. All you need is an identity document (passport) and proof of your address.
Why it matters: your municipal registration is the key to getting into the healthcare system. Without it, you can't apply for your health card. And every month you spend without registering is a month that won't count toward proving how long you've been living in Spain.
Who's entitled to free public healthcare?
It depends on your situation. Here's a quick breakdown:
| Situation | Healthcare access | Document you need |
|---|---|---|
| You work and pay into Social Security | Full and free | NIE/TIE + Social Security number |
| Legal resident without work (non-lucrative visa, student…) | Requires private insurance or a special agreement | TIE + municipal registration |
| Undocumented, registered for 3+ months | Access via responsible declaration (new 2026 decree) | Municipal registration + responsible declaration |
| Under 18 (any situation) | Full and free, immediate | Passport + municipal registration |
| Pregnant woman (any situation) | Pregnancy, birth and postpartum covered | Identity document |
| EU citizen visiting or newly arrived | Temporary coverage with European Health Insurance Card | European Health Insurance Card (EHIC) |
How to get your health card: the exact steps
Step 1. Register at your local council. Bring your passport and proof of address (rental contract, utility bill, or a letter from your landlord). Keep your registration certificate safe: it needs to be less than 30 days old when you use it for any admin processes.
Step 2. If you work and pay into Social Security, apply for your Social Security number (NUSS) at the General Treasury of Social Security. With that number, head to your local health centre and apply for your health card.
Step 3. If you're not working but you've been registered for at least 3 months, go to your nearest health centre. Speak to the social worker. Show your municipal registration certificate and a responsible declaration stating that you don't have healthcare coverage through any other means.
Step 4. You'll receive a provisional receipt that lets you see a doctor while your permanent card is on its way. The physical card arrives within 2 to 6 weeks at your home address.
If you're undocumented: you do have rights
Here's something a lot of people don't know, and it could change everything for you: being undocumented doesn't lock you out of public healthcare in Spain.
Under the new Royal Decree passed in 2026, if you're undocumented you simply need to submit a responsible declaration stating that you don't have healthcare coverage through any other means. From that very moment, you receive a provisional document giving you immediate access.
On top of that, regardless of your situation, you automatically have access — no paperwork needed — to:
- Emergency care for serious illness or accidents
- Pregnancy, birth and postpartum care
- Full care for children under 18
- Care for victims of gender-based violence
- Asylum seekers or those applying for international protection
Emergencies: nobody can turn you away
In an emergency, go to the nearest public hospital. You don't need a health card or NIE to be seen in A&E. Spanish law guarantees immediate care in urgent situations regardless of your immigration status.
What nobody tells you: in A&E they won't ask for your papers before treating you. They may ask for documentation