Spain

Seeing a doctor in Spain: médico de familia and referrals

In Spain your first contact is the médico de familia at your local health centre. You are linked to a centre through your address and health card. Your family doctor refers you to specialists and hospital care when needed.

Your health centre and family doctor

Public primary care happens in a centro de salud (health centre) or a smaller local surgery (consultorio).

Teams there include family doctors (médicos de familia), children's doctors (pediatras), nurses and admin staff.

Your address decides which health centre you belong to. If you move, your centre and doctor may change.

Choosing or changing your doctor

You can usually choose your family doctor within the rules of your region (libre elección).

In Madrid, you may ask to keep your current doctor after moving house. Ask at your health centre how this works where you live.

Booking an appointment

Each region runs its own booking system, usually by app, website, phone or at the health centre desk.

In Madrid, you can book online, by app (Cita Sanitaria Madrid), by phone or at a kiosk.

Madrid asks for your health card code, your date of birth and your DNI or NIE. A passport number cannot be used for booking there.

Some appointments, such as planned check-ups or home visits, are booked by phone or in person.

  • Find your health centre's phone number on the back of your card (in Madrid)
  • Appointments can be with a doctor or a nurse
  • Madrid also lets you ask for a phone consultation

Seeing a specialist

Your family doctor decides if you need a specialist or hospital tests.

Apart from emergencies, hospital treatment in the public system needs a referral from a doctor.

When the health centre is closed

Each region runs urgent care services outside normal hours. Many of these services are based in primary care centres.

The names of these services differ by region. Your health centre or regional health website will tell you where to go.

For a possible emergency, call 112 straight away.

Sources

Checked against official sources on December 2, 2026. Rules, fees and phone numbers can change. Check with the service before you rely on them.

This guide explains how to use the health system. It is not medical advice and cannot tell you whether you need care.