For general information only. This library does not replace advice, diagnosis or treatment from a qualified health professional. In an emergency, call 911.

Library / Conditions

Headache

A headache is pain anywhere in the head or face; most headaches are harmless and short-lived, but a few are a sign of a more serious problem.

Overview

A headache is pain or discomfort in your head, scalp, face or upper neck. The medical name is cephalalgia. Almost everyone has a headache at some point, and for most people it is a brief, annoying problem that goes away on its own or with simple pain relief.

Doctors sort headaches into two broad groups:

  • Primary headaches are not caused by another illness. The headache itself is the condition. Tension-type headache, migraine and cluster headache are the main types.
  • Secondary headaches are a symptom of something else, such as a cold or sinus infection, a hangover, a head injury, very high blood pressure, a side effect of a medicine or, rarely, a serious problem like bleeding in the brain or an infection of the brain lining (meningitis).

The good news is that about 9 in 10 headaches are primary headaches. They can be painful and disruptive, but they are not dangerous. Knowing which kind you have, and the warning signs that need urgent care, helps you manage headaches with confidence.

Types and symptoms

Tension-type headache

This is the most common headache. It usually feels like a dull ache, pressure or a tight band around your forehead, the sides or the back of your head. It is mild to moderate, does not usually get worse with normal activity, and does not cause vomiting. It can last from 30 minutes to several days.

Migraine

Migraine is a common brain condition that causes repeated attacks of moderate to severe headache. The pain is often throbbing and on one side of the head, and it often gets worse with movement. Many people also feel sick to their stomach (nausea), vomit, or are bothered by light, sound or smells. Attacks often last 4 to 72 hours. About 1 in 4 people with migraine have an aura first: temporary changes such as flashing lights, zigzag lines, blind spots, or tingling in the face or hand, usually lasting less than an hour.

Cluster headache

Cluster headache is much less common but very severe. It causes sharp, burning or stabbing pain around or behind one eye, often with a red, watery eye and a runny or blocked nostril on the same side. Attacks last 15 minutes to 3 hours, can happen up to several times a day, and tend to come in "clusters" lasting weeks, followed by pain-free months. People often feel restless and pace during an attack.

Medication overuse headache

Taking pain medicines for headache too often can make headaches more frequent. This is called medication overuse headache (or rebound headache). It typically shows up as a headache on most days in someone who uses pain relievers on many days each month.

Other common causes

  • colds, flu and other infections with fever
  • sinus infections, which cause pressure over the cheeks or forehead, usually with a blocked nose and thick discharge (many headaches people think are "sinus headaches" turn out to be migraine)
  • dehydration, skipped meals, lack of sleep or too much alcohol
  • stopping caffeine suddenly
  • a recent bump to the head
  • side effects of some medicines

Causes and triggers

Primary headaches come from how the brain, nerves and blood vessels of the head process pain signals. Researchers think a mix of genes and environment plays a part. Migraine, for example, often runs in families.

Things that can trigger a headache, or make one more likely, include:

  • stress, anxiety or tense muscles in the neck and shoulders
  • too little or poor-quality sleep, or a big change in your sleep routine
  • skipping meals or not drinking enough fluids
  • alcohol, especially red wine, and too much or too little caffeine
  • bright or flickering light, loud noise or strong smells
  • hormone changes, such as around a menstrual period
  • long periods of screen time or poor posture

Triggers are different for everyone, and not every headache has an obvious cause.

Rarely, a headache is caused by a problem that needs urgent treatment, such as a stroke, bleeding in or around the brain, meningitis, a brain tumour, a very high blood pressure, or a blocked or poorly working shunt in someone who has one for hydrocephalus (extra fluid in the brain).

Diagnosis

Most headaches can be diagnosed from a careful conversation and a physical check. Your doctor or nurse practitioner will ask:

  • where the pain is, what it feels like and how bad it is
  • how long each headache lasts and how often they happen
  • what other symptoms you have, such as nausea, light sensitivity or vision changes
  • what seems to bring headaches on or ease them
  • which medicines you take, and how often you take pain relievers
  • whether anyone in your family has migraine

They will check your blood pressure and do a neurological exam, which tests your vision, balance, strength, reflexes and coordination.

A headache diary can be very helpful. Write down the date, how long each headache lasted, how bad it was, what you were doing, what you ate and drank, any medicine you took, and, if it applies, where you were in your menstrual cycle.

Most people with typical headaches and a normal exam do not need a brain scan. A CT or MRI scan, blood tests or a lumbar puncture (a test of the fluid around the spine) may be needed if there are warning signs that point to a secondary cause.

Treatment

Easing a headache

For an occasional tension-type headache or mild migraine, over-the-counter pain relievers often work well, especially if taken early. Options include:

  • acetaminophen (also called paracetamol), which relieves pain and fever
  • ibuprofen, naproxen or aspirin, which are non-steroidal anti-inflammatory drugs (NSAIDs) that reduce pain and inflammation

Follow the label or your pharmacist's advice. NSAIDs are not right for everyone, for example people with stomach ulcers, kidney disease or some heart conditions. Aspirin should not be given to children and teenagers.

Treatment for migraine

If you have migraine, your clinician may suggest a triptan, such as sumatriptan or rizatriptan. These medicines target the pathways that cause migraine pain. An anti-nausea medicine such as metoclopramide may also help. Newer options include gepants (such as ubrogepant or rimegepant).

If you have frequent or disabling headaches, a daily preventive medicine may lower how often they happen. Examples include amitriptyline, propranolol and topiramate, and for migraine, medicines that block a protein called CGRP or the spot it attaches to (given as an injection or a drip). Cluster headache has its own treatments, including breathing high-flow oxygen through a mask.

Medicines to be careful with

Combination products that contain butalbital (a sedative) or opioids such as codeine are generally not recommended for regular headache treatment. They can cause drowsiness and dependence, and they make medication overuse headache more likely.

To avoid medication overuse headache, try not to use pain relievers on more than 2 or 3 days a week. If you find you need them more often, talk to your clinician. Do not stop or change a prescribed medicine without speaking to them first.

Self-care and prevention

Healthy daily habits can reduce how often you get headaches:

  • Keep a regular routine. Go to bed and get up at similar times, and aim for 7 to 9 hours of sleep.
  • Eat and drink regularly. Don't skip meals, and drink water through the day.
  • Be thoughtful about caffeine and alcohol. Keep caffeine moderate and steady, and limit alcohol.
  • Move your body. Regular aerobic exercise, such as brisk walking, swimming or cycling, may reduce headaches over time.
  • Manage stress. Relaxation exercises, breathing techniques and cognitive behavioural therapy (a talking therapy) can help many people have fewer or milder headaches.
  • Look after your posture. Take breaks from screens and stretch your neck and shoulders.
  • Learn your triggers. Your headache diary can show patterns you can change.

During a headache, resting in a quiet, dark room, a cool cloth on your forehead or a warm pack on your neck may help.

Outlook

Most headaches are not a sign of serious illness and get better with simple steps. Primary headache conditions such as migraine can be long-lasting, but they often improve with the right treatment, and many people find their headaches become less frequent with age. If headaches are affecting your work, school or family life, you do not have to put up with them. A clinician can help you find a plan that works, and may refer you to a headache specialist (a neurologist) if needed.

In the United States

In the United States, butalbital-containing combination products remain available by prescription, but headache specialists generally advise against their regular use. Coverage of triptans, gepants and CGRP-targeting medicines differs between insurance plans, and prior authorization is often needed.

When to get medical help

See a doctor or nurse practitioner if:

  • you have headaches often, or they are getting worse or changing in pattern
  • you need pain relievers on more than 2 or 3 days a week
  • a new headache starts after age 50
  • headaches wake you from sleep or are worse when you cough, strain or lie down
  • you are pregnant or have recently given birth and have a new headache
  • you have a weakened immune system or a history of cancer and develop a new headache

Go to emergency or call emergency services if:

  • you have a sudden, extremely severe headache that reaches its worst within a minute (a "thunderclap" headache)
  • your headache comes with fever, a stiff neck, a rash, confusion or drowsiness
  • you have weakness or numbness on one side, a drooping face, slurred speech, loss of vision or double vision
  • you have a seizure or faint
  • the headache follows a head injury, especially with vomiting or drowsiness
  • you have a painful red eye with blurred vision
  • you are pregnant or have recently given birth and have a severe headache, especially with vision changes or sudden swelling of the face, hands or feet
  • you are over 50 and have a new headache with tenderness of the scalp or temples, jaw pain when chewing, or any change in vision
  • other people or pets in your home have headaches or feel unwell at the same time (this can be a sign of carbon monoxide; get everyone outside first)
  • you have a shunt and develop a headache with vomiting or sleepiness

In an emergency, call 911.

References

  1. U.S. National Library of Medicine. MeSH: Headache. meshb.nlm.nih.gov
  2. MedlinePlus: Headache. medlineplus.gov/headache.html
  3. NICE: Headaches in over 12s: diagnosis and management (CG150). nice.org.uk/guidance/cg150
  4. NHS: Headaches. nhs.uk/conditions/headaches/
  5. WHO: Migraine and other headache disorders. who.int/news-room/fact-sheets/detail/headache-disorders
  6. International Headache Society: ICHD-3 classification. ichd-3.org/