A headache starts when nociceptors—free nerve endings on blood vessels, meninges, and pericranial muscles—detect a threat and fire. Their signals travel through the trigeminal and upper cervical nerves to the brainstem, get relayed by the thalamus, and are assembled into pain by the cortex. The chemical trigger is usually calcitonin gene-related peptide (CGRP), which dilates vessels, sensitizes nerves, and inflames surrounding tissue.

That sequence drives most primary headaches. Migraine, tension-type, and cluster headache share the trigeminovascular pathway but start at different points along it. The sections below trace that pathway step by step, then cover the thresholds where normal physiology tips into pathology.

What Happens Inside the Skull Before Pain Registers

The brain itself has no pain receptors. What detects pain are the meninges, the large cerebral arteries, and the veins inside the skull—all wrapped in a dense mesh of unmyelinated nerve fibers. Those fibers, about 0.2 to 1 micrometer thick, travel in bundles along the trigeminal nerve's first branch (V1) and along the upper cervical roots that join V1 in the trigeminocervical complex.

When a triggering event occurs—stress, sleep change, skipped meal, hormonal shift—the dura releases CGRP from trigeminal endings. CGRP does two things at once. It dilates meningeal arteries, and it recruits mast cells to release histamine and inflammatory mediators. This combination is called neurogenic inflammation.

The sensitized threshold matters more than the swelling. After repeated signaling, the same stimulus that once produced nothing now fires a neuron. This is peripheral sensitization, happening at the nerve ending itself. If it persists, central sensitization follows: second-order neurons in the trigeminal nucleus become hyperexcitable, so touch, light, and sound that were previously neutral become painful. That transition is why migraine headache outlasts its original trigger by hours.

One plain-language version: the brain's own alarm system gets over-tuned, then stays over-tuned after the alarm stops.

The cortex contributes on top. A spreading wave of neuronal depolarization sweeping across the occipital lobe—cortical spreading depression—travels at roughly 3 to 5 millimeters per minute. This is the mechanism behind migraine aura, which appears in about one-quarter to one-third of migraineurs and usually precedes the headache by 20 to 60 minutes.

Quantified Context: Who Gets Headaches and How Often

Headache is the most common neurological complaint worldwide. The Global Burden of Disease studies rank tension-type headache and migraine in the top causes of years lived with disability, with migraine alone affecting roughly 1 billion people globally and about 15 in 100 adults on any given day. In the United States, the Centers for Disease Control and Prevention reports that about 20 percent of adults experienced a severe headache in the past three months.

Migraine prevalence peaks between ages 25 and 55 and runs roughly 2 to 3 times higher in women than men. Cluster headache is far rarer—estimated at fewer than 1 in 1,000 adults—and strikes men 3 to 4 times as often as women. The gender split flips across these two types for a reason: estrogen withdrawal is one of the best-documented migraine triggers, and it has no equivalent in cluster headache.

Frequency ranges differ by condition. Episodic migraine is defined as fewer than 15 headache days per month; chronic migraine is 15 or more headache days per month, with at least 8 of those days showing migraine features, for more than 3 months. Tension-type headache has no widely accepted chronic threshold in household terms, but chronic tension-type headache is conventionally defined at 15 or more days monthly for at least 6 months. Knowing these definitions matters because they change the treatment path.

The 8-12 Hour Delay, Aura Timing, and the Point of No Return

Headache onset follows a predictable time course for most patients. The prodrome—the vague irritability, food craving, yawning, or neck tightness that precedes some migraine attacks—begins 2 to 24 hours before pain. Aura, when present, starts within 1 hour of the headache and usually resolves within 20 to 60 minutes. The headache phase itself typically lasts 4 to 72 hours if untreated.

Stage Typical Time Before or After Pain Onset What Is Happening
Prodrome 2 to 24 hours before Hypothalamic signaling shift; appetite, sleep, and mood changes
Aura 1 hour before to 1 hour after Cortical spreading depression travels across the occipital cortex
Pain onset Time zero CGRP release from trigeminal endings; meningeal vessel dilation
Peak pain 1 to 4 hours Peripheral and central sensitization; photophobia and nausea
Postdrome 24 to 48 hours after resolution Residual fatigue, cognitive fog; trigeminovascular system settling

The counterintuitive detail sits in the prodrome. By the time a patient feels the aura or first throb, the attack has already been running for up to a day. That is why abortive drugs work best in the first 20 to 30 minutes of pain and lose effectiveness once central sensitization has locked in. It also explains why patients who treat early need lower doses and fewer doses per attack.

Tension, Migraine, and Cluster: Same Pathway, Different Entry Point

The three major primary headache types share the trigeminovascular pathway but differ in where the signal starts and what chemicals dominate.

Feature Tension-Type Migraine Cluster
Dominant mechanism Pericranial muscle and myofascial nociception Trigeminovascular activation with CGRP release Hypothalamic activation plus trigeminal-autonomic reflex
Pain character Pressure, bilateral, band-like Throbbing, unilateral, moderate to severe Severe, unilateral, orbital or temporal
Associated features No nausea, no photophobia (or one only) Nausea, photophobia, phonophobia Ipsilateral tearing, nasal congestion, ptosis, restlessness
Typical duration 30 minutes to 7 days 4 to 72 hours untreated 15 minutes to 3 hours
Frequency pattern Variable; chronic at 15 or more days monthly Episodic or chronic at 15 or more days monthly 1 to 8 attacks daily in a cluster period
Gender ratio Slightly more common in women 2 to 3 times more common in women 3 to 4 times more common in men
First-line abortive NSAIDs Triptans; gepants as newer option High-flow oxygen and triptans

Tension-type headache is driven primarily by sustained contraction and sensitization of pericranial muscles, plus a general lowering of the pain threshold in the brainstem. Migraine adds CGRP-driven neurogenic inflammation. Cluster headache, uniquely, involves the posterior hypothalamus as a generator, which explains its clock-like regularity and why it responds to treatments that target hypothalamic circuits.

This pattern matters practically: a drug that works for migraine, such as a triptan, does not treat tension-type headache. Oxygen that aborts a cluster attack has no established role in migraine. The pathway is shared, but the switches are not.

Why "Headache = Brain Pain" and Other Wrong Turnings

The most persistent misconception is that a headache is pain felt by the brain itself. The brain has no nociceptors; what hurts is the surrounding tissue. This is not trivia—it explains why tumors, strokes, and hemorrhages often present without early headache. The brain can be damaged extensively before the meninges or vessels are mechanically irritated.

The second misconception is that a single trigger causes a single attack. In practice, migraine has a threshold model: genetics, sleep debt, hormonal shifts, and hydration stack until the trigeminal system tips. A patient who drinks less water on a Thursday may get a headache only because they also slept poorly and skipped lunch. That is why headache diaries identifying two or three stacking triggers outperform elimination diets that chase one.

A third misconception is that all recurrent headaches are benign. Most are. But red flags exist and should be treated as absolutes:

Sudden severe headache peaking within 60 seconds ("thunderclap"), which can signal subarachnoid hemorrhage Headache with fever and neck stiffness, suggesting meningitis New headache after age 50 with visual change or jaw claudication, suggesting giant cell arteritis Headache with focal neurological deficits, seizure, or new confusion Headache that is progressively worsening over weeks without a plateau Headache after head trauma or in immunocompromised patients

A fourth misconception concerns medication overuse. Taking acute pain medication on 10 or more days per month (or 15 or more for simple analgesics) for more than 3 months can sustain headache through a rebound cycle. The headache is real, but the treatment is prolonging it. This is a professional caveat that does not show up in short explainers: the medication may be the cause, not the cure.

Practical Actions: Before You Reach for a Pill

The most useful step is a 4-week headache diary. Record time of onset, duration, severity on a 0 to 10 scale, associated symptoms, what you ate, hours slept, stress rating, and any medication taken with dose and time. Four weeks is usually enough to reveal a pattern. Less than that often describes noise.

Timing of treatment is the second lever. Take abortive medication within the first 20 to 30 minutes of pain onset. Waiting until pain is severe reduces response because central sensitization is already active. The same logic applies to hydration and food: drink 500 milliliters of water and eat a small carbohydrate snack at the first aura or prodrome sign if that is a known pattern for you.

Sleep regularity matters more than sleep duration. Consistent wake times, within a 30-minute window 7 days a week, lower headache frequency in many patients more reliably than adding an hour of sleep. The target is not "8 hours" but "same 8 hours nightly."

Preventive medication thresholds are clear. Consider daily preventive treatment if you have 4 or more migraine days per month, 8 or more headache days per month, or attacks that are disabling despite adequate acute treatment. Under those thresholds, episodic treatment usually suffices. Over them, the evidence supports prophylaxis.

Reduce medication exposure if acute drugs are used more than 10 days per month. Track this in the diary. For many patients, tapering to fewer than 10 acute-treatment days monthly reverses chronic headache patterns within 8 to 12 weeks.

Track caffeine as a drug. Caffeine is an effective acute adjuvant and a common trigger in withdrawal. Most adults tolerate 200 to 400 milligrams daily (roughly 2 to 4 cups of coffee). Abrupt cessation from higher daily intake produces a withdrawal headache lasting 2 days to 1 week in roughly half of regular consumers.

Where the Model Breaks Down and What It Cannot Explain

The trigeminovascular model describes migraine well and tension-type partially. It does not fully explain why some migraineurs have aura and others do not, why cluster headache has a circadian and circannual rhythm tied to the hypothalamus, or why women lose migraine protection after menopause in some cases but not others. Genetics accounts for a substantial share of heritability—first-degree relatives of migraineurs face roughly 1.5 to 4 times elevated risk—but the identified genes do not yet explain most cases.

Secondary headaches—those caused by another condition—are a different category. A headache from a brain tumor, sinus infection, or cervical artery dissection shares the trigeminal pathway but has a distinct cause, and it is missed when the primary-headache framework is applied too confidently. The red flags above exist to catch these.

Neuroimaging is not routine for stable, typical primary headache with a normal neurological exam. The American Headache Society and similar bodies recommend imaging only when red flags, atypical features, or age-related risk factors are present. Over-imaging is a real cost, and it also produces incidental findings that trigger anxiety and unnecessary follow-up.

Finally, the CGRP story has reshaped treatment more than it has reshaped prediction. Monoclonal antibodies targeting CGRP or its receptor, and small-molecule gepants, can prevent migraine in many patients who do not respond to older drugs. But there is no reliable biomarker that tells a given patient which mechanism dominates their headache—so treatment is often trial and error, typically 8 to 12 weeks per trial before judging response.

That is the honest limit. The pathway is well mapped. The triggers are measurable. The individual threshold is still inferred from patterns, not from a blood test. A headache diary plus a clear red-flag screen is what turns the science into something usable for a specific person on a specific day.