ICD-10 codes are like a language for doctors and insurance companies. They describe illnesses and symptoms in a standardized way. The claim may get rejected, the code is wrong.
That’s why knowing what are the ICD 10 code for headache matters so much
Let’s explore the ICD-10 coding for headache and understand how to correctly document headaches for medical claims.
Primary ICD-10 Code for Headache
The general ICD-10 code for headache is R51.9. It stands for “Headache, unspecified.” This code is often used when the exact cause of the headache is unknown.
Common Codes for Headache Types

The right code depends on the type of headache the provider documents. These are the codes used most often:
| Headache type | ICD-10-CM code | Code description |
| Headache, cause not documented | R51.9 | Headache, unspecified |
| Headache that changes with position | R51.0 | Headache with orthostatic component, not elsewhere classified |
| Tension-type headache | G44.209 | Tension-type headache, unspecified, not intractable |
| Migraine without aura | G43.009 | Migraine without aura, not intractable, without status migrainosus |
| Migraine with aura | G43.109 | Migraine with aura, not intractable, without status migrainosus |
| Migraine, type not documented | G43.909 | Migraine, unspecified, not intractable, without status migrainosus |
| Chronic migraine without aura | G43.709 | Chronic migraine without aura, not intractable, without status migrainosus |
| Chronic migraine with aura | G43.E09 | Chronic migraine with aura, not intractable, without status migrainosus |
| Cluster headache | G44.009 | Cluster headache syndrome, unspecified, not intractable |
| Post-traumatic headache | G44.309 | Post-traumatic headache, unspecified, not intractable |
| Medication overuse (drug-induced) headache | G44.40 | Drug-induced headache, not elsewhere classified, not intractable |
How the migraine codes work: the fourth character sets the type (G43.0 without aura, G43.1 with aura, G43.7 chronic without aura, G43.E chronic with aura, G43.9 unspecified). The fifth character says whether the migraine is intractable (1) or not (0), and the sixth whether status migrainosus is present (1) or not (9). So an intractable migraine without aura and without status migrainosus is G43.019, not a separate “intractable headache” code.
R51 is no longer billable. On October 1, 2020, R51 was replaced by R51.0 and R51.9. A claim that still uses R51 on its own will be rejected.
Codes are from the ICD-10-CM code set published by CMS. Always check the current year’s code set before billing.
Tips for Correct Coding

- Always assess the type of headache before choosing a code.
- Use a specific headache code only when the provider documents the headache type.
- Don’t code frequency alone; code the headache type that is documented.
- Be cautious with vague descriptions such as “head pain”; ask the provider to document the type.
Why Correct Coding Matters
Using the correct ICD-10 code can:
- Reduces the insurance claim denials.
- Help in fast processing of insurance claims.
- Give proper medical documentation for follow-ups.
- Avoid confusion and helps doctor to understand the patient’s condition
So knowing what are the ICD 10 code for headache is not just useful—it’s necessary.
Common Mistakes in Headache Coding
- Using unspecified codes like R51.9 too often.
- Confusing migraine with tension headache.
- Ignoring modifiers like “with aura” or “intractable.”
- Choosing a code without enough clinical detail.
- Missing secondary symptoms that could change the code.
Tips to Choose the Right Code?
- Ask the right questions
- Use the patient’s history to check for aura or frequency.
- Refer to the headache code table above.
Final Words
Accurate coding saves time and improves healthcare results. You can approach medical billing with confidence, if you know what are the ICD 10 code for headache. From R51.9 to the G43 migraine codes, each code tells a unique story about a patient’s health. Remember, the more specific your coding, the better the care and reimbursement.
Prospect Healthcare Solutions is here to help with your billing needs.
FAQs
Q1: What is the main ICD-10 code for headache?
A: The general code is R51.9, which stands for “Headache, unspecified.”
Q2: What’s the difference between tension headache and migraine codes?
A: Tension headaches (G44.209) are usually stress-related. Migraines (like g43.109) are neurological and often more severe.
Q3: Can I use R51.9 (headache, unspecified) for all patients?
A: It’s best to be specific. Use the code the documentation supports, such as G44.209 for tension-type headache or G43.009 / G43.109 for migraine without or with aura.
Q4: What if a patient reports frequent headaches?
A: Use a tension or migraine code based on diagnosis. Frequent occurrence alone isn’t a code.
Q5: Is R51 still a valid headache code?
A: No. R51 was retired on October 1, 2020 and split into R51.0 and R51.9. Use R51.9 for an unspecified headache.