A headache is pain generated by tissues wrapped around your brain, not the brain tissue itself, because brain tissue contains no pain receptors. Sensory nerves in the meninges, scalp muscles, sinuses, and blood vessel walls detect pressure, inflammation, and chemical shifts, then fire electrical messages along the trigeminal nerve toward your thalamus and sensory cortex. Along the way, signaling molecules like CGRP and serotonin shape how intense, throbbing, or one-sided your pain feels, and why a migraine behaves so differently from a tension-type headache.
This resource explains the biology behind every headache, from nerve signals and CGRP to the three main mechanisms, common triggers, and warning signs that mean you should seek medical care right away.
The Pain Paradox: Your Brain Cannot Feel Pain
Brain tissue itself has no pain receptors, so the ache you label as a headache actually begins in the structures wrapped around it. Cut into brain matter during awake neurosurgery, and the patient often reports no sensation at all, a fact that sounds strange until you remember the cortex is built for thinking, not for sensing its own tissue.
Your real alarm system lives in the meninges, the tough membranes covering the brain, the periosteum around the skull, the scalp muscles, the sinuses, and the walls of blood vessels running through your head. These tissues are densely packed with nociceptors, specialized nerve endings that translate mechanical pressure, inflammation, and chemical irritation into electrical signals your brain can interpret as pain.
Nociceptors: The Real Source of Your Ache
Nociceptors behave like motion sensors scattered through your head’s outer hardware. When blood vessels dilate, muscles stay tense too long, or inflammatory chemicals leak into surrounding tissue, those sensors fire and route the message upward. Without them, the same swelling, strain, or vascular shift would still happen, but you would never notice.
That wiring also explains why two people can share a stressful day and walk away with entirely different headaches, or why the same trigger hits you harder after a poor night of sleep. The threshold at which your nociceptors fire shifts with hormones, hydration, fatigue, and prior pain history, which is why head pain feels so personal.
That personal threshold sets the stage for how pain signals actually travel once nociceptors do fire.
Following the Pain Signal From Tissue to Cortex
Once a nociceptor fires, the signal needs a highway to reach your consciousness, and the trigeminal nerve is the main one. This largest cranial nerve has three branches that fan across your forehead, cheeks, and jaw, which is why pain often radiates in patterns that follow its territory rather than sitting in one neat spot.
From the trigeminal nerve, the message hops into your brainstem, relays through the thalamus, and finally arrives at the sensory cortex, where the signal becomes the conscious experience of “my head hurts.” That sequence, from irritated nerve ending to conscious perception, runs in roughly half of the world’s adults each year, according to World Health Organization figures on headache prevalence.
CGRP: The Molecule That Sculpts Migraine Pain
Calcitonin gene-related peptide surges during migraine attacks, amplifying pain signals far beyond what most other molecules contribute. During a migraine, trigeminal nerve fibers release CGRP, which dilates blood vessels and inflames surrounding tissue, amplifying the pain signal and feeding it back into the same nerves. That loop is the reason a migraine can build over hours instead of fading within minutes.
CGRP matters because it gave drug developers a specific target. Newer CGRP-blocking and CGRP-receptor medications were designed to interrupt that exact loop, rather than masking pain broadly the way an over-the-counter analgesic does. Large reviews in the BMJ and other journals now treat CGRP inhibition as a mechanism-validated migraine therapy.
Three Headache Types, Three Different Mechanisms
Most recurring headaches fall into three families, and each one has a distinct biological fingerprint. Knowing which mechanism matches your experience changes how you describe the pain to a clinician and how you respond to it at home.
| Feature | Tension-Type | Migraine | Cluster |
|---|---|---|---|
| Typical location | Both sides, band around the head | One side, often behind the eye | Strictly one side, around one eye |
| Pain quality | Pressing, tightening, dull | Throbbing, pulsing | Burning, stabbing, piercing |
| Activity effect | Usually unchanged by movement | Worse with routine movement | Agitated, cannot sit still |
| Typical duration | 30 minutes to several hours | 4 to 72 hours untreated | 15 to 180 minutes per attack |
| Associated signs | None, or mild light sensitivity | Nausea, light and sound sensitivity, sometimes aura | Tearing, runny nose, drooping eyelid on the same side |
How Tension-Type Headaches Get Started
Sustained contractions in the scalp, neck, and shoulder muscles sensitize the nociceptors embedded in those tissues, igniting tension-type headaches. Long screen sessions, jaw clenching, or hunched posture can keep those muscles partially contracted long enough that the embedded pain receptors begin firing on their own, producing the familiar squeezing, band-like pressure.
Why Migraines Feel Different
Migraines involve a wider neurological storm. Cortical spreading depression, a slow wave of altered electrical activity that sweeps across your brain’s surface, often precedes the pain and is thought to cause the visual aura some people describe as zig-zag lines or blind spots. At the same time, serotonin levels fluctuate, the trigeminal nerve activates, and CGRP floods the area, producing throbbing pain, nausea, and hypersensitivity to light and sound that can last for days.
The Cluster Headache Pattern
Cluster headaches originate from dysfunction in your hypothalamus, the brain’s internal clock. That misfiring drives severe one-sided pain, often centered around one eye, and triggers the clock-like timing that gives cluster attacks their name: bouts recur at the same hour each day, sometimes for weeks, before vanishing for months or years.
Those clock-like bouts show why escalation often hinges less on the trigger itself than on how long the circuit keeps looping.
Triggers, Throbbing, and Why Some Attacks Escalate
Common triggers, including stress, dehydration, missed sleep, hormonal shifts, and certain foods like aged cheese or red wine, can lower the threshold at which your head and neck nociceptors fire. None of these triggers act on your brain directly; they shift the chemistry and mechanics of the surrounding tissues until ordinary sensations start to register as pain.
Blood vessel dilation contributes to the throbbing quality of migraines, because each heartbeat pushes more blood through already-inflamed vessels around your meninges. As the attack winds down, those vessels often constrict again, which is why some people feel a dull, achy aftermath rather than immediate relief.
Medication-Overuse Headache: When Relief Backfires
Popping pain-relief pills on more than ten to fifteen days each month rewires pain pathways, producing a chronic daily headache known as medication-overuse headache. The short-term relief teaches your nervous system to expect pain suppression, and when the medication wears off, withdrawal-like changes in serotonin and CGRP signaling make the next headache arrive sooner and harder.
A headache that returns the same day you take a pain reliever, day after day, is one of the clearest signals of medication-overuse headache and a reason to loop in a clinician.
Red Flags That Mean Stop and Seek Help Now
Most headaches are uncomfortable, not dangerous, but a short list of warning signs separates routine pain from a medical emergency. Memorizing this checklist turns panic into a clear next step.
- Thunderclap onset: a sudden, severe headache reaching peak intensity within seconds to minutes warrants emergency evaluation for aneurysm or stroke.
- New headache after age 50: a first or changed headache pattern later in life can signal vascular changes, inflammation, or other conditions that need imaging.
- Neurological symptoms: weakness, numbness, slurred speech, confusion, vision loss, or seizure alongside a headache requires urgent assessment.
- Headache after head trauma: any worsening pain after a fall or blow, especially with vomiting or confusion, should be evaluated promptly.
- Fever, stiff neck, or rash: these together raise suspicion for meningitis or another infection that does not wait for a scheduled appointment.
- Worst headache of your life: pain that feels qualitatively different from any prior headache, even without other symptoms, deserves same-day evaluation.
A Simple Triage Framework
Split the decision into two tiers. Schedule a visit this week for headaches that are new, worsening in frequency, or accompanied by mild symptoms that do not match the emergency list above. Go to the emergency room right now for thunderclap onset, neurological deficits, fever with stiff neck, head trauma with worsening pain, or any sudden change that feels fundamentally different from your usual pattern.
Once the dangerous mimics are ruled out, the practical work of day-to-day management can finally take center stage.
Working With Your Doctor and Managing Attacks
Articulating your headache pattern in a structured way helps clinicians diagnose and manage the problem more accurately. The International Headache Society’s ICHD-3 classification system is what most specialists use to label headache types, so matching your description to those categories (frequency, location, quality, associated symptoms, and triggers) gives your doctor a head start.
Evidence-based management ranges from lifestyle adjustments (regular sleep, hydration, stress routines) to acute medications and, for qualifying migraine patients, CGRP-targeting prescriptions. None of these are universal fixes, which is why personalized care guided by a qualified healthcare professional matters more than any single product or routine.
Build a Headache Diary That Actually Helps You
Track four data points for each attack: date and time of onset, pain location and quality, likely triggers in the prior 24 hours, and any medications taken with their effect. A short note about associated symptoms (nausea, light sensitivity, aura) completes the picture. Two to four weeks of this record usually reveals patterns a single appointment cannot capture.
Questions Worth Asking Your Clinician
- Which subtype matches your pattern, and what criteria were used to decide?
- Are your current medications appropriate for that subtype, or are some likely worsening the problem?
- Could your symptoms qualify for a preventive therapy rather than only acute treatment?
- What red flags should send you to the ER versus scheduling a routine visit?
- What lifestyle changes have the strongest evidence for your specific subtype?
Bring the diary, not just memory. A two-month record often does more for diagnosis than a perfect verbal description.
When to Loop In a Specialist
Your primary care clinician can manage straightforward tension-type headaches, but referral to a neurologist or a headache specialist is reasonable when your attacks are frequent, disabling, unresponsive to standard care, or complicated by neurological symptoms. Pregnant or nursing people, anyone on multiple medications, and those with a history of cardiovascular events should review any supplement or medication plan with an appropriate clinician before starting.
Bottom Line on What Happens in a Headache
Head pain is a relay race, not a single event. Nociceptors in your meninges, muscles, sinuses, or vessel walls fire first, the trigeminal nerve carries the message, the thalamus and cortex turn it into conscious sensation, and signaling molecules like CGRP and serotonin decide how loud that sensation feels. The pattern of that relay, whether muscle-driven, migraine-driven, or cluster-driven, is what separates one headache type from another and what should guide your next move.
FAQ
What actually causes a headache in the brain?
Headaches originate in the tissues surrounding your brain, since brain tissue itself has no pain receptors. Nociceptors in the meninges, scalp, sinuses, and blood vessel walls detect pressure, inflammation, and chemical changes, then send signals through your trigeminal nerve and thalamus to the sensory cortex, where the message becomes conscious pain.
Why does your head hurt when you are stressed?
Stress tightens your scalp, neck, and shoulder muscles, sensitizing their embedded nociceptors. Stress also shifts serotonin and CGRP signaling and disrupts sleep, each of which lowers the threshold at which those same nerves fire, so a tense workday can end as a squeezing tension headache or, in people prone to migraine, a full throbbing attack.
When should you worry about a headache?
Worry and act fast when a headache reaches peak intensity within seconds, comes with weakness or confusion, follows head trauma, pairs with fever and stiff neck, or feels qualitatively different from any prior headache. Schedule a non-emergency visit when headaches are new after age 50, increasing in frequency, or disrupting your daily life more than usual.
What is the difference between a migraine and a regular headache?
A regular tension-type headache feels like a dull band of pressure on both sides of your head, without nausea or light sensitivity. A migraine is typically one-sided, throbbing, worsened by movement, and accompanied by nausea, light and sound sensitivity, and sometimes visual aura, because it involves cortical spreading depression and CGRP release rather than simple muscle contraction.
How do doctors diagnose the type of headache?
Diagnosis relies on a detailed history: your location, quality, duration, frequency, triggers, and associated symptoms, often supported by a headache diary over several weeks. Clinicians apply criteria from the International Headache Society’s ICHD-3 classification. Imaging or blood tests are used selectively, mainly when red flags point to a secondary cause.
Can dehydration really cause a headache?
Yes. Reduced fluid intake shrinks the volume of fluid around your brain and inside blood vessels, prompting meningeal nociceptors to fire and producing a diffuse, aching head pain that often lifts within hours of rehydration. The effect is strongest during exercise, heat exposure, or illness, when fluid losses outpace intake.
