Public healthcare in Spain as a foreigner: with papers, without papers, and emergencies
The first thing you need to know: healthcare in Spain is (almost) universal
Arriving in a new country and not knowing if you can see a doctor is one of the worst feelings. Fear of the bill, fear of being asked about your papers, fear of being told no. This article exists to make that fear disappear.
Since 2018, Spain reinstated universal healthcare with Royal Decree-Law 7/2018. That means, no matter where you’re from and whatever your administrative situation, you have the right to public medical care. The key is knowing how to activate that right.
The most expensive mistake: going to the ER without having processed your card
This is what nobody tells you and it can cost you dearly: if you go to the ER without having processed your access to public healthcare, some autonomous communities may try to charge you for the care.
The law protects you, but you have to have done the paperwork before. If you don’t have a health card or any credential, keep this in mind: process it before you need it. Don’t wait until you’re sick.
Your situation: which one is yours?
| Your situation | Access to healthcare? | What you need |
|---|---|---|
| With legal residence (TIE) and working | ✅ Complete and free | NIE + Social Security number + census registration |
| With legal residence, no job | ✅ Complete | TIE + census registration. Request the card at your health center |
| Without papers, registered on census for over 3 months | ✅ Complete and free | Passport + census certificate (min. 3 months) + DASE form or equivalent |
| Without papers, less than 90 days in Spain | ⚠️ Only emergencies, pregnancy, and minors | Show up at ER. Request a social services report if you can’t register yet |
| International student (over 90 days) | ✅ Access similar to Spanish | Census registration + university enrollment + passport |
Without papers but registered on census: how it works exactly
The law is clear. If you’ve been in Spain for more than 90 days and you’re registered on census, you have the right to healthcare under the same conditions as any Spanish person.
What many people don’t know is that you don’t need to go to Immigration or the Police. The process is done directly at the health center that corresponds to your home address, according to the census.
The three conditions you must meet:
- Being in Spain for more than 90 days (proven by census registration of at least 3 months).
- Not having healthcare coverage through another means — if your employer or a family member is obliged to pay for your healthcare, this route does not apply.
- Not being able to export the right from your country of origin — this mainly affects citizens of the EU, Chile, or Andorra.
How to process your health card step by step
If you have papers (legal residence + job):
- Go to your health center (CAP or Primary Care Center) with your TIE or NIE, Social Security number, and recent census certificate (less than 3 months).
- Ask them to assign you a primary care doctor and issue your Individual Health Card (TSI).
- They’ll give you a provisional receipt to use from the same day. The physical card arrives later.
If you don’t have papers (no legal residence):
- Register on the census at your town hall — you can do it even if you don’t have an NIE or residence permit. You only need a passport and a document proving where you live.
- Wait until you have the census registration for at least 3 months.
- Go to your nearest health center. Ask for the universal healthcare access form (in Madrid it’s called DASE; in other regions it has different names).
- Present: passport + census certificate + sworn declaration that you have no coverage through another means.
- They’ll give you a provisional credential document on the spot, which is valid while your case is being processed.
- The final document arrives within a maximum of 3 months.