Headache ICD-10 Code (R51.9): Complete Coding Guide for 2026

Headache ICD-10 Code (R51.9): Complete Coding Guide for 2026

A patient comes in complaining of a headache. It might happen in the morning last for days or keep coming back again and again. Some people say they feel a pressure, around their forehead while others have really strong pain that makes it hard to do normal things.

Even though these signs might seem like something you’ve heard before they don’t always mean the same thing is wrong.

For doctorso treating patients choosing the headache ICD-10 code depends on what they find during the exam and how the situation is written down.

The most commonly referenced code is R51.9 (Headache, unspecified). However, it is not appropriate for every headache related encounter. Migraines, tension-type headaches, cluster headaches and other diagnosed headache disorders have their own ICD-10-CM classifications.

This guide explains when to use R51.9, how to distinguish it from other headache codes, and what documentation supports accurate diagnosis coding and medical billing in 2026.

What Is the ICD-10 Code for Headache?

The ICD-10 code for headache is R51.9 when a healthcare provider documents a headache, without identifying a type or underlying condition.

R51.9 is part of Chapter 18 of ICD-10-CM which covers symptoms, signs and abnormal clinical findings that are not classified elsewhere.

Headache ICD-10 Code R51.9

Coding Detail Description
ICD-10-CM code R51.9
Official description Headache, unspecified
Code category R51 – Headache
Classification Symptoms and signs
Billable code Yes
Clinical application Headache without a more specific documented diagnosis
Applicable settings Outpatient clinics, physician offices, emergency departments, and hospitals

R51.9 is a billable diagnosis code. R51.9 allows providers to report headaches when an evaluation has not established a specific diagnosis.

However, a billable diagnosis code does not automatically establish necessity or guarantee reimbursement. The diagnosis must be appropriate, for the patient’s documented condition. The services performed.

When Should Providers Use ICD-10 Code R51.9?

Consider a patient who visits a primary care clinic because of head pain that began two days earlier.

The physician examines the patient, reviews their symptoms, and discusses possible causes. No definite headache disorder or underlying condition is established during the encounter.

In this situation, R51.9 may accurately describe the reason for the visit.

Providers may use the code when:

  • The patient reports a headache without a confirmed headache disorder.
  • Clinical evaluation does not establish a specific cause.
  • The medical record documents headache symptoms but lacks a definitive diagnosis.
  • Further diagnostic testing or specialist evaluation is needed.
  • Headache is the condition primarily evaluated or treated during the visit.

Important: R51.9 should not be used just because a patient says they have head pain. If the doctor says the patient has migraine or tension-type headache or another clear condition the recorded diagnosis should be the one that is used to choose the code.

A symptom code can be right when the reason is not known. It should not be used of a more specific diagnosis that is already, in the medical record.

Common Headache ICD-10 Codes Providers Should Know

Headaches can happen numbers of times. Some last a few minutes. Others go on for hours or even days. The pain can be mild or very severe. Each headache may have a reason, behind it. Because of these differences, doctors look at how it happens how long it lasts and how bad it feels. All these things help decide what kind of headache it is.

The following table highlights commonly used headache diagnosis codes.

ICD-10-CM Code Description
R51.9 Headache, unspecified
R51.0 Headache with orthostatic component, not elsewhere classified
G43.909 Migraine, unspecified, not intractable, without status migrainosus
G43.109 Migraine with aura, not intractable, without status migrainosus
G44.209 Tension-type headache, unspecified, not intractable
G44.229 Chronic tension-type headache, not intractable
G44.009 Cluster headache syndrome, unspecified, not intractable
G44.52 New daily persistent headache (NDPH)
G44.86 Cervicogenic headache
G44.309 Post-traumatic headache, unspecified, not intractable

These codes are not interchangeable. Each code describes a diagnosis or symptom.

For instance if a patient has a confirmed migraine the correct code will come from category G43, not R51.9.

Also, if a headache starts after an injury the coder should check the injury-related coding instructions carefully before choosing the final diagnosis code.

The right code must match the documentation. It should follow all code- rules and sequencing guidelines.

Understanding Different Types of Headaches and Their ICD-10 Codes

1. Unspecified Headache – R51.9

An unknown type of headache is noted when the doctor acknowledges the symptom but doesn’t determine a type of headache condition.

Patients might say they feel pressure, a pulsing sensation or just general pain in their head. These kinds of descriptions, by themselves don’t confirm a migraine, a tension headache or any other specific type of headache.

Example: A patient says they have had headaches now and for the last three days. The doctor does an exam. Doesn’t find a specific type of headache condition.

Appropriate code: R51.9

The code reflects the diagnosis documented at the time of the encounter.

2. Migraine Headache – G43 Category

Migraine is a headache disorder that can bring about repeated attacks of moderate to severe pain.

Some patients with migraine feel nausea, vomiting, sensitivity to light or sensitivity to sound. Some other patients with migraine see an aura that involves sensory disturbances.

The ICD-10‑CM code, for migraine depends on the documented migraine type and characteristics.

Code Description
G43.909 Migraine, unspecified, not intractable, without status migrainosus
G43.109 Migraine with aura, not intractable, without status migrainosus
G43.019 Migraine without aura, intractable, without status migrainosus
G43.901 Migraine, unspecified, not intractable, with status migrainosus

A full migraine diagnosis should check if the condition is hard to treat and if status migrainosus is happening, if that applies.

Example: A neurologist diagnoses migraine without aura and documents that the condition is intractable, without status migrainosus.

Appropriate code: G43.019

Selecting R51.9 instead would fail to capture the established migraine diagnosis.

3. Tension-Type Headache – G44.2 Category

Tension-type headaches are often described as tightness or pressure around the head.

A patient may report a dull ache across the forehead or a squeezing sensation on both sides of the head.

When the physician diagnoses a tension-type headache, coding moves into category G44.2.

Common codes include:

Code Description
G44.209 Tension-type headache, unspecified, not intractable
G44.201 Tension-type headache, unspecified, intractable
G44.219 Episodic tension-type headache, not intractable
G44.229 Chronic tension-type headache, not intractable

Example: A patient has recurring headaches, and the physician confirms an episodic tension-type headache that is not intractable.

Appropriate code: G44.219

The documentation should support the diagnosed headache pattern and characteristics.

4. Cluster Headache – G44.0 Category

Cluster headaches can produce severe pain, typically around one eye or on one side of the head.

Attacks may occur repeatedly over a period of weeks or months.

Depending on the diagnosis, codes may include:

  • G44.009: Cluster headache syndrome, unspecified, not intractable.
  • G44.019: Episodic cluster headache, not intractable.
  • G44.029: Chronic cluster headache, not intractable.

Providers should distinguish episodic and chronic cluster headache diagnoses when supported by the medical record.

5. Headache With an Orthostatic Component – R51.0

Some patients experience headaches that change a lot depending on their body position.

For instance the head pain might get worse when standing up and get better when lying down.

The code R51.0 is used for a headache that has a component and is not classified elsewhere.

If a detailed evaluation finds a specific cause—like a complication, after a procedure—providers should choose the correct diagnosis code for that cause instead of automatically using R51.0.

6. Post-Traumatic Headache – G44.3 Category

Headaches can show up after a head injury, a concussion or any other kind of trauma.

If a doctor identifies a headache that happened after trauma they can use the diagnosis code G44.3.

For example the code G44.309 is used when the headache is not intractable meaning it’s not constant or hard to treat.

Doctors need to write down how the injury led to the headache. Any other related injuries, from the trauma should also be coded using the ICD-10-CM rules.

R51.9 vs. G43 and G44: What Is the Difference?

One of the most common headache coding questions is whether the provider should report R51.9 or a code from the G43 or G44 categories.

The distinction comes down to the diagnosis established during the encounter.

Code Category When It Applies
R51.9 Headache is documented without a specific diagnosis
G43 A migraine disorder is diagnosed
G44 A headache syndrome classified within G44 is diagnosed

Consider two patients who both report persistent headaches.

The first patient receives an evaluation, but no definite headache disorder is established.

The second patient is diagnosed with a migraine after the physician reviews the patient’s history and symptoms.

Although both patients experience head pain, their diagnoses are different.

The first encounter may support R51.9, while the second should use the appropriate migraine code.

Can R51.9 Be Reported With Migraine or Another Headache Syndrome?

The ICD-10-CM category R51 contains an Excludes2 note for migraine and other headache syndromes classified under G43–G44.

An Excludes2 note means the conditions are not included within that code category and may be reported together when clinically appropriate.

However this does not mean both codes should regularly appear on the claim.

When a headache that is not specified is part of a known migraine diagnosis coding the symptom separately is usually not needed.

Both diagnoses should be listed when the records and the coding rules allow for separate listing.

ICD-10 Coding Guidelines for Headache in 2026

Correct headache coding needs more, than picking a code that appears to match the patient’s symptoms.

Healthcare providers should follow the ICD-10-CM guidelines. Make sure that the clinical documentation supports the diagnosis of headache.

Code to the Highest Supported Specificity

Specificity is important when picking a headache diagnosis code.

If a doctor writes down a tension‑type headache, an unspecified headache diagnosis code does not match the problem.

When a provider records a migraine the chosen headache diagnosis code must match that intractable migraine.

The headache diagnosis code must come from the record not from guesses, about the patients symptoms.

Do Not Code an Unconfirmed Outpatient Diagnosis as Established

In outpatient settings diagnoses that are marked as possible, suspected, probable or rule‑out are usually not treated as confirmed conditions. Instead providers write down the symptoms, signs or other documented reasons, for the visit that can be coded with the level of certainty.

Example:

A physician documents:

“Persistent headache. Possible migraine. Neurology consultation recommended.”

If migraine has not been definitively diagnosed, R51.9 may be appropriate for the headache symptom.

These outpatient rules differ from certain inpatient discharge coding rules, where qualifying uncertain diagnoses may be handled differently.

Avoid Unnecessary Symptom Coding

When a clear diagnosis is made the symptoms that usually come with that illness should not be coded on their own.

For example a headache often happens with a migraine.

It might not make sense to list a type of headache on its own if the person has a migraine unless there is a special reason shown in the medical notes.

Apply the Correct Code Set for the Date of Service

One important detail for providers working in late 2026 is the ICD-10-CM update schedule.

Dates of Service Applicable Code Set
October 1, 2025 – March 31, 2026 FY 2026 ICD-10-CM
April 1 – September 30, 2026 Updated FY 2026 ICD-10-CM
October 1, 2026 – September 30, 2027 FY 2027 ICD-10-CM

R51.9 is still available in the FY 2027 classification. However providers need to check the code set that’s active, on the day the service happens. They should also look at any instructions that go along with the codes.

Documentation Requirements for Headache Diagnosis Coding

The headache diagnosis needs to be supported by the record.

Documentation is especially important when patients have recurring headaches, symptoms that do not respond to treatment or suspected neurological conditions.

A useful headache assessment may include:

Documentation Element Information to Record
Chief complaint Why the patient sought care
Symptom onset When the headache began
Frequency How often headaches occur
Duration How long each episode lasts
Pain location Where the headache occurs
Severity Documented pain intensity and functional impact
Associated symptoms Nausea, visual disturbances, sensitivity to light, or neurological symptoms
Clinical findings Relevant history, examination, and assessment
Final diagnosis Confirmed headache disorder or symptom diagnosis
Treatment plan Medication, testing, referral, or follow-up care

Not every encounter requires every element. The documentation should reflect the services performed and information clinically relevant to the patient’s condition.

Example of Documentation Supporting R51.9

Chief complaint: Headache for three days.

History: Patient reports intermittent head pain with no established headache disorder.

Examination: Clinical assessment completed. No definite cause established during the visit.

Assessment: Headache, unspecified.

Plan: Symptom management, return precautions, and reassessment if symptoms continue.

ICD-10-CM code: R51.9

This example allows for headache coding because the physician only records the symptom and does not give a more specific diagnosis, for the headache.

Common CPT Codes Associated With Headache Evaluation

Healthcare providers may do office visits, neurological evaluations, imaging studies or other procedures when checking headache complaints.

The right CPT code depends on the service done and what is written down in the records.

CPT Code Procedure or Service
99202–99205 New patient office or outpatient E/M visits
99212–99215 Established patient office or outpatient E/M visits
70450 CT head or brain without contrast
70460 CT head or brain with contrast
70470 CT head or brain without and with contrast
70551 MRI brain without contrast
70552 MRI brain with contrast
70553 MRI brain without and with contrast
96372 Therapeutic, prophylactic, or diagnostic injection, subcutaneous or intramuscular

These codes represent services that may be associated with headache evaluation or treatment. They should never be selected solely because a patient has a headache diagnosis.

For example, an MRI may be medically necessary for some patients, but not every headache presentation warrants advanced imaging.

Clinical indications, payer medical necessity policies, documentation, and other coverage requirements determine whether a particular service is appropriate and reimbursable.

E/M code selection must follow the applicable medical decision-making or time-based requirements. The patient’s diagnosis alone does not determine the visit level.

Does ICD-10 Code R51.9 Support Medical Necessity?

R51.9 is a billable diagnosis code, but it does not guarantee that every associated medical service will be covered.

A physician may evaluate a patient with an unspecified headache and determine that additional diagnostic testing is needed.

Whether the payer covers the test depends on several factors, including:

  • The patient’s documented clinical presentation.
  • The reason for ordering the service.
  • Relevant clinical findings and medical necessity.
  • Applicable Medicare or commercial payer policies.
  • Whether the procedure is covered under the patient’s benefits.

For example, a patient with an uncomplicated, stable headache may not require the same diagnostic services as someone with a sudden, severe headache accompanied by new neurological abnormalities.

The difference must be reflected in the clinical record.

Key point: A more specific diagnosis code does not automatically make a service payable. The documented medical condition must justify the service billed.

Common Headache Coding and Billing Errors

Even a straightforward headache encounter can develop billing complications when the claim does not accurately reflect the documentation.

Using R51.9 for Every Headache Complaint

The presence of a headache does not automatically justify R51.9.

When a specific headache disorder has been diagnosed, providers should report the appropriate code instead.

Selecting a Diagnosis Based Only on Symptoms

Throbbing pain, nausea, or sensitivity to light may be associated with migraine, but these symptoms alone should not be used to assign a definitive migraine diagnosis.

The provider must establish and document the diagnosis.

Missing Important Migraine Details

Migraine coding may require information about aura, intractability, and status migrainosus.

Incomplete documentation can lead to less-specific coding or incorrect classification.

Reporting Unsupported Diagnostic Tests

Imaging and other diagnostic procedures must be supported by the patient’s documented clinical condition.

A claim may encounter medical necessity issues when the records do not explain why the procedure was needed.

Failing to Review the Current Code Set

ICD-10-CM codes and coding guidance are updated periodically.

Practices using outdated reference material may submit incorrect or invalid codes, particularly around annual code-set transitions.

Common Denial Codes Related to Headache Claims

Headache-related claims may be denied or returned for several reasons, including diagnosis errors, missing information, medical necessity concerns, and coverage restrictions.

The following Claim Adjustment Reason Codes (CARCs) may appear in relevant claim scenarios.

CARC Description Common Billing Concern
CO-16 Claim or service lacks information or contains a submission/billing error Missing or incorrect claim details
CO-50 Non-covered services because they are not deemed medically necessary by the payer Documentation does not support medical necessity
CO-96 Non-covered charge(s) Service is not covered under applicable policy
CO-97 Benefit is included in payment or allowance for another service Bundling or payment policy issue
CO-197 Precertification, authorization, or notification absent Required authorization was not obtained

The actual denial reason must be established from the payer’s remittance advice and policy. A CARC alone may not explain every detail.

Relevant Remittance Advice Remark Codes

Remark codes may provide additional information about claim processing.

RARC Description
M15 Separately billed services or tests have been bundled because they are considered components of the same procedure
N115 Decision based on a Local Coverage Determination (LCD)
N130 Consult plan benefit documents or guidelines for restrictions related to this service
N386 Decision based on a National Coverage Determination (NCD)

These are examples of codes that may arise depending on the claim and payer determination, not codes uniquely associated with R51.9.

When a claim is denied, providers should determine whether the problem involves incorrect coding, insufficient documentation, lack of coverage, or an authorization requirement.

A claim should only be corrected when the medical record supports the correction.

How to Reduce Headache-Related Claim Denials

Reducing denials begins with a clear connection between the clinical evaluation, the diagnosis, and the service provided.

Here are practical steps healthcare organizations can follow.

1. Document the final diagnosis clearly.

If the physician confirms migraine, tension-type headache, or another disorder, the assessment should identify the condition rather than relying exclusively on symptom descriptions.

2. Choose the appropriate ICD-10-CM code.

Review the code description and applicable instructional notes. Avoid assigning a more specific diagnosis than the documentation supports.

3. Connect services to medical necessity.

The record should explain why imaging, testing, medication administration, or other services were needed.

4. Check payer requirements before submitting claims.

Coverage policies, authorization rules, and documentation requirements can differ between Medicare and commercial plans.

5. Review denials before resubmission.

Correct errors supported by the existing record, obtain appropriate documentation clarification when necessary, and use the payer’s appeal process when warranted.

These steps are particularly useful for physician practices that frequently evaluate patients with neurological complaints.

How Philadelphia Medical Billing Supports Accurate Headache Claims

Headache coding may appear simple, but repeated unspecified diagnoses, incomplete records, and unsupported procedures can complicate reimbursement.

Philadelphia Medical Billing helps healthcare providers strengthen their revenue cycle by supporting accurate claim preparation, diagnosis-to-procedure review, denial management, and accounts receivable follow-up.

For practices handling high volumes of primary care, neurology, or outpatient visits, consistent claim review can help identify recurring coding and documentation problems before they affect reimbursement.

The goal is not to assign more complicated codes. It is to ensure that every submitted claim accurately represents the healthcare services delivered.

Frequently Asked Questions About Headache ICD-10 Codes

What is the ICD-10 code for headache in 2026?

The ICD-10-CM code for an unspecified headache is R51.9. It is appropriate when the provider documents headache symptoms without establishing a more specific headache diagnosis.

 Is R51.9 a billable ICD-10 code?

Yes. R51.9 is a valid, billable ICD-10-CM code. However, reimbursement depends on documentation, medical necessity, the services performed, and applicable payer policies.

 What is the ICD-10 code for migraine headache?

Migraine diagnoses are classified under category G43. One commonly used code is G43.909 for unspecified migraine, not intractable, without status migrainosus. Other migraine codes apply when more specific characteristics are documented.

What is the difference between R51.9 and G44.209?

R51.9 describes an unspecified headache symptom. G44.209 describes a diagnosed tension-type headache that is unspecified as to pattern and is not intractable. The code selected should reflect the provider’s documented diagnosis.

Can providers use R51.9 for chronic headaches?

R51.9 may be appropriate when the documentation describes a chronic or recurring headache without establishing a specific headache disorder. If the physician diagnoses a particular chronic headache syndrome, the appropriate code from that classification should be considered.

Can R51.9 be used as the primary diagnosis?

Yes. R51.9 may be reported as the first-listed diagnosis in an outpatient encounter when the headache is the primary reason for the visit and no more definitive diagnosis has been established. The sequencing decision must follow the circumstances of the encounter and applicable guidelines.

Final Thoughts

Choosing the correct headache ICD-10 code begins with understanding what the healthcare provider has actually diagnosed.

R51.9 is appropriate when a patient presents with an unspecified headache, but it should not replace a confirmed migraine, tension-type headache, or another documented condition.

Accurate coding requires attention to the clinical assessment, diagnosis specificity, documentation, and payer requirements. These details help ensure that claims reflect the patient’s condition and the care provided.

For physicians, hospitals, and clinics looking to improve claim accuracy, Philadelphia Medical Billing offers revenue cycle support focused on reducing preventable billing errors and supporting consistent reimbursement processes.

Make Every Diagnosis Count Toward a Cleaner Claim

Strengthen your medical billing processes with accurate coding support, organized claim submission, and proactive denial management.

 Get a Free Billing Assessment

Table of Contents

REQUEST A QUOTE