Health

Headaches: Types, Causes, and Comprehensive Prevention Strategies

A glass of water on a white tablecloth in the sunlight

Almost everyone gets headaches, which is exactly why they are so badly understood. The World Health Organization estimates that headache disorders affect about 40% of the world's population, some 3.1 billion people in 2021, and a 2022 review of 357 studies found that 15.8% of people have a headache on any given day. Something that common gets treated as background noise, by the people who have it and often by the health systems that could help. The same WHO page calls headache disorders under-recognised and under-treated throughout the world.

This is a guide to telling the main types apart, to what is actually known about causes and triggers, and to the few prevention habits with something behind them. The last section lists the signs that mean you should stop reading and call someone.

The main types, and how to tell them apart

Doctors sort headaches into two families. Primary headaches are the condition itself: nothing else is causing them. Secondary headaches are a symptom of something else, from a cold to, rarely, something serious. The international classification runs to hundreds of entries, but four types account for nearly all of the burden.

  • Tension-type headache. The commonest by far: an estimated 1.89 billion people in 2016. WHO describes it as pressure or tightness, often like a band around the head, sometimes spreading into or from the neck. Attacks usually last a few hours. Unpleasant, rarely disabling.
  • Migraine. About 1.04 billion people in the same study, and far more disabling: it attributes 45.1 million years lived with disability to migraine in 2016, against 7.2 million for tension-type headache. An attack usually lasts 4 to 72 hours and comes with nausea, vomiting or sensitivity to light and sound. It is more common in women and tends to run in families.
  • Cluster headache. Rare, fewer than 1 in 1,000 adults and six men for every woman, and notoriously severe: brief attacks, up to several times a day, centred in or around one eye, with tearing and redness.
  • Medication-overuse headache. The most common secondary headache, and the one most worth knowing about, because it is caused by the cure. It has its own section below.

The practical test is the pattern, not the pain score. Where is it, how long does it last, how often does it come, and what comes with it? Those four answers are most of what a doctor needs.

Causes and triggers: what is actually known

Here the honest answer is less satisfying than most articles admit. For migraine, the NHS says plainly that it is not known what causes it, only that it involves changes to nerves and blood vessels in the brain and that it is more likely if a close relative has it. What people can often identify are triggers: things that make an attack more likely in someone already prone to them.

The lists are unglamorous. For headaches in general, the NHS names a cold or flu, stress, drinking too much alcohol, bad posture, eyesight problems, not eating regular meals, not drinking enough fluids, taking too many painkillers, and periods or the menopause. For migraine attacks it adds anxiety and depression, tiredness, too much caffeine and not getting enough regular exercise. For tension headaches: stress, sleep problems and caffeine.

Two cautions before you start cutting things out. First, triggers are personal: a list tells you where to look, not what you will find. Second, memory is a poor instrument. We remember the glass of wine before the migraine and forget the forty evenings when wine did nothing. That is why the NHS suggests keeping a headache diary, and why the NICE guideline for doctors uses one as a diagnostic tool. A few weeks of dates, duration, meals, sleep and what you took is dull to keep, and it is the single most useful thing you can bring to an appointment.

The painkiller trap

The least intuitive fact about headaches is that the pills can cause them. Medication-overuse headache is, by WHO's account, the most common secondary headache disorder and may affect up to 5% of some populations. By definition it is there on more days than not, and it is often at its worst on waking.

The NICE guideline tells doctors to suspect it when a headache has developed or worsened in someone who, for three months or more, has taken triptans, opioids, ergots or combination painkillers on 10 or more days a month, or paracetamol, aspirin or an anti-inflammatory on 15 or more days a month. The international criteria add the hopeful part: it usually, though not always, resolves once the overuse stops.

The practical upshot is simple. If you are reaching for painkillers for headaches on more days than not, month after month, that is a reason to see a doctor, not to buy a bigger box. Stopping is something to plan with a professional, especially for prescribed medicines.

Prevention: what is worth trying

Nothing here is a cure, and the evidence for lifestyle measures is more modest than their popularity. But they are cheap, safe and aimed squarely at the triggers above. WHO itself lists simple lifestyle modifications, alongside accurate diagnosis and cost-effective medication, as part of proper care.

  • Keep things regular. The NHS advice is mostly about rhythm: do not skip meals, and do not sleep more than you usually would, because it can make a headache worse. Regular hours matter more than long ones; our guide to better sleep covers the basics.
  • Drink water, go easy on alcohol. Both are on the NHS list of things you can do yourself.
  • Keep caffeine steady. Caffeine appears among the triggers for both migraine and tension headaches. If you drink coffee, a moderate, consistent amount is easier on the head than feast and famine.
  • Take stress seriously. It is on every list above. Relaxation is not a soft extra here; whatever reliably brings your stress down is headache prevention.
  • Rest your eyes. The NHS warns against straining your eyes for a long time, for example by looking at a screen, and lists eyesight problems as a common cause. Regular breaks from the screen help, and if it has been a while, an eye test is worth having.
  • Move. Not getting enough regular exercise is on the NHS list of migraine triggers.

If attacks are frequent or severe, prevention is also a medical matter. Preventive medicines exist, and deciding whether they suit you is a conversation to have with a doctor, diary in hand.

When to get medical help

Most headaches are not serious. Some are, and the difference is usually in what comes with them. The NHS advises seeing a doctor if a headache keeps coming back, or is not getting better or is getting worse despite treating it yourself.

It advises asking for urgent medical advice for a headache with vision or eye problems, one that is triggered or made worse by coughing, sneezing, bending down or exercising, one that comes with vomiting, or one with jaw pain when eating or a sore, tender scalp.

And it treats the following as an emergency (999 in the UK; use your own country's emergency number). A headache that:

  • started suddenly and is extremely painful;
  • comes with numbness or weakness in the body or face, or difficulty speaking, balancing, walking or remembering things;
  • comes with a seizure, drowsiness, confusion or loss of vision;
  • follows a head injury in the last three months;
  • comes with a very high temperature, a stiff neck, bright lights bothering you, or a rash that does not fade when a glass is rolled over it.

If you are unsure, ask. That is what urgent-advice lines are for.

The bottom line

Headaches are common enough to be ignored and disabling enough that they should not be. The useful moves are unexciting: learn which type you get, keep a diary long enough to see your own pattern, steady the basics of sleep, meals, water and caffeine, and count the days you take painkillers. If they come often, get worse or change character, see a doctor. Treatment exists, and by WHO's account many of the people troubled by headaches never receive it.