A headache happens when pain-sensitive structures around the brain—the meninges, blood vessels, muscles, and nerves—send distress signals that your brain interprets as pain. Brain tissue itself feels nothing. That paradox explains why a headache can feel so intense yet originate from tissues most people never think about, and why the cause ranges from a skipped meal to a medical emergency.
The Pain-Generator System
The brain has no pain receptors of its own. During brain surgery, surgeons can cut into brain tissue while patients stay awake and report no discomfort. The ache you feel comes from structures that surround and support the brain instead.
Three systems generate most headache pain. The first is the meninges, the layered membranes wrapped around the brain and spinal cord. The second is the vascular network—arteries and veins inside the skull and the muscles of the scalp and neck. The third is the trigeminal nerve, the large cranial nerve that carries sensation from the face, jaw, and much of the head.
When these tissues are stretched, inflamed, or irritated, they fire signals through the trigeminal pathway into the brainstem. The brain then assigns a location to that signal, which is why a tension headache can feel like a band around your skull even though the source is muscle tension in the neck.
Migraine adds a layer of complexity. The condition involves a hyperexcitable brain state in which the trigeminal nerve releases calcitonin gene-related peptide (CGRP), a signaling molecule that dilates blood vessels and amplifies pain transmission. This CGRP mechanism is the target of newer migraine drugs, which is why the biology matters beyond trivia. A simple way to think about it: your brain is not hurting, but the tissue around it is sending an alarm your brain translates into pain.
What the Numbers Show
Headache is among the most common human complaints. The World Health Organization reports that tension-type headache affects roughly 1.5 billion people worldwide, and migraine affects more than 1 billion. Globally, headache disorders rank among the leading causes of years lived with disability.
Migraine shows a clear sex skew. It is about three times more common in women than in men, largely because of hormonal influences across the menstrual cycle. The prevalence peaks between ages 25 and 55, the working years, which explains the economic burden.
Tension-type headache is the most common primary headache and generally the least disabling. Cluster headache, by contrast, is rare—affecting roughly 1 in 1,000 people—but is widely described as one of the most severe pain conditions a person can experience. These numbers matter for triage: the odds strongly favor a benign primary headache, but the rare severe causes are the ones you must not miss.
Primary Versus Secondary Headaches
Physicians split headaches into two categories. Primary headaches are the condition itself—migraine, tension-type, and cluster headache. Secondary headaches are symptoms of another underlying problem, ranging from a sinus infection to a brain bleed.
The distinction drives everything about evaluation. A primary headache is managed by treating the headache pattern. A secondary headache requires finding and treating the cause. Most people searching "why do I have a headache" fall into the primary category, often from sleep disruption, dehydration, stress, or skipped meals.
When a Headache Is an Emergency
Most headaches are benign, but a small fraction signal something dangerous. Clinicians use red-flag frameworks to decide who needs urgent imaging or a spinal tap.
Sudden severe headache reaching peak intensity within one minute ("thunderclap"), which can indicate subarachnoid hemorrhage. Headache with fever and a stiff neck, which can indicate meningitis. New headache after age 50, especially with jaw pain when chewing or scalp tenderness, raising concern for giant cell arteritis. Headache with weakness, confusion, vision loss, or trouble speaking, suggesting stroke. Headache after head trauma, particularly if it worsens over hours. New or changing headache during pregnancy or the postpartum period, when blood pressure disorders are a concern.
If any of these apply, seek emergency care rather than self-treating. The counterintuitive professional caveat: the vast majority of thunderclap headaches turn out to be benign, but the cost of missing the dangerous minority is high enough that emergency evaluation is standard. Clinicians cannot reliably distinguish the benign from the dangerous by description alone.
Time Course: What Timeline Tells You
The speed and pattern of a headache carry diagnostic weight. Here is how common presentations unfold.
| Pattern | Typical onset | Duration | Common cause |
|---|---|---|---|
| Tension-type | Gradual, over 30–60 minutes | 30 minutes to 7 days | Muscle tension, stress, sleep loss |
| Migraine without aura | Gradual, 1–2 hours | 4–72 hours | Trigeminal/CGRP activation |
| Migraine with aura | Visual symptoms before pain | Aura 5–60 minutes; pain follows | Cortical spreading depression |
| Cluster headache | Rapid, often waking person from sleep | 15 minutes to 3 hours | Hypothalamic/trigeminal activation |
| Medication overuse | Daily or near-daily | Persistent | Rebound from frequent pain relievers |
| Thunderclap | Peak within 1 minute | Variable | Hemorrhage, venous thrombosis, or benign causes |
The timeline often narrows the cause faster than the pain description. A headache that builds over an hour is rarely a hemorrhage. A headache that is worst in the first minute demands urgent attention.
Common Triggers and Misconceptions
Dehydration is a well-documented trigger. Even mild fluid loss—roughly 1–2 percent of body weight—can provoke headache in susceptible people. Skipped meals cause low blood glucose and altered electrolyte balance that trigger migraine in some individuals.
Sleep disruption is a major but underappreciated driver. Both too little and too much sleep can trigger migraine, which is why a consistent schedule matters more than a single good night.
Two misconceptions deserve correction. First, sinus headache is overdiagnosed. Most self-reported "sinus headaches" meet criteria for migraine, and the sinus congestion is often part of the migraine itself. Second, caffeine cuts both ways: it can abort an early headache, but daily heavy use creates dependence and rebound headaches when levels fall.
Medication overuse headache is the professional caveat many people miss. Taking acute pain relievers frequently—commonly defined as 15 or more days per month for simple analgesics, or 10 or more for triptans and combination analgesics—can transform an occasional headache into a daily one. The treatment is often to stop the overused medication, which temporarily worsens symptoms.
Comparing Treatment Approaches
| Approach | Best suited for | Onset of effect | Key limitation |
|---|---|---|---|
| Rest, hydration, dark room | Mild tension or early migraine | Minutes to an hour | Insufficient for moderate-severe pain |
| Over-the-counter analgesics | Mild-moderate tension headache | 30–60 minutes | Overuse risk if frequent |
| Triptans (prescription) | Moderate-severe migraine | 30–120 minutes | Not for all patients; needs clinician |
| CGRP-targeted drugs (prescription) | Migraine prevention or acute | Varies by drug | Cost and access; clinician-directed |
| Trigger avoidance and sleep hygiene | Recurrent primary headache | Weeks | Requires consistency |
| Physical therapy | Cervicogenic (neck-related) headache | Weeks | Needs accurate diagnosis |
This table is orientation, not a prescribing guide. Drug choices and doses belong to a clinician who knows your history.
Practical Steps You Can Take
Start with the low-risk measures that address the most common causes. Drink water if you have not had fluids in several hours. Eat something if you have skipped a meal. Step away from screens and bright light for 20 minutes assessments. Apply a cold or warm compress depending on whether tension or vascular features dominate.
Track your headaches for two to four weeks. Record the time, duration, severity from 1 to 10, triggers, sleep hours, and any medications taken. Patterns often emerge that a single episode cannot reveal.
Set a consistent sleep and wake time, including weekends, within about an hour. Limit caffeine to a stable daily amount—commonly cited as under 200 milligrams, roughly two cups of coffee—and avoid abrupt changes.
Use acute pain relievers sparingly. If you are reaching for medication more than two days per week, that frequency itself is a signal to see a clinician rather than a routine to continue.
Know your thresholds for care. A single severe headache that peaks in a minute, a headache with neurologic symptoms, or a headache pattern that is clearly changing warrants prompt medical evaluation. For recurring headaches that interfere with work or sleep, a primary care clinician or neurologist can assess whether preventive treatment is appropriate.
Limits of Self-Assessment
This article explains mechanisms, not your specific case. The boundary between a harmless primary headache and a secondary one is not always visible from symptoms alone, and self-triage has real limits. When in doubt, the safer path is evaluation. The reassuring news is that the overwhelming majority of headaches have benign, manageable causes once the dangerous few are ruled out.
This article is general educational information, not a diagnosis or treatment plan. It cannot replace an assessment by a qualified clinician who knows your history. If you have a sudden severe headache, neurologic symptoms, fever with stiff neck, or a headache after head injury, seek emergency care immediately.