What Is Cephalgia? Types, Triggers, and Red Flags

Cephalgia is simply the medical term for headache, derived from the Greek words for “head” and “pain.” While it sounds clinical, the word covers everything from a dull ache after a long day to a debilitating migraine that sends someone to the emergency room. Nearly 2.9 billion people worldwide were affected by headache disorders in 2023, making them among the most common neurological complaints on the planet.1Lancet Neurology. Global, regional, and national burden of headache disorders, 1990-2023: a systematic analysis for the Global Burden of Disease Study 2023 Understanding what falls under this umbrella, why it happens, and when it signals something more serious turns out to be far more layered than “take a painkiller and wait.”

Primary Versus Secondary Headaches

The most fundamental distinction in headache medicine is between primary and secondary cephalgia. A primary headache is the condition itself: migraine, tension-type headache, and cluster headache are the major examples. Nothing else is causing them; the headache is the disease. A secondary headache, by contrast, is a symptom of something else, whether that is a sinus infection, a medication side effect, a brain bleed, or high intracranial pressure. Sorting out which category a headache belongs to is the crucial first step in both clinical care and research.2Headache: The Journal of Head and Face Pain. The International Classification of Headache Disorders, 3rd Edition – Changes and Challenges

In emergency departments, a few factors strongly predict that a headache is primary rather than secondary. Patients whose headaches meet standard diagnostic criteria, who have a personal history of migraine, and who report a pattern of similar past episodes are far more likely to have a primary cause.3PLoS ONE. Headache at the emergency room: Etiologies, diagnostic usefulness of the ICHD 3 criteria, red and green flags That said, no one should assume “I’ve had headaches before, so this one is fine.” Red flags exist for a reason.

Red Flags That Demand Attention

A set of warning signs, organized into a checklist called SNNOOP10, helps clinicians screen for dangerous secondary causes. The red flags include sudden or explosive onset (the classic “thunderclap” headache), fever accompanying the headache, a new headache in someone over 65, headache that worsens with coughing or exertion, headache triggered by a change in position, any new neurological symptoms like weakness or confusion, visible swelling of the optic nerve, headache following head trauma, and headache in someone with a weakened immune system or a history of cancer.4PubMed Central. Red and orange flags for secondary headaches in clinical practice: SNNOOP10 list A headache during pregnancy or the postpartum period and one that progressively worsens over weeks also warrant urgent investigation. Painkiller overuse itself is another flag, as it can transform an occasional headache into a chronic daily one.

The presence of any single red flag does not guarantee a sinister cause, but it shifts the odds enough that imaging or further workup becomes warranted. The absence of all of them, combined with a history that fits a known primary pattern, is powerfully reassuring.

How Migraine Works

Migraine is the best-understood primary headache, and the story centers on the trigeminovascular system: a network of nerve fibers from the trigeminal nerve that wraps around blood vessels in the membranes covering the brain. When these fibers become activated, they release a signaling molecule called CGRP (calcitonin gene-related peptide).5PubMed Central. CGRP and the Trigeminal System in Migraine CGRP dilates blood vessels, triggers local inflammation, and sensitizes the nerve endings so that normally painless stimuli start to hurt. What makes the process self-reinforcing is that CGRP does not just act locally at the blood vessels. It is also released inside the trigeminal ganglion, where it signals between nerve cells and their surrounding support cells, ramping up the production of pain-promoting molecules and keeping the whole system in a heightened state.6PubMed Central. The big CGRP flood – sources, sinks and signalling sites in the trigeminovascular system

This understanding did not arrive overnight. The idea that the trigeminovascular system drives migraine was proposed about four decades ago, and it took years of work, first blocking CGRP in animal models and then developing antibodies that neutralize it in humans, to confirm the theory. Today the trigeminovascular model is widely accepted as the foundation for migraine biology and has directly inspired the newest wave of treatments.7PubMed Central. Migraine and the trigeminovascular system-40 years and counting

About a quarter to a third of people with migraine also experience aura: temporary visual disturbances, tingling, or speech difficulties that precede or accompany the headache. Aura corresponds to a phenomenon called cortical spreading depression, a slow wave of intense nerve-cell activity followed by a prolonged period of electrical silence that rolls across the surface of the brain.8PubMed Central. Migrainous Infarction and Cortical Spreading Depression The wave advances at a few millimeters per minute, which matches the gradual march of visual symptoms across a person’s field of vision. In rare cases, if blood supply cannot keep pace with the metabolic demands of this wave, the result can be a migrainous infarction, essentially a stroke triggered by the migraine itself.

Tension-Type Headache and Why It Becomes Chronic

Tension-type headache is the most common form of cephalgia, yet it gets far less research funding and attention than migraine. The hallmark finding in patients with tension-type headache is increased tenderness in the muscles and connective tissue around the skull, particularly in the neck and shoulder area.9PubMed. The role of muscles in tension-type headache Trigger points, those hard knots in muscles that hurt when pressed and radiate pain to other areas, are substantially more numerous in people with tension-type headache than in headache-free controls.10PubMed. Myofascial trigger points and sensitization: an updated pain model for tension-type headache

In the episodic form, where headaches come and go, the problem appears to be primarily peripheral: the muscles and their nerve endings are sending abnormal pain signals. But when headaches occur nearly every day, the pain system itself changes. Prolonged input from those tender muscles causes the pain-processing neurons in the brainstem to become sensitized, meaning they start amplifying ordinary signals into painful ones.11PubMed. Central sensitization in tension-type headache–possible pathophysiological mechanisms This central sensitization is likely what converts occasional tension-type headaches into the chronic form, and it explains why chronic cases are so much harder to treat: the problem has moved from the muscles into the wiring of the nervous system itself.

Cluster Headache and Circadian Rhythms

Cluster headache belongs to a family called the trigeminal autonomic cephalalgias. These headaches are strictly one-sided, extremely severe, and accompanied by autonomic symptoms on the same side of the face: a drooping eyelid, tearing eye, nasal congestion, or facial sweating. What makes cluster headache especially distinctive is its clockwork precision. Attacks tend to strike at the same time of day, often waking someone from sleep, and cluster periods themselves tend to recur in the same season each year. Preliminary research has linked this timing to core circadian clock genes, suggesting that the hypothalamus, the brain’s internal clock, plays a central role in triggering bouts.12PubMed Central. Emerging relevance of circadian rhythms in headaches and neuropathic pain

People who have never witnessed a cluster attack sometimes underestimate how severe they are. The pain has been described as worse than childbirth or kidney stones, and patients frequently pace, rock, or even bang their heads during an episode. Unlike migraine, which tends to make people lie still in a dark room, cluster headache produces restless agitation.

Headaches That Start in the Neck

Cervicogenic headache is a secondary headache that originates from structures in the upper neck rather than the brain. The mechanism relies on a convergence of nerve signals: pain fibers from the upper cervical spine share relay neurons with fibers from the trigeminal nerve in a region called the trigeminocervical nucleus.13PubMed. Convergence of cervical and trigeminal sensory afferents Because of this wiring overlap, a problem in the neck, such as a stiff joint, a disc issue, or a trigger point, can generate pain that the brain interprets as coming from the head and face.14PubMed Central. Understanding cervicogenic headache

This type of headache typically starts at the back of the head or neck and radiates forward, worsens with certain neck movements or sustained postures, and does not switch sides. It is commonly misdiagnosed as migraine or tension-type headache, but the treatment is quite different: physical therapy, nerve blocks, and addressing the cervical spine pathology are the mainstays, rather than the migraine-specific drugs that would be tried for a primary headache.

Hormonal Triggers in Migraine

Migraine affects women roughly twice as much as men after puberty, and the sex hormone estrogen is the main reason. The estrogen withdrawal hypothesis holds that the natural drop in estrogen levels just before menstruation acts as a trigger for migraine attacks.15PubMed Central. Menstrual migraine is caused by estrogen withdrawal: revisiting the evidence Estrogen modulates pain signaling within the trigeminovascular system, so when its levels fall, the threshold for triggering a migraine drops as well. A second mechanism involves prostaglandins, inflammatory mediators that rise during menstruation and lower the pain threshold further.16PubMed. Menstrual migraine: a distinct disorder needing greater recognition

Menstrual migraine tends to be longer, more severe, and harder to treat than attacks at other times of the cycle. It also explains patterns many women notice: improvement during pregnancy (when estrogen levels stay high), worsening around perimenopause (when estrogen fluctuates erratically), and sometimes improvement after menopause (when estrogen stabilizes at a low level). The disability burden from headache disorders is more than twice as high in women as in men, a gap that hormonal biology largely accounts for.17Lancet Neurology. Global, regional, and national burden of headache disorders, 1990-2023: a systematic analysis for the Global Burden of Disease Study 2023

Weather, Sleep, and Other Triggers

Many headache sufferers swear they can predict rain by their head pain. The evidence on barometric pressure is real but messy. A systematic review found some support for a link between drops in barometric pressure and increased migraine frequency, though the effect on severity was unclear and no evidence supported a relationship with attack duration.18PubMed Central. Impact of Barometric Pressure Changes on the Severity, Frequency, and Duration of Migraine Attacks: A Systematic Review of the Literature One study found that small pressure decreases of about 6 to 10 hectopascals below the standard atmospheric pressure most frequently triggered migraine in susceptible patients.19PubMed Central. Examination of fluctuations in atmospheric pressure related to migraine Barometric pressure changes are also recognized triggers of two specific secondary headaches: high-altitude headache and headache from airplane travel.20PubMed. Headache and Barometric Pressure: a Narrative Review

Sleep is another major player, and the relationship runs in both directions. Poor sleep can trigger or worsen headaches, and frequent headaches in turn disrupt sleep quality.21PubMed. Sleep and headache: a bidirectional relationship This creates a vicious cycle that is especially common in chronic migraine: bad nights fuel more headaches, which fuel more bad nights. Addressing sleep hygiene is often one of the earliest and simplest interventions a headache specialist recommends.

When Painkillers Become the Problem

Medication overuse headache is one of the cruelest traps in headache medicine. A person takes painkillers for legitimate headaches, but using them too frequently, generally more than ten to fifteen days per month, actually rewires the brain’s pain system. The result is a new kind of daily or near-daily headache that only temporarily improves with the same medication, driving a cycle of escalating use.

Several mechanisms have been proposed for how this happens. One theory involves central sensitization from repeated activation of pain pathways. Another centers on the medication directly impairing the brain’s built-in ability to suppress pain. Changes in serotonin signaling and alterations in a brainstem region called the periaqueductal gray matter have also been implicated.22PubMed. Medication overuse headache from antimigraine therapy: clinical features, pathogenesis and management Even migraine-specific medications like triptans are not exempt: prolonged triptan use has been linked to elevated CGRP levels in the blood, the very molecule that drives migraine attacks in the first place.23PubMed Central. Pathophysiology of medication overuse headache: insights and hypotheses from preclinical studies The primary treatment is withdrawal from the offending medication, which typically causes a temporary worsening before improvement begins.

CGRP-Targeted Therapies

Understanding the role of CGRP in migraine led directly to a new class of drugs. These fall into two categories: monoclonal antibodies (large, injectable proteins that mop up CGRP or block its receptor for weeks at a time) and gepants (small-molecule pills that block the CGRP receptor and can be taken as needed for an acute attack or daily for prevention).24PubMed Central. Gepants for Acute and Preventive Migraine Treatment: A Narrative Review A network meta-analysis of phase 3 trials found that medications targeting CGRP reduced monthly migraine and headache days compared to placebo and showed higher rates of patients achieving at least a 50 percent reduction in attacks.25PubMed. Evaluating the efficacy of CGRP mAbs and gepants for the preventive treatment of migraine: A systematic review and network meta-analysis of phase 3 randomised controlled trials

For many patients who had cycled through older preventives like blood-pressure medications or antidepressants without adequate relief, CGRP-targeted therapies have been genuinely transformative. They also carry fewer systemic side effects than the repurposed drugs that previously formed the backbone of migraine prevention, because they are designed specifically for the migraine pathway rather than borrowed from cardiology or psychiatry.

Neuromodulation and Behavioral Approaches

Not everyone wants or can tolerate daily medication, which has driven interest in device-based and behavioral treatments. Vagus nerve stimulation, delivered through a handheld device pressed against the neck, has been studied for both acute and preventive treatment of migraine. In one randomized trial, the device nearly tripled the rate of pain freedom at 30 minutes compared to a sham device.26PubMed Central. Noninvasive vagus nerve stimulation as acute therapy for migraine: The randomized PRESTO study A meta-analysis found that stimulation applied to the ear (auricular vagus nerve stimulation) significantly reduced the number of migraine days and headache intensity, while cervical stimulation improved the proportion of patients who responded by at least 50 percent.27PubMed Central. Noninvasive vagus nerve stimulation for migraine: a systematic review and meta-analysis of randomized controlled trials

On the behavioral side, cognitive behavioral therapy has shown meaningful reductions in headache frequency and migraine-related disability in meta-analyses.28PubMed Central. Cognitive Behavioral Therapy for Migraine Headache: A Systematic Review and Meta-Analysis Mindfulness-based cognitive therapy tailored specifically for migraine has also shown promise in reducing headache-related disability compared to usual care alone.29PubMed Central. Does Mindfulness-Based Cognitive Therapy for Migraine Reduce Migraine-Related Disability in People with Episodic and Chronic Migraine? A Phase 2b Pilot Randomized Clinical Trial These approaches do not replace medication in severe cases, but they address the anxiety, catastrophizing, and behavioral patterns that often amplify the headache experience.

Cephalgia in Children

Headache disorders are not limited to adults, and in children they sometimes present in unexpected ways. Abdominal migraine, for instance, involves recurrent bouts of belly pain with nausea, vomiting, and paleness rather than a traditional headache. It affects roughly 0.2 to 4 percent of children and is classified as a functional abdominal pain disorder.30PubMed Central. Review of Abdominal Migraine in Children These “abdominal variants” of migraine, which also include cyclic vomiting syndrome and even infantile colic, are considered pediatric precursors to migraine, meaning many of these children go on to develop typical head-pain migraines later in life.31PubMed Central. Brain to Belly: Abdominal Variants of Migraine and Functional Abdominal Pain Disorders Associated With Migraine Recognizing these connections matters for both diagnosis and reassurance: parents dealing with a child who has mysterious recurrent stomach pain may be looking in entirely the wrong organ system.

The Gut-Brain Axis and Migraine

The connection between the gut and the brain has become one of the more intriguing frontiers in headache research. In animal studies, depleting gut bacteria with broad-spectrum antibiotics prolonged migraine-like pain responses and increased inflammation in the brainstem area that processes head and face pain. Germ-free mice showed a similarly exaggerated pain response, but colonizing their guts with normal bacteria through fecal transplant reversed it.32PubMed Central. Gut microbiota and migraine These are animal findings and should be taken with appropriate caution, but they suggest that the composition of gut bacteria may influence the sensitivity of the migraine pain system. It is still early days, and no one should be treating their migraines with probiotics based on mouse data alone, but the research direction is active and growing.

The Search for Objective Biomarkers

Headache diagnosis today is almost entirely clinical, based on the patient’s description of their symptoms. There is no blood test, no scan, and no objective marker that confirms a migraine or a tension-type headache. Imaging is used mainly to rule out secondary causes, not to diagnose primary ones. Researchers have explored functional brain imaging techniques combined with machine learning to distinguish between headache subtypes based on patterns of brain connectivity and activation.33PubMed Central. A state-of-the-art review of functional magnetic resonance imaging technique integrated with advanced statistical modeling and machine learning for primary headache diagnosis A recent systematic review concluded that imaging-based biomarkers are the most promising group under current investigation, particularly for cases where the clinical presentation is atypical and the diagnosis uncertain.34PubMed Central. Biomarkers in headaches as a potential solution to simplify differential diagnosis of primary headache disorders: a systematic review However, reliable and robust neuroimaging biomarkers remain lacking, in part because both migraine biology and brain imaging patterns vary considerably from person to person.35PubMed. Functional Neuroimaging Biomarkers in Migraine: Diagnostic, Prognostic and Therapeutic Implications

Global Burden and Why It Matters

The Global Burden of Disease study ranks headache disorders as the second leading cause of years lived with disability worldwide, and among people aged 15 to 49, migraine alone is third.36PubMed. The Global Burden of Headache Those rankings land headache disorders in the company of conditions like low back pain and depression, which receive far more public health attention and research funding. The global age-standardized prevalence sat at about 35 percent in 2023, and that figure has been essentially stable for three decades despite advances in treatment.37Lancet Neurology. Global, regional, and national burden of headache disorders, 1990-2023: a systematic analysis for the Global Burden of Disease Study 2023 The persistence of that number suggests that better treatments are reaching only a fraction of the people who need them, and that prevention strategies remain inadequate at the population level.

Headaches Through History

Humans have been trying to solve cephalgia for a very long time. Observations on headache stretch back nearly 9,000 years, with some of the earliest written descriptions appearing in Mesopotamian ritual texts about 4,000 years ago.38PubMed. Headaches in antiquity and during the early scientific era Ancient surgeons practiced trepanation, drilling or scraping holes in the skull, as a treatment for head pain, a practice that persisted across multiple civilizations.39PubMed. The chronicle of headache treatment throughout human history from trepanation to perisutural botulinum toxin injections Whether trepanation occasionally helped, perhaps by relieving intracranial pressure in the rare case where that was the actual problem, or whether it mostly just added a skull wound to an already bad day, remains an open historical question. What is clear is that the impulse to understand and fix head pain is among the oldest threads in medicine, and the fact that we are still refining our answers says less about scientific failure than about how deeply complex the nervous system turns out to be.