Headaches happen because pain-sensitive structures in and around your brain, including blood vessels, muscles, and nerve fibers in the protective membranes surrounding the brain, become irritated or activated. About 2.9 billion people worldwide experience headache disorders in any given year, affecting roughly 35% of the global population. The causes range from muscle tension and dehydration to complex neurological events involving nerve signaling gone haywire.
How the Brain Registers Head Pain
The brain itself has no pain receptors. What actually hurts are the tissues surrounding it: the membranes (meninges) that wrap around the brain, the blood vessels running through and around it, and the muscles and nerves of the head, neck, and face. When any of these structures are stretched, compressed, inflamed, or chemically irritated, they send pain signals through the trigeminal nerve, a large nerve that acts as the main pain highway for the head and face.
The trigeminal nerve and its branches extend into the meninges and blood vessels, where nerve endings release powerful signaling molecules that dilate blood vessels and trigger local inflammation. This creates a feedback loop: inflammation activates more nerve fibers, which release more inflammatory signals, which intensifies the pain. Different types of headaches tap into this system in different ways.
Tension Headaches: The Most Common Type
Tension-type headaches are the single most prevalent headache disorder, affecting about 25% of the global population. They produce a dull, pressing sensation on both sides of the head, often described as a tight band around the forehead or temples.
The pain originates from sensitized pain receptors in the muscles of the scalp, jaw, and neck. During a tension headache, muscle tenderness increases significantly when the area is pressed, even though the muscles themselves aren’t necessarily in spasm. In people who get these headaches frequently, the central nervous system also becomes more sensitive to pain signals from the head region, meaning the brain starts interpreting normal sensations as painful. This is why chronic tension headaches can feel harder to shake than occasional ones: the problem gradually shifts from the muscles to the brain’s pain-processing system itself.
Common triggers include stress, poor posture, jaw clenching, eyestrain, and skipping meals.
Migraines: A Neurological Event
Migraines are more than bad headaches. They’re a neurological condition affecting about 14% of people globally, typically causing intense, throbbing pain on one side of the head along with nausea, light sensitivity, and sometimes visual disturbances called aura.
The process starts deep in the brain, where abnormal nerve activity triggers a wave of electrical and chemical changes. This activates the trigeminal nerve, which releases a potent signaling molecule called CGRP from nerve endings in the meninges. CGRP dilates blood vessels and drives inflammation around the brain’s protective membranes, producing the characteristic pulsing pain. The trigeminal nerve and its chemical signals essentially act as a final common pathway: no matter what initially sets off the migraine (hormonal shifts, certain foods, weather changes, stress), the pain ultimately funnels through this same system.
This understanding has led to targeted treatments that block CGRP, which can both stop migraines in progress and reduce how often they occur.
Cluster Headaches: The Brain’s Internal Clock
Cluster headaches are rare but extraordinarily painful, often described as the worst pain a person can experience. They strike one side of the head, usually around or behind the eye, and last between 15 minutes and three hours. They come in clusters, hitting multiple times a day for weeks or months, then disappearing entirely before returning.
Brain imaging studies published in The Lancet revealed that cluster headaches originate in the hypothalamus, a small region deep in the brain that controls the body’s internal clock. During an attack, the hypothalamus on the affected side activates intensely. This activation was seen only during the pain state, not between bouts, confirming the hypothalamus as the trigger point. The involvement of the body’s clock-keeping center explains the striking regularity of these headaches: they often strike at the same time each day, frequently waking people from sleep.
The pain itself travels through the trigeminal nerve’s upper branch, while the accompanying symptoms on the affected side, like a watering eye, drooping eyelid, and runny nose, result from activation of the nerve pathways controlling involuntary functions in the face.
Dehydration and Headaches
When your body loses more fluid than it takes in, the brain can physically shrink slightly as it loses water content. MRI scans show measurable reductions in brain volume during dehydration. As brain tissue pulls away from the skull, it tugs on the surrounding membranes and blood vessels, activating pain receptors. This produces a headache that typically affects the entire head and worsens when you stand up, bend over, or move quickly.
Dehydration headaches usually resolve within one to three hours of drinking water, though severe dehydration may take longer. You don’t need to be dramatically dehydrated for this to happen. Even mild fluid deficits on a hot day or after exercise can be enough.
Caffeine Withdrawal
If you regularly drink coffee or tea and suddenly stop, you can expect a headache within 12 to 24 hours. The mechanism is surprisingly well understood. Caffeine works by blocking receptors for a chemical called adenosine, which normally dilates blood vessels and promotes sleepiness. With regular use, your brain compensates by producing more adenosine receptors and making existing ones more sensitive.
When you stop consuming caffeine, all those extra, hypersensitive receptors are suddenly flooded with adenosine. Blood vessels in the brain dilate, pressure on surrounding nerves increases, and a throbbing headache follows. This is also why caffeine is an ingredient in some headache medications: it constricts those dilated blood vessels.
Sleep Loss Lowers Your Pain Threshold
Poor sleep doesn’t just leave you tired. It fundamentally changes how your brain processes pain. Research from UC Berkeley found that after a single night of sleep deprivation, activity in the brain’s pain-sensing regions increased by 126% compared to a full night’s rest. At the same time, activity dropped in the brain regions responsible for natural pain relief, including the area that releases the feel-good chemical dopamine.
The practical effect is dramatic. Sleep-deprived people in the study began reporting pain at lower temperatures (around 107°F versus 111°F when well-rested). Sleep loss essentially amplifies pain signals while shutting down the brain’s built-in painkillers. This helps explain why headaches are so common after a bad night’s sleep, and why chronic poor sleepers often develop chronic headaches.
Other Common Triggers
Many headaches fall into the “secondary” category, meaning they’re caused by something else going on in the body. The most frequent culprits include:
- Sinus infections: inflammation and pressure in the sinus cavities presses on surrounding nerves, producing pain across the forehead, cheeks, or bridge of the nose
- Medication overuse: taking pain relievers more than two or three days per week can paradoxically cause more headaches, creating a rebound cycle
- High blood pressure: significantly elevated blood pressure can trigger headaches, particularly a pounding sensation at the back of the head
- Fever and illness: infections like the flu cause widespread inflammation that activates pain-sensitive structures in the head
- Alcohol: both through direct vasodilation and the dehydration that follows
When a Headache Signals Something Serious
The vast majority of headaches are unpleasant but harmless. A small number, however, signal a medical emergency. The headaches that warrant urgent attention share some recognizable features:
- Sudden, explosive onset: a headache that reaches maximum intensity within seconds, sometimes called a “thunderclap” headache, can indicate bleeding around the brain
- Neurological changes: confusion, vision loss, difficulty speaking, weakness on one side, or loss of consciousness alongside a headache
- New headache pattern after age 50: a first-time or distinctly different headache in someone over 50 raises concern for inflammation of blood vessels in the head or other serious causes
- Progressive worsening: a headache that steadily intensifies over days or weeks rather than coming and going
- Positional changes: a headache that dramatically worsens or improves with changes in body position can point to abnormal pressure inside the skull
- After head injury: headaches developing after trauma need evaluation to rule out bleeding
These patterns are distinct from the familiar, recurring headaches most people experience. The key warning sign is a headache that feels fundamentally different from anything you’ve had before.