You are in Spain and you need a medicine. Maybe your tablets are at home, a cough will not settle, or a friend swears a Spanish pharmacy will sell you antibiotics if you ask. Here is how it works. Medicines are dispensed in a pharmacy (farmacia), and the pharmacist can sell and advise on anything non-prescription. A prescription-only medicine needs a prescription. Antibiotics included.
This article is general information, not medical or legal advice. It cannot tell you what you have or which medicine is right for you. If you are worried about your symptoms, speak to a doctor.
What a Spanish pharmacy is
Spanish law gives pharmacies a role that supermarkets and general shops do not have. Keeping and dispensing medicines for human use belongs only to legally authorised pharmacies open to the public, and to hospital and health-centre pharmacy services. A pharmacist must be present and professionally involved whenever medicines are dispensed to the public. Assistants can help, but they do not replace the pharmacist.
My advice: treat the person behind the counter as the health professional they are. Describe the problem, say which medicines you already take, and ask what is suitable.
What you can get without a prescription
The Spanish medicines agency, AEMPS, classifies every medicine as either subject to medical prescription (sujeto a prescripción médica) or not.
Non-prescription medicines are meant for conditions that do not need a precise diagnosis. The law describes them as medicines for self-care, dispensed in a pharmacy by a pharmacist who informs, advises and instructs you on their correct use.
Something you buy freely at home may need a prescription in Spain. Ask the pharmacist; that is what they are there for.
What needs a prescription
The pharmacist has to follow the conditions of the prescription.
The Spanish regulation on prescriptions adds a few practical rules. A prescription is valid across the whole of Spain.
Can I buy antibiotics over the counter in Spain?
Plan on needing a prescription. Do not count on stories from friends or old forum posts.
Spanish health authorities and the pharmacists' council run campaigns in pharmacies on the risks of using antibiotics without a prescription. European public health advice is the same: take antibiotics only when a doctor has prescribed them, and do not keep or reuse leftover courses.
There is a medical reason too. Antibiotics work only against bacteria, and they do nothing for colds or flu. Whether you need one is a doctor's decision. So the pharmacy is where you go after a doctor has decided you need an antibiotic. Not before.
Using a prescription from home
From another EU country
A prescription written by a doctor in one EU country is valid in all the others. Spanish regulation says the same: a prescription issued in another member state, for a medicine authorised in Spain, can be dispensed.
To be accepted, it should show the medicine by its common name, not only the brand. Brand names differ between countries, and a medicine sold at home may not be sold in Spain.
The pharmacist applies Spanish rules, and may decline to dispense if there are reasonable doubts about whether the prescription is authentic or valid. Expect to pay the full cost. Ask for a receipt, because your insurer at home may reimburse you.
Electronic prescriptions
If your prescription is electronic, ask your doctor for a paper copy before you travel. Spain takes part in the EU's cross-border e-prescription service, called Mi Salud@UE in Spain. It works only when your country exchanges e-prescriptions with Spain and the pharmacy you visit offers the service. You will be asked for photo ID. Some products are excluded, including narcotic and psychotropic medicines and compounded formulas. Check before you travel whether the service covers your country and the Spanish region you are visiting.
Controlled medicines are the exception
EU recognition does not extend to medicines that need a "special medical prescription", the legal category for tightly controlled medicines. In Spain, a pharmacist dispensing narcotic or psychotropic medicines must check and record the identity of the person collecting them. Do not expect a prescription from another country for a controlled medicine to be dispensed in Spain. If you travel with one, carry your doctor's letter.
From the UK and elsewhere
UK government guidance for visitors says a UK prescription can be used to get medicines in Spain. That page was last updated in September 2021, so check with the pharmacy before you rely on it.
Coming from the United States or another non-EU country? Plan on needing a prescription from a doctor who can prescribe in Spain.
Finding a pharmacy that is open
Pharmacies set their own hours, above an official minimum. Each autonomous community sets the rules for out-of-hours duty pharmacies (farmacias de guardia), so that there is always cover. The arrangement differs by region. Ask at your accommodation or at any pharmacy which one is on duty tonight.
Buying medicines online
Only non-prescription medicines can be sold online in Spain; selling prescription medicines online is prohibited. The sale must come directly from an authorised pharmacy through its own website, with a pharmacist involved and no intermediary. AEMPS publishes the list of pharmacies allowed to sell online at distafarma.aemps.es.
When a pharmacy is not enough
A pharmacy is for minor problems and for dispensing. See a doctor if you need a prescription-only medicine, if your regular medicine is running out, if symptoms are not improving, or if the pharmacist tells you to.
For an emergency in Spain, dial 112 and ask for an ambulance. The number is free and works everywhere in the EU.
Altheum is for non-emergency care. If you have severe symptoms — such as chest pain, difficulty breathing, signs of a stroke, heavy bleeding, or loss of consciousness — call 112 in the EU or 192 (SAMU) in Brazil, or go to the nearest emergency department.
What Altheum does
If the pharmacist tells you that you need to see a doctor first, a video visit is one way to do that without finding a local clinic.
Altheum offers online video consultations with English-speaking doctors for people in Spain, as well as Portugal, Italy, France and Brazil. The steps:
Open the booking page and choose the type of visit.
Pick the next available time with a doctor for the country you are in.
Pay online by credit card. Current fees are on the pricing page.
Join the video visit at your appointment time, with your medicine boxes or previous prescription to hand.
The visit can end in advice, a prescription, or a recommendation to be seen in person.
What is prescribed, if anything, is the doctor's clinical decision, under the rules of the country you are in. A visit does not guarantee a prescription, and Altheum does not prescribe opioids, benzodiazepines or other controlled medicines by video visit.
If your situation needs in-person care, we will help guide you to a local facility.
See also: healthcare in Spain for tourists, the prescription renewal guide and the guide to travel health insurance in Europe.
Book the next available online visit
FAQ
Do Spanish pharmacies sell medicines that supermarkets sell at home?
In Spain, medicines are dispensed by pharmacies, non-prescription ones included. If you are looking for a painkiller or a cold remedy, go to a pharmacy.
Will a Spanish pharmacy accept my prescription from home?
A complete prescription from another EU country can be dispensed if the medicine is authorised in Spain. Controlled medicines on special prescriptions are excluded. For prescriptions from outside the EU, ask the pharmacy, and be ready to see a doctor in Spain.
Written by Dr. Juliana Soares Linn, MD, MPH, MSc, DrPH, founder of Altheum.