Headache is one of the commonest side effects listed for almost any medicine, which makes the list unhelpful on its own. Three things are worth separating out: medicines that cause headache directly through a clear mechanism, the headache caused by treating headache, and the small number of situations where a headache on a medicine needs urgent assessment rather than a painkiller.
Medication-overuse headache
The most important, because the treatment is the cause and nobody suspects it.
Taking acute painkillers or triptans frequently for headache leads to a daily or near-daily headache sustained by the medication itself. It typically feels different from the original headaches - duller, more constant, present on waking.
The thresholds are roughly:
- Simple painkillers - fifteen or more days a month
- Triptans, opioids and combination painkillers - ten or more days a month
Opioids and codeine-containing combinations are the worst offenders, and codeine sits inside many over-the-counter products.
Treatment is withdrawal of the overused medicine, which makes headaches worse for one to two weeks before they improve - which is why it fails without warning and support.
Preventive treatment is usually started alongside, and gepants have not shown this effect, which is one of their advantages.
See rimegepant, sumatriptan and as-required medicines.
Medicines that dilate blood vessels
These cause headache by a predictable mechanism - the same vessel widening that produces the therapeutic effect also affects the head.
Nitrates - very common and sometimes severe. With sprays it is brief; with patches and ointment it can persist, though it usually settles over one to two weeks as tolerance develops to that effect specifically. Paracetamol helps meanwhile. See glyceryl trinitrate.
Calcium channel blockers, particularly amlodipine and nifedipine, early in treatment.
Sildenafil and similar drugs, where headache and flushing are the commonest side effects. See sildenafil.
Dipyridamole, which causes headache severe enough that people abandon it - starting low and building up helps.
Hydralazine and minoxidil.
Most of these improve over the first weeks, which is worth knowing before deciding the medicine is intolerable.
Withdrawal headaches
Caffeine is the commonest cause of headache in the general population that nobody counts as a drug effect. Cutting down abruptly produces headache within a day, peaking over two to three days.
That matters when someone is told to reduce caffeine for another reason - reduce it gradually. It also explains the classic weekend headache in people who drink coffee at work.
See caffeine and your medicines.
Stopping steroids, opioids, benzodiazepines or antidepressants can all produce headache as part of withdrawal - see why you cannot just stop some medicines.
Other causes worth knowing
Proton pump inhibitors commonly cause headache.
Bisphosphonates, particularly with the first dose, as part of a flu-like reaction.
Montelukast, isotretinoin and several antibiotics.
Oral contraception and HRT, where headache pattern frequently changes - and migraine with aura alongside combined hormonal contraception is a specific safety concern worth raising.
Low sodium from diuretics or SSRIs causes headache alongside confusion and unsteadiness - see medicines that lower your sodium.
Dehydration on diuretics.
When a headache needs urgent assessment
Call 999 or seek emergency help for:
- A sudden severe headache reaching maximum intensity within seconds or a minute
- Headache with fever and neck stiffness or a rash
- Headache with weakness, numbness, confusion, slurred speech or visual loss
- Headache after a head injury, particularly on an anticoagulant
- Headache with a painful red eye, blurred vision and haloes around lights
See your GP promptly for a new headache pattern over the age of 50, headache that is worse lying down or on coughing, headache with scalp tenderness or jaw pain on chewing, or a headache that is progressively worsening over weeks.
A head injury on an anticoagulant deserves emphasis - bleeding inside the skull can be delayed by hours or days, and a headache developing afterwards needs assessment even if you felt fine at the time.
See medicines that make you bleed more easily.
Specific drug-related emergencies
Monoamine oxidase inhibitors with tyramine-containing foods cause a severe throbbing headache with a dangerous rise in blood pressure - this is an emergency.
Metronidazole or tinidazole with alcohol causes a throbbing headache as part of the disulfiram-like reaction.
Both are recognisable by their timing relative to the trigger.
What to do
Note when it started relative to any new medicine or dose change - the single most useful piece of information.
Count your painkiller days over a month. People consistently underestimate, and the number frequently explains everything.
Keep a headache diary recording headache days and treatment days separately - it is the most useful thing to bring to a review.
Do not simply escalate the painkillers. If headaches are becoming more frequent, more treatment is usually the wrong direction.
See keeping a side effect diary and medication reviews.
Related reading: Medicines That Change Taste and Appetite, with more on side effects and safety in Side Effects.