Cephalalgia is the medical term for pain perceived in any region of the head — including the cranium, scalp, face, and upper neck — arising from activation of peripheral nociceptors in pain-sensitive cranial structures such as the meninges, blood vessels, cranial nerves, and periosteal tissues. It is distinguished from facial pain and neuralgia (which are typically localized to a specific nerve territory) by its broader topographic distribution, although considerable overlap exists in clinical documentation. The underlying mechanism varies by headache type: primary headache disorders — migraine, tension-type headache, and cluster headache — arise from intrinsic neurophysiological dysfunction (trigeminovascular activation, cortical spreading depression, trigeminal autonomic reflex arcs) without structural brain pathology, while secondary headaches reflect pain driven by an identifiable underlying cause (e.g., intracranial hypertension, infection, hemorrhage, vascular lesion, medication overuse). In ICD-10-CM, cephalalgia is coded either under the symptom code R51.9 (headache, unspecified) when no specific type is documented, or under the G43-G44 range when a specific headache disorder is identified — guidelines strongly favor the most specific code available. It is commonly confused with migraine in documentation, but migraine requires specific features (unilateral throbbing pain, nausea, photophobia/phonophobia, and/or aura) to qualify; undifferentiated “headache NOS” does not meet migraine criteria and must remain coded at R51.9 or G44.89 until specified by the provider.
“head,” “uppermost part,” “source” — combining form used as a directional/anatomical prefix indicating the head, skull, or cranium; from Proto-Indo-European *ghebh-el-
-algia / -algos
Ancient Greek ἄλγος (álgos), from ἀλγεῖν (algeîn)
“pain,” “suffering,” “to feel pain” — noun-forming suffix and base indicating pain or a painful condition; related to ἀλέγειν (alégein), “to care about,” originally “to feel distress”
The word entered English in the 1660s as cephalalgia (noun), borrowed from Latin cephalalgia, from Ancient Greek κεφαλαλγία (kephalalgía) — literally “head pain” or “pain of the head.” The Greek source compound kephalalg-ēs meant “one having a headache.” The root κεφαλή (kephalḗ, “head”) connects cephalalgia to the entire cephal- root family: cephalic (of or pertaining to the head), hydrocephalus (water → head → excess CSF in the cranial cavity), encephalitis (within → head → inflammation of the brain), and cephalometry (measurement of the skull). The suffix -algia is highly productive in medical terminology: neuralgia, myalgia, arthralgia, otalgia, and fibromyalgia. An alternate English form, cephalalgy, was used historically and is now considered dated. The adjectival form cephalalgic (describing a patient experiencing or prone to head pain) entered use in the same period.
🔀 ALIASES / ALTERNATE TERMS
Cephalalgic(adjective form — appears clinically as “cephalalgic episode,” “cephalalgic presentation,” “cephalalgic syndrome”; used to characterize a patient experiencing or susceptible to recurring head pain)
Headache(universal lay and clinical synonym; the most frequently used term in provider documentation, nursing notes, and chief complaint fields; functionally equivalent to cephalalgia)
Cephalalgy(dated alternate noun form — historically used in older medical literature; now obsolete in modern clinical practice; recognized as an alias in coding references)
Head pain(lay descriptor; acceptable for documentation but generally coded as R51.9 unless further specified by the provider as a classifiable headache type)
Migraine(the most clinically significant primary headache subtype; distinguished by unilateral throbbing pain, nausea, photo/phonophobia, with or without aura; coded under G43.xx family; requires provider-documented diagnosis)
Tension-type headache(most common primary headache worldwide; bilateral pressure/tightening quality, mild-to-moderate intensity, no nausea; episodic coded G44.219, chronic coded G44.229)
Cervicogenic headache(headache originating from cervical spine structures; distinct etiology; coded G44.86; requires documentation linking head pain to cervical pathology)
Post-traumatic headache(headache following head or neck injury; coded G44.309 unspecified/not intractable or G44.319 intractable; sequence trauma code first)
Drug-induced headache / Medication overuse headache (MOH)(headache arising from overuse of analgesics, triptans, or ergotamines; coded G44.40 unspecified/not intractable or G44.41 intractable; also called rebound headache)
Vascular headache(headache attributed to vascular etiology not classified as migraine; coded G44.1 when documented as such; use with caution — confirm provider intends this specific category)
🔗 RELATED TERMS
Migraine — the most clinically specific and commonly coded primary headache disorder; distinguished from cephalalgia NOS by characteristic features (unilateral, pulsating, moderate-to-severe intensity, nausea/vomiting, photo/phonophobia, with or without aura); coded G43.xx; requires explicit provider diagnosis
Aura — transient neurological symptoms (visual, sensory, motor, language) that precede or accompany migraine in approximately one-third of patients; coded under G43.1xx (migraine with aura) when documented; the presence or absence of aura is a required specificity axis in G43 coding
Status migrainosus — a migraine attack lasting more than 72 hours; coded under the G43.xx family using the “with status migrainosus” axis (e.g., G43.011, G43.111); a critical undercoding point in inpatient settings
Cluster headache — a trigeminal autonomic cephalalgia (TAC); unilateral, excruciating periorbital pain with ipsilateral lacrimation, rhinorrhea, ptosis, and miosis; episodic vs. chronic determines final G44.0xx code
Trigeminal autonomic cephalalgias (TAC) — a group of primary headache disorders including cluster headache, paroxysmal hemicrania, SUNCT, and SUNA; all coded under G44.0xx family; share the defining feature of unilateral head pain with ipsilateral cranial autonomic symptoms
Intracranial hypertension — elevated CSF pressure causing secondary headache (often positional, worse with Valsalva); coded G93.2 (Benign intracranial hypertension) or G91.x (hydrocephalus); headache coded as additional code
Meningismus — neck stiffness and head pain associated with meningeal irritation; coded as sign/symptom pending workup results; a red-flag presentation requiring urgent evaluation before coding headache as primary
Cervicogenic headache — headache referred from cervical spine structures (C1-C3 nerve roots, facet joints, muscles); coded G44.86; requires linking documentation; treated with nerve blocks and physical therapy
Trigeminovascular system — the anatomical and physiological pathway (trigeminal nerve + dural blood vessels + trigeminocervical complex) whose activation is the primary mechanism of migraine and cluster headache pain
Cortical spreading depression (CSD) — the neurophysiological wave of neuronal and glial depolarization propagating across the cortex at ~3-5 mm/min; the electrophysiological substrate of migraine aura and a trigger for trigeminovascular activation
Medication overuse headache (MOH) — paradoxical chronic daily headache resulting from frequent use of acute headache treatments; coded G44.40 or G44.41; requires documentation of overuse pattern (≥10-15 days/month depending on agent)
Photophobia — hypersensitivity to light; a cardinal associated feature of migraine; coded H53.19 when documented as a distinct finding; not separately coded when inherent to migraine diagnosis
Phonophobia — hypersensitivity to sound; companion symptom to photophobia in migraine; similarly bundled into migraine diagnosis code when documented as part of the migraine episode
Thunderclap headache — sudden-onset, severe “worst headache of life” reaching peak intensity within 60 seconds; red-flag presentation requiring immediate imaging to rule out subarachnoid hemorrhage; coded R51.9 pending workup or with a confirmed etiology code
CODING CORNER
🏥 ICD-10-CM CODES
Headache, Unspecified / General (R51 — Symptom Codes)
Code
Description
R51.0
Headache with orthostatic component (positional; associated with CSF pressure disorders)
R51.9
Headache, unspecified (cephalalgia NOS; use only when no specific headache type is documented)
Migraine (G43 — Primary Headache Disorder)
Code
Description
G43.-
Migraine — parent/category code, NOT billable
G43.001
Migraine without aura, not intractable, with status migrainosus
G43.009
Migraine without aura, not intractable, without status migrainosus
G43.011
Migraine without aura, intractable, with status migrainosus
G43.019
Migraine without aura, intractable, without status migrainosus
G43.101
Migraine with aura, not intractable, with status migrainosus
G43.109
Migraine with aura, not intractable, without status migrainosus
G43.111
Migraine with aura, intractable, with status migrainosus
G43.119
Migraine with aura, intractable, without status migrainosus
G43.401
Hemiplegic migraine, not intractable, with status migrainosus
G43.409
Hemiplegic migraine, not intractable, without status migrainosus
G43.411
Hemiplegic migraine, intractable, with status migrainosus
G43.419
Hemiplegic migraine, intractable, without status migrainosus
G43.501
Persistent migraine aura without cerebral infarction, not intractable, with status migrainosus
G43.509
Persistent migraine aura without cerebral infarction, not intractable, without status migrainosus
G43.601
Persistent migraine aura with cerebral infarction, not intractable, with status migrainosus
G43.609
Persistent migraine aura with cerebral infarction, not intractable, without status migrainosus
G43.701
Chronic migraine without aura, not intractable, with status migrainosus
G43.709
Chronic migraine without aura, not intractable, without status migrainosus
G43.711
Chronic migraine without aura, intractable, with status migrainosus
G43.719
Chronic migraine without aura, intractable, without status migrainosus
G43.821
Menstrual migraine, not intractable, with status migrainosus
G43.829
Menstrual migraine, not intractable, without status migrainosus
G43.831
Menstrual migraine, intractable, with status migrainosus
G43.839
Menstrual migraine, intractable, without status migrainosus
G43.901
Migraine, unspecified, not intractable, with status migrainosus
G43.909
Migraine, unspecified, not intractable, without status migrainosus
G43.911
Migraine, unspecified, intractable, with status migrainosus
G43.919
Migraine, unspecified, intractable, without status migrainosus
IV infusion; each additional hour (report in addition to 96365 for each additional hour of infusion)
⚠️ Coding Note: The single most important principle in headache coding is specificity hierarchy: R51.9 (headache, unspecified) must never be used when the provider has documented a classifiable headache type — the G43-G44 range takes precedence per ICD-10-CM Chapter 6 guidelines, and payers increasingly audit claims where R51.9 is used on a neurology claim that clearly supports a more specific code. For inpatient profee, a critical undercoding alert: when a patient is admitted and the provider documents “intractable migraine,” “status migrainosus,” or “migraine not responding to outpatient treatment,” the intractability axis (G43.x1x) and the status migrainosus axis (G43.xx1) must each be captured — failing to code status migrainosus (>72 hours) on an inpatient claim is one of the most commonly missed specificity opportunities in neurology profee coding and may affect DRG grouping. For G43.- migraine codes, three documentation-driven axes must be confirmed before final code selection: (1) with or without aura, (2) intractable vs. not intractable, and (3) with or without status migrainosus — query the provider if any axis is absent in the documentation. When billing 64615 (Botox for chronic migraine), the diagnosis must be confirmed chronic migraine (≥15 headache days/month, ≥8 of which meet migraine criteria, for >3 months) — G43.709 or the appropriate intractable variant — and most payers require documented failure of at least two preventive drug classes prior to authorization; bill HCPCS J0585 (OnabotulinumtoxinA, per unit) separately for the drug itself. Modifier -50 applies to bilateral occipital nerve blocks (64405) when both sides are injected in the same session; do not append modifier -50 to 64615, which is by definition a bilateral code per CPT descriptor.