How to Use the Spanish Public Health System (Sanidad)

A guide to using the Spanish public health system in Madrid. Learn about eligibility, registering at local health centers, and getting prescriptions.

Accessing public healthcare is a key part of settling in Spain. This guide explains how to use the Spanish public health system in Madrid.

You will learn how the system works, who is eligible, and how to get care. Recommended steps to register and book appointments are detailed below.

Who is eligible for Spanish public healthcare?

Public healthcare is available to all residents who pay social security contributions in Spain. The Spanish term for social security is seguridad social (social security).

Eligible residents include employed workers, self-employed freelancers, and pensioners. Their registered dependents are also covered.

The Spanish term for social security contributions is cotizaciones a la seguridad social (social security contributions).

State-funded coverage is also granted to pregnant women, students under 28, and children. You need an individual health card to access these services.

The Spanish term for this card is tarjeta sanitaria individual (individual health card).


Primary care at the local health center

Your local health center is your first point of contact for non-emergency medical care. The Spanish term for this center is centro de salud (health center).

When you register, you are assigned a primary care physician. The Spanish term for this doctor is médico de cabecera (family doctor).

Your family doctor performs checkups, diagnoses basic illnesses, and manages routine health checks. They also issue medical certificates.

You should register as soon as you settle in your permanent home. This ensures you can access medical support quickly if you fall ill.

We recommend booking appointments in advance. If your assigned doctor is unavailable, you can see a duty doctor for urgent needs.

How to find English-speaking doctors in Madrid


Accessing specialists and hospital care

You cannot book appointments with public specialists directly. You must get a referral from your assigned family doctor first.

The Spanish term for a referral slip is volante de derivación (referral slip).

The family doctor will submit the request to the specialist department. The Spanish term for a specialist doctor is médico especialista (specialist doctor).

For emergencies, you should go directly to the emergency department of the nearest public hospital.

The Spanish term for emergency services is urgencias (emergency services). You do not need a referral for emergency care.


Public pharmacy and medication subsidies

Public healthcare covers a large portion of prescription medication costs. Public doctors issue prescriptions electronically.

The Spanish term for this system is receta electrónica (electronic prescription).

You must present your health card at the pharmacy to purchase subsidised medicines. The amount you pay depends on your employment status and income.

The Spanish term for this copayment is copago (copayment). Standard workers pay between 40% and 60% of the medication price.

Example: A medication costs €20 at the pharmacy. Under the public system, your subsidy rate is 60%. You only pay €8 at the counter, and the state covers the remaining €12.

Health insurance in Spain: public vs private


Registration costs and funding

The public health system is funded through general taxation and monthly social security contributions. There are no fees at the point of service.

Service Public Healthcare Cost Details
GP consultation Free Covered by social security
Specialist consultation Free Referral from GP required
Emergency hospital visit Free Available at any public hospital
Hospital surgery Free Standard ward stay included

You will not receive a bill after visiting a public hospital or clinic. All consultations, tests, and surgeries are fully covered.


Step-by-step: How to register for public healthcare

Follow these steps to register for the Spanish public health system.

  1. Obtain a social security number from the social security office.

  2. Register your address at the local town hall to get your registration certificate.

  3. Locate the public health center that corresponds to your residential zone.

  4. Visit the health center reception desk and present your documents.

  5. Receive your temporary paper health card with your assigned doctor’s name.

  6. Use your temporary card to access services immediately while waiting for the plastic card.

  7. Collect your permanent plastic health card from the health center or post.


Checklist: What to bring to the health center

Prepare these items before you visit your health center to register:

  • Passport : Your valid national identity document.
  • TIE or NIE certificate : Your Spanish foreign identity card or paper certificate.
  • Affiliation document : The social security document confirming your registration.
  • Padrón certificate : The Spanish term for this registration certificate is volante de empadronamiento (registration certificate).
  • Application form : The completed registration form from the health center.

The social security affiliation document is called the documento de afiliación (affiliation document).

How to get a NIE in Spain


Public versus private healthcare pathways

This table compares how patients use the public and private healthcare systems in Madrid.

Pathway step Public health system Private health system
First doctor visit Assigned GP at local center Free choice of GP at private clinic
Specialist care Referral required from GP Direct booking with specialist
Medication cost Subsidised (pay 10% to 60%) Full price paid out of pocket
Hospital room Shared ward with other patients Private room with ensuite

The public system is excellent for complex treatments and emergency care. The private system offers shorter waits and more English support.


Questions and answers

Is the public health system free for everyone?

No. It is funded by social security contributions, so you must work or register as a dependent.

Can I use the public system if I do not work?

Yes, under certain conditions. You can register if you have a state pension, receive benefits, or pay a voluntary monthly contribution.

How do I book a public GP appointment?

Online, via an app, or by phone. You can use the Madrid health portal to book your appointment.

The Spanish term for this online booking system is cita previa (prior appointment).

Do I need to pay for emergency treatment in Spain?

No. Emergency services are free for everyone at public hospital emergency rooms.

Can I choose my public hospital?

Yes. Madrid allows patients to select their preferred hospital and specialist doctor under the free choice law.

The Spanish term for this free choice is libre elección (free choice).

Does the public system cover dental care?

Only emergency extractions. Standard cleanings, fillings, and orthodontics are not covered.

Can a private doctor write a prescription for the public system?

No. Public pharmacies only subsidise prescriptions issued by public system doctors.

How long does the health card take to arrive?

Between two and four weeks. You will use a temporary paper document until the plastic card arrives.

What should I do if I lose my public health card?

Request a replacement. You can ask for a duplicate card at your local health center reception.

Can temporary visitors or tourists access public healthcare?

Only for emergencies. Non-residents must present a European Health Insurance Card (EHIC) or pay out-of-pocket fees.


Thanks for reading

Did this guide help you? Consider donating €5 to support my work.

Tip Jar

Living in Madrid

Personal Finance

Housing