Your head hurts because pain-sensitive structures around the brain—the meninges, blood vessels, periosteum, and cranial nerves—have been stretched, inflamed, or irritated, and your brainstem has interpreted those signals as pain. The brain tissue itself contains no pain receptors. So a headache is never "in your head" in the dismissive sense; it is a real signal from real tissue, often amplified by sensitized nerve pathways. Genes, sleep, hydration, caffeine, hormones, and stress all shift the threshold at which that system fires.

The pain system that surrounds a silent brain

The brain is a remarkable organ in one specific way: it can process pain from everywhere except itself. Parenchymal brain tissue lacks nociceptors. The structures that do hurt are the ones wrapped around it—the dura mater and its blood vessels, the periosteum of the skull, the scalp muscles, the cervical spine joints, the sinuses, and the eyes. When you feel a headache, you are feeling one or more of those tissues.

The signaling architecture matters more than the anatomy. Nociceptors on intracranial blood vessels and dura release calcitonin gene-related peptide (CGRP), a vasoactive neuropeptide that drives neurogenic inflammation and sensitizes nearby nerve endings. Those trigeminal afferents project to the trigeminocervical complex in the brainstem, which relays to the thalamus and then to cortical regions. Repeated activation in that circuit can lower the firing threshold—a process called central sensitization—which is why a mild trigger can produce severe pain in someone who has been having headaches for weeks.

Migraine adds a distinctive layer. Cortical spreading depression, a slow wave of neuronal depolarization that travels across the cortex at roughly 3–5 mm per minute, can produce the visual aura some people notice before pain begins. The pain phase that follows is driven less by blood vessel dilation than by CGRP release and trigeminal activation, which is why triptans and newer CGRP-targeting drugs work even when vessels are not visibly distended.

Plain-language version: the pain comes from the tissue around the brain, and the nervous system can turn up the volume on that signal over time.

How common headaches are, and what the numbers say

Headache is among the most common reasons adults seek medical care, and the numbers are stable enough to state plainly. Tension-type headache affects roughly 40% of adults at some point, and migraine affects about 12–15% globally, with higher rates in women. The Global Burden of Disease work consistently ranks migraine among the leading causes of years lived with disability worldwide, largely because it strikes people in their most productive decades.

Frequency matters clinically. Episodic migraine is defined as fewer than 15 headache days per month; chronic migraine is 15 or more days per month with at least 8 having migraine features. Medication overuse headache is defined by regular use of acute pain relievers—generally 10 or more days per month for simple analgesics, or 15 or more days per month for combination analgesics, triptans, and opioids—for more than three months, in someone with a pre-existing headache disorder (International Headache Society).

The distinction between "a headache" and "a headache disorder" is where most thin explainers stop. The threshold matters because chronic and overuse patterns change what treatment works. Someone with 18 headache days per month is not having a bad week; they meet a clinical definition that alters the plan.

When the pattern is the diagnosis

Most headaches fall into three patterns, and the pattern itself carries diagnostic information. Tension-type headache is bilateral, pressing or tightening, mild to moderate, and not worsened by routine activity. Migraine is typically unilateral, pulsating, moderate to severe, worsened by activity, and accompanied by nausea or light and sound sensitivity. Cluster headache is strictly unilateral, severe, and accompanied by autonomic signs such as tearing, nasal congestion, or eyelid swelling, and it comes in attacks lasting 15 minutes to 3 hours, often at the same time each day.

These patterns are not academic. They determine whether an over-the-counter anti-inflammatory is reasonable, whether a triptan is appropriate, and whether referral is warranted. A headache that is always on one side and always accompanied by a drooping eyelid is a different problem from a band-like pressure that worsens with deadlines.

Feature Tension-type Migraine Cluster Secondary (red-flag)
Laterality Bilateral Often unilateral Strictly unilateral Variable, often new
Quality Pressing, tightening Pulsating Severe, boring Sudden or progressive
Intensity Mild to moderate Moderate to severe Severe Variable
Activity effect Not worsened Worsened Restless Variable
Associated symptoms None typical Nausea, photophobia, phonophobia Tearing, congestion, ptosis Fever, neurologic deficit, confusion
Typical duration 30 min to 7 days 4–72 hours 15 min to 3 hours Minutes to days, pattern-breaking

The associated-symptoms column is the practical discriminator. If light hurts and nausea is present, the migraine pathway is active regardless of how the person describes the pain.

The timeline of a single headache attack

Understanding the time course helps people stop treating every headache the same way. Migraine, in particular, is a multi-phase event that begins before the pain.

Phase Timing What happens
Prodrome Hours to 2 days before Fatigue, mood change, food cravings, neck stiffness, frequent yawning
Aura 5–60 minutes before, in roughly a quarter of cases Visual or sensory disturbance from cortical spreading depression
Pain phase 4–72 hours Trigeminal activation, CGRP release, nausea, sensitivity to light and sound
Resolution 12–24 hours Sleep often ends the attack; lingering fatigue and irritability
Postdrome Up to 24 hours after "Migraine hangover"—foggy thinking, exhaustion, tenderness

The prodrome is frequently missed. People treat the headache when it arrives, but the neurochemical cascade often started the previous evening. Recognizing the prodrome is one of the few genuinely useful self-management skills in headache care, because acting early—before central sensitization sets in—improves response to acute treatment.

Caffeine, hydration, and the counterintuitive part

Caffeine is the most misunderstood variable in headache self-management. It is both a treatment and a trigger. Adenosine receptor antagonism provides genuine analgesic benefit, which is why caffeine appears in combination analgesics and why a cup of coffee can abort a mild headache. The same mechanism creates dependence: regular intake above roughly 200–400 mg per day establishes adenosine receptors that rebound when caffeine is withdrawn, producing a withdrawal headache that typically peaks 12–24 hours after the last dose and resolves within a week.

The counterintuitive detail: dehydration is often blamed for headaches, but the evidence linking mild dehydration to headache is weaker than the popular narrative suggests. Controlled trials of water intake for headache prevention show modest and inconsistent effects. The stronger and better-supported hydration concern is that dehydration can lower the threshold in already-sensitized people. It is a contributing factor, not the primary cause for most people with recurrent headaches.

A professional caveat worth stating plainly: the link between headache and blood pressure is also oversimplified in popular coverage. Severe hypertension can cause headache, but most mild-to-moderate hypertension is silent, and treating a normal-range blood pressure rarely resolves a chronic headache. The relationship runs in one direction more reliably than the other.

Practical actions, thresholds, and what to change first

Start with pattern recognition before you change anything. Keep a simple headache log for four weeks: date, time of onset, duration, severity from 0 to 10, location, associated symptoms, sleep the night before, meals, fluid intake, caffeine, and any medication taken. Four weeks is enough to reveal whether you meet the 15-day chronic threshold or the 10-day medication-overuse threshold.

Then apply these concrete steps:

Reduce acute pain relief to fewer than 10 days per month for simple analgesics, and fewer than 15 days per month for combination products, triptans, and opioids. Above those frequencies, overuse headache becomes likely and acute medications paradoxically worsen the pattern. Address sleep regularity before adding supplements. Consistent sleep and wake times, seven to nine hours, are among the best-supported non-drug interventions for both tension-type and migraine. Limit caffeine to a stable, modest intake—roughly 200 mg per day, about two 8-ounce cups of coffee—rather than cycling between high intake and abrupt withdrawal. Attend to neck and shoulder load if work involves sustained screen time. Evidence for posture correction as a headache treatment is modest, but cervicogenic contributors are real and worth screening. Track triggers without over-committing to them. Common reported triggers include stress, skipped meals, disrupted sleep, alcohol, and hormonal shifts. The list of suspected triggers is long; the list that survives a four-week log is short.

Threshold reconciliation matters here. The 10-day and 15-day overuse thresholds sound close but apply to different drug classes, and both require a pre-existing headache disorder to meet the clinical definition. A person without prior headache who uses ibuprofen 12 days a month for back pain is not meeting the overuse headache definition, even though they cross the numeric line. Use the number as a prompt to discuss medication frequency with a clinician, not as a self-diagnosis.

Limitations and red flags

Most headaches are benign and self-limited, but some patterns require urgent evaluation, and the cost of missing them is high. Seek emergency care or same-day evaluation for any of the following:

A sudden severe headache reaching maximum intensity within a minute, often described as the worst headache of your life. Headache with fever, stiff neck, rash, or confusion. New weakness, numbness, vision loss, difficulty speaking, or trouble walking. Headache after head trauma, especially if it worsens over hours. New headache after age 50, or a headache pattern that changes substantially in someone with a known headache disorder. Headache that is progressively worsening over days to weeks, or that wakes you from sleep repeatedly.

The evidence base has real limits. Headache diagnosis is clinical, and imaging is not recommended for typical migraine or tension-type headache with a normal neurologic exam—a point repeatedly emphasized in American Headache Society guidance. Over-the-counter acute treatments have modest effect sizes, and prevention trials report average reductions in headache days rather than elimination. Behavioral and lifestyle interventions are supported but not universally effective, and response varies widely between individuals. What works for one person's migraine may do little for another's, which is why tracking response over weeks beats relying on a single anecdote.

This article is general educational information about headache mechanisms and patterns, not a diagnosis or treatment plan. It cannot substitute for an evaluation by a qualified clinician who can take a history, perform an examination, and consider your specific circumstances. If you are experiencing a sudden severe headache, neurologic symptoms, or any red-flag feature above, contact local emergency services or an urgent care professional immediately.