Walk into a Spanish farmacia in the middle of a migraine and ask for sumatriptan, and you will be told the same thing every time: you need a receta médica — a prescription. Triptans, the class of medication that actually stops a migraine once it has started, are prescription-only in Spain. The pharmacy can sell you ibuprofen or paracetamol, but if you know from experience that those do not work for your migraines, you are stuck without the right treatment until you see a doctor. Understanding how migraine treatment in Spain works — and how to access it quickly — can be the difference between losing an afternoon and losing several days of your trip.
What Causes Migraines and How They Work
A migraine is not a headache. It is a complex neurological event that unfolds in stages across the brain. Scientists now understand that migraines begin with abnormal electrical activity in the cortex — the outer layer of the brain responsible for processing sensory information. A wave of hyperexcited nerve cells sweeps slowly across the cortex, followed by a wave of suppressed activity. This phenomenon, called cortical spreading depression, is what triggers the cascade of symptoms that make migraines so disabling.[1]
Think of it like a power surge moving through an electrical grid. The surge itself causes disruptions — visual disturbances, tingling, speech difficulties — as it passes through different brain regions. In its wake, it trips the circuit breakers, shutting down normal function in those areas temporarily. That wave also activates the trigeminal nerve, the main pain-signalling pathway of the face and head, which releases inflammatory chemicals around the blood vessels of the brain's protective covering (the meninges). This is what produces the throbbing, one-sided headache that most people associate with migraine.[2]
The reason standard painkillers like paracetamol often fail against migraines is that they only address the pain signal at the end of this chain. They do not stop the neurological cascade that is generating the pain in the first place. Triptans, by contrast, work upstream — they activate serotonin receptors (specifically the 5-HT1B and 5-HT1D subtypes) on those trigeminal nerve endings, which blocks the release of inflammatory chemicals and constricts the dilated blood vessels. That is why triptans feel qualitatively different from painkillers: they actually interrupt the migraine mechanism rather than just dulling the sensation.[3]
Travel is a well-documented migraine trigger. Changes in altitude, disrupted sleep schedules, dehydration during flights, alcohol consumption, strong sunlight, and the stress of navigating an unfamiliar country all lower the threshold for an attack. For people with a known migraine history, the question is rarely whether a migraine will occur on a longer trip — it is when. Arriving in Spain without access to your usual migraine treatment in Spain makes an already difficult condition significantly worse to manage.
Symptoms and Stages of a Migraine Attack
A migraine attack typically progresses through up to four distinct phases, though not everyone experiences all of them. The prodrome phase can begin hours or even a day before the headache. It often manifests as subtle changes: unusual fatigue, irritability, food cravings, neck stiffness, or increased yawning. Many people learn to recognise these warning signs over time, and they represent the ideal window for taking a triptan — before the headache phase fully develops.[4]
About one in four migraine sufferers also experience an aura phase, which usually lasts 20 to 60 minutes and immediately precedes the headache. Aura symptoms are neurological: flickering zigzag lines or blind spots in your vision, tingling that spreads up one arm, or temporary difficulty finding words. These symptoms correspond to the cortical spreading depression moving across specific brain regions. The aura itself is not dangerous, but it can be frightening — especially if you experience it for the first time while abroad and are unsure what is happening.[1]
Triptans taken within the first 30 to 60 minutes of head pain provide complete relief in up to 67% of patients. After two hours, that figure drops to roughly 40%. Speed is the single most important factor in migraine treatment.
The headache phase is what most people think of as the migraine itself. It typically lasts 4 to 72 hours without treatment. The pain is usually one-sided, pulsating, and moderate to severe. It worsens with physical activity — even walking or climbing stairs. Nausea affects up to 80% of migraine patients, and roughly a third experience vomiting, which complicates oral medication because the stomach empties more slowly during a migraine (a phenomenon called gastric stasis).[5] Sensitivity to light (photophobia) and sound (phonophobia) is near-universal, which is why most people retreat to a dark, quiet room. After the headache resolves, a postdrome phase can leave you feeling drained, foggy, and washed out for another day or two.
Prescription Medications for Migraine Treatment in Spain
The most effective medications for stopping an active migraine attack are triptans. If nausea is severe, an anti-sickness medication taken alongside the triptan helps ensure it is absorbed properly. Here are the specific medications a doctor in Spain can prescribe and how each one works.
Sumatriptan (Imigran)
Sumatriptan was the first triptan developed and remains the most widely prescribed. It works by activating serotonin receptors on the trigeminal nerve endings that drive migraine pain, blocking inflammation and constricting dilated blood vessels around the brain. In clinical trials, a 50 mg dose provides meaningful pain relief within two hours in approximately 60% of patients, with complete pain freedom in around 29%. A 100 mg dose increases pain freedom to roughly 34%.[3]
Rizatriptan (Maxalt)
Rizatriptan is a newer triptan with a slightly faster onset than sumatriptan. It is available as an orodispersible tablet (a wafer that dissolves on the tongue without water), which is especially useful when nausea makes swallowing a pill difficult. A 10 mg dose achieves pain freedom at two hours in approximately 40% of patients — one of the highest rates among oral triptans.[3] For patients who find sumatriptan too slow or insufficiently effective, rizatriptan is often the preferred alternative.
Metoclopramide (Primperan)
Metoclopramide serves a dual purpose during a migraine. It reduces nausea and vomiting directly, but it also speeds up gastric emptying — the rate at which your stomach passes its contents into the small intestine. During a migraine, gastric stasis slows absorption of any oral medication you take, which is one reason triptans sometimes fail. Taking metoclopramide alongside a triptan or painkiller helps ensure the medication reaches your bloodstream faster.[5]
Ibuprofen 400 mg
For mild migraine attacks, ibuprofen can provide meaningful relief — particularly if taken early. A 400 mg dose is available without a prescription in Spain and works by reducing the inflammation around the meningeal blood vessels. It is most effective for migraines that are mild to moderate in intensity and have not yet reached the vomiting stage. For more severe attacks, it is outperformed by triptans.[6]
What Spanish Pharmacies Can Offer Without a Prescription
Spanish farmacias are more clinically capable than pharmacies in many other countries, and the pharmacists are well trained. For migraines, what they can sell you over the counter includes ibuprofen (up to 400 mg), paracetamol (1 g), and aspirin. Some pharmacies also stock combination products containing paracetamol with caffeine, which has modest evidence for improving absorption during a migraine. You can also buy anti-nausea remedies such as dimenhydrinate (Biodramina) without a prescription. If you describe your symptoms — the word to use is migraña — the pharmacist may recommend a soluble or effervescent formulation, which absorbs faster than a standard tablet during an attack. Expect to pay between €3 and €8 for over-the-counter painkillers. What the pharmacy cannot do is sell you any triptan or metoclopramide without a receta médica. If standard painkillers are not enough for your migraines — and for most people with true migraines, they are not — you need a prescription from a licensed doctor in Spain.