As a newcomer to Spain, I had a bit of a cold and headache the other day and went to a pharmacy to buy some medicine. The experience was completely different from what I expected. All the medications were kept behind the counter, unlike many pharmacies I’m used to where you can just grab things off the shelf, and the pharmacist asked me a lot of questions. It seems the regulations for common medicines in Spain are quite strict here. So, I wanted to share what I’ve learned about Spain’s drug classification system as a heads-up for fellow newcomers. Seasoned expats are also welcome to add their insights!
Basic Classification of Medicines in Spain
In Spain, medicines are primarily divided into two main categories: non-prescription drugs and prescription drugs. This classification directly determines whether you can buy them directly from a pharmacy.

Non-Prescription Drugs
Also known as OTC (Over-The-Counter) drugs, these are medications you can purchase directly from a pharmacy without a doctor’s prescription. They are typically used to treat common, minor ailments like a common cold, mild pain, or indigestion. Common examples include low-dose versions of ibuprofen and paracetamol, as well as some cough syrups, vitamins, and allergy medications. Even though you can buy them directly, the pharmacist will still briefly ask about your symptoms to offer professional advice, which I find very helpful.
Prescription Drugs
As the name suggests, you must have a doctor’s prescription to purchase these drugs. They are generally used for treating more serious or chronic conditions, such as antibiotics, blood pressure medications, and insulin. If your doctor issues an electronic prescription, it will be recorded on your health card (tarjeta sanitaria). You just need to have your card scanned at the pharmacy, and the pharmacist can access the prescription details—it’s very convenient. If you don’t have public health coverage, a paper prescription works just as well. Don’t even think about trying to persuade the pharmacist; you absolutely cannot buy them without a prescription, as it’s required by law.
Other Special Categories of Drugs
Besides the two types above, there are a few other special categories. For instance, there are hospital-only medications, which can only be administered within a hospital and are not available in pharmacies. There are also drugs that require special medical supervision, which follow stricter purchasing and usage protocols even with a prescription. I’ve put together a simple table to help you understand quickly:
| Drug Type | How to Purchase | Common Examples |
| Non-Prescription Drugs | Directly at a pharmacy | Paracetamol, Ibuprofen, cough syrup |
| Prescription Drugs | With a doctor’s prescription | Antibiotics, blood pressure medication, most sleeping pills |
| Hospital-Only Drugs | For hospital use only | Certain cancer drugs, special injectables |
When buying medicine in Spain, 'following your doctor’s orders’ and 'listening to your pharmacist’s advice’ are key. For minor aches and pains, you can first consult a pharmacist at the pharmacy, as they are very professional. If the problem is more complex or doesn’t improve, don’t hesitate to make a doctor’s appointment. Have any of you had interesting or challenging experiences buying medicine in Spain? Feel free to share and discuss in the comments below!