Headaches happen because pain-sensitive structures in and around your brain, including nerves, blood vessels, and muscles, get irritated, compressed, or inflamed. Your brain tissue itself can’t feel pain. The ache you feel comes from the network of nerves that wrap around your skull, thread through your facial and neck muscles, and line the membranes surrounding your brain. Roughly 40% of the global population, about 3.1 billion people, deals with a headache disorder in any given year.
Your Brain Doesn’t Actually Hurt
This surprises most people, but brain tissue has no pain receptors. What does have pain receptors: the thin membranes covering your brain (called meninges), the blood vessels running through and around your skull, the muscles of your head and neck, and the nerves that serve all of these structures. When any of these get stretched, compressed, inflamed, or chemically irritated, they send pain signals through nerve fibers to your brain’s pain-processing centers. The result is what you experience as a headache.
The most important nerve involved is the trigeminal nerve, which branches across your face and skull. This nerve acts as a major highway for pain signals from many different headache triggers, which is why headache pain can show up in your forehead, temples, behind your eyes, or across the back of your head depending on which branch gets activated.
Tension Headaches: The Most Common Type
More than 70% of some populations report tension-type headaches, making them by far the most frequent. They feel like a tight band of pressure around your head, usually on both sides. The mechanism involves two layers. First, the muscles around your skull (in your forehead, temples, jaw, and the back of your head) tighten or become tender. Small nerve fibers in these muscles send discomfort signals up to your brain’s pain-processing relay stations.
If this happens occasionally, it stays a peripheral problem: tight muscles sending pain signals that resolve when the muscles relax. But when tension headaches become frequent, something changes in the central nervous system. The pain relay neurons become sensitized, meaning they start responding more intensely to the same signals and even begin interpreting normal, non-painful input as pain. Nerve fibers that would normally dampen pain signals start amplifying them instead. This central sensitization is the main reason episodic tension headaches can evolve into a chronic daily pattern.
Common triggers include stress, poor sleep, jaw clenching, and holding your head in one position for too long, like hunching over a computer screen.
Migraines: A Neurological Storm
Migraines involve a fundamentally different process. They’re a neurological event, not just a muscle problem. During a migraine, the trigeminal nerve becomes activated and releases a signaling molecule called CGRP. Blood levels of CGRP rise and fall in direct proportion to headache intensity, which is why drugs that block CGRP have become effective migraine treatments.
The trigeminal nerve activation sends signals into brain stem nuclei and deeper brain structures, which is why migraines come with so much more than just head pain. Nausea, light sensitivity, sound sensitivity, and vomiting all result from these signals reaching areas of the brain that control sensory processing and the gut. In about a quarter of migraine sufferers, nausea begins before the pain even starts, as a premonitory symptom driven by brain changes independent of the pain itself.
Why some people’s brains are prone to this cascade while others aren’t is partly genetic. People with migraines have a lower threshold for the trigeminal system to fire, and various triggers (hormonal shifts, weather changes, certain foods, disrupted sleep) can push them over that threshold.
Cluster Headaches: The Hypothalamus Connection
Cluster headaches are rare but extraordinarily painful, often described as a hot poker behind one eye. They arrive in bouts, sometimes at the same time each day for weeks, then disappear for months. This clockwork pattern points to the hypothalamus, a small structure deep in the brain that regulates your circadian rhythm and hormonal cycles.
Brain imaging has pinpointed the posterior hypothalamus as the key area driving cluster headaches. During an attack, this region activates the trigeminal-autonomic reflex, a loop between your pain-sensing trigeminal nerve and the autonomic nerves that control involuntary functions. That’s why cluster headaches come with distinctive autonomic symptoms on the affected side: a watering eye, drooping eyelid, nasal congestion, or a runny nose. The pain is one-sided because the reflex fires asymmetrically.
Dehydration, Posture, and Other Physical Triggers
Many headaches trace back to straightforward physical causes. When you’re dehydrated, your brain and surrounding tissues shrink slightly, pulling away from the skull. This tugs on the pain-sensitive membranes and nerves, producing a dull, aching headache that typically resolves within 30 minutes to a few hours of rehydrating.
Poor posture is another common culprit, especially for people who work at desks. Problems in the top three vertebrae of your neck can generate what’s called referred pain, where the source of the problem is in your neck but you feel it in your head. The bones, joints, ligaments, and nerve roots in this part of your spine are directly connected to pain pathways that serve the skull. Slouching, forward head posture, or sleeping in an awkward position can all set this off.
Skipping meals, alcohol consumption, too little or too much sleep, bright lights, and strong smells are all well-established headache triggers. They likely work by lowering the activation threshold for the trigeminal system or by creating chemical imbalances that sensitize pain pathways.
Hormonal Shifts and Headaches
Estrogen plays a major role in headache susceptibility, which is a key reason migraines are roughly three times more common in women than men. Steady estrogen levels tend to improve headaches. Drops in estrogen make them worse. The most predictable example: the fall in estrogen just before menstruation, which is when many women experience their most severe headaches.
Pregnancy often brings relief because estrogen levels stay consistently high. But after delivery, estrogen plummets, and headaches frequently return. The same pattern shows up around perimenopause, when estrogen fluctuates unpredictably. These hormonal shifts affect headache-related chemical signaling in the brain, influencing the same pathways that drive migraines.
Caffeine: Help and Harm
Caffeine has a paradoxical relationship with headaches. In small doses, it narrows blood vessels and can relieve headache pain, which is why it’s an ingredient in many over-the-counter pain relievers. But regular caffeine use causes your body to adapt. Your cells increase the number of receptors for adenosine, a chemical that caffeine normally blocks. When you skip your usual coffee, all those extra receptors are suddenly unblocked, and the resulting shift in vascular tone and brain chemistry produces a withdrawal headache. This typically starts 12 to 24 hours after your last dose and resolves once you either consume caffeine again or wait a few days for your receptors to readjust.
When Pain Relievers Become the Problem
One of the more frustrating headache causes is the very medication used to treat them. Taking pain relievers more than two or three days per week, consistently over weeks, can lead to medication overuse headaches. The exact mechanism isn’t fully understood, but the pattern is well established: the headaches become more frequent, the medication works less effectively, and a cycle develops where each dose provides shorter relief. The headaches often feel different from the original ones and can become a near-daily occurrence. Breaking the cycle typically requires stopping the overused medication, which temporarily makes headaches worse before they improve.
Headache Warning Signs Worth Knowing
Most headaches are uncomfortable but not dangerous. A small number signal something serious. Clinicians use a set of red flags to identify these. A sudden, explosive headache that reaches maximum intensity within seconds (sometimes called a thunderclap headache) is the most urgent, as it can indicate bleeding in the brain. Other warning signs include headaches accompanied by fever and neck stiffness, confusion or personality changes, vision problems, weakness on one side of the body, or headaches that worsen with coughing, straining, or changes in position.
A new headache pattern starting after age 50 deserves medical evaluation, as does any headache that progressively worsens over days or weeks rather than coming and going in a typical pattern. Headaches in people with cancer, HIV, or other conditions that affect the immune system also warrant prompt attention.

