R51.9

R51.9: Headache, unspecified

The ICD-10-CM code for headache when the complaint is documented and evaluated but no definitive headache disorder has been established at the time of coding.

Billable
FY2027

TABLE OF CONTENTS

Medical scribe app interface showing a recording waveform, a list of patient notes, and a SOAP note for John Doe.

Stop looking up codes.

Scribe auto-generates them for you.

Try Commure Scribe →

At a glance

Code Family

R50–R69: general symptoms and signs, within chapter 18, symptoms, signs and abnormal clinical and laboratory findings.

HCC Mapping (v28)

None: R51.9 does not map to any CMS-HCC v28 category.

Condition

Headache

Family Specificity

R51 splits into R51.0 for headache with an orthostatic component and R51.9 for headache not otherwise specified. The former single code R51 is no longer billable.

Billable

Yes. R51.9 is a complete code in the FY2027 billable code list.

Which R51 code do I assign?

R51.9 is a symptom code, and it belongs on the claim only while the headache has not been attributed to a definitive diagnosis. Once the provider confirms a specific headache disorder, the specific diagnosis code replaces R51.9 rather than joining it.

When documentation says…
Code
Confirmed migraine
G43.-
Assign the migraine code that matches what is documented for aura, intractability and status migrainosus. G43.909 is migraine, unspecified, not intractable, without status migrainosus. G43.C0 is periodic headache syndromes in child or adult, not intractable.
Tension-type headache
G44.20- or G44.21-
Assign when the provider documents tension-type headache. G44.209 is tension-type headache, unspecified, not intractable.
Cluster headache
G44.0-
Assign when cluster headache is documented. G44.009 is cluster headache syndrome, unspecified, not intractable.
Headache following head trauma
G44.309
Post-traumatic headache, unspecified, not intractable, when the provider ties the headache to prior trauma.
Cervicogenic headache
G44.86
Assign when the headache is documented as cervicogenic.
New daily-persistent headache
G44.52
Assign when new daily-persistent headache is the documented diagnosis.
Headache attributed to intracranial hypertension or a structural lesion
Code the underlying condition: the headache is integral to that diagnosis and is not reported separately.
Headache that worsens with standing or positional change
R51.0
Headache with orthostatic component, not elsewhere classified. The provider must specifically document the positional worsening.
Headache documented and addressed at the encounter with no specific type confirmed
R51.9
The residual symptom code, correct only when no definitive headache disorder has been established.

Tabular notes

EXCLUDES1

R51.9 and category R51 carry no Excludes1 note in the FY2027 tabular.

EXCLUDES2

Category R51 carries Excludes2 notes for atypical face pain (G50.1), migraine and other headache syndromes (G43-G44) and trigeminal neuralgia (G50.0). These notes reach R51.9 through the category. An Excludes2 note means the excluded condition is not part of R51. Both codes may be reported only when the headache is documented as separate from the excluded condition. A headache that is part of a confirmed migraine or other headache syndrome is not coded separately.

USE ADDITIONAL AND CODE FIRST

R51.9 carries no Use Additional or Code First instructions. Clinical context and the Official Guidelines govern sequencing.

GUIDELINE I.B.5: INTEGRAL SIGNS AND SYMPTOMS

Signs and symptoms that are associated routinely with a disease process should not be assigned as additional codes, unless otherwise instructed by the classification. Section I.C.18.b repeats the rule for chapter 18 symptom codes. When the headache is a symptom of a confirmed condition such as meningitis, subarachnoid hemorrhage or hypertensive crisis, the definitive diagnosis is coded rather than R51.9.

OUTPATIENT GUIDELINE

In the outpatient setting, a possible or probable underlying cause of the headache is not coded unless it is confirmed. Code only what is documented and established at the encounter.

CODE HISTORY

R51.9 was created when the former single code R51, headache, was split into R51.0 for headache with an orthostatic component and R51.9 for headache, unspecified. Encounters that would previously have been coded R51 for an undifferentiated presentation now map to R51.9.

FY2027 CODE CHANGES

The FY2027 codes addenda make no addition, deletion or revision in category R51. The FY2027 tabular addenda change no instructional note in it. R51.9 is in the FY2027 billable code list and is unchanged in the FY2027 update, effective 1 October 2026.

Operational & financial impact

Why specificity matters beyond the chart: risk adjustment, DRG assignment and denial exposure all follow from which code is selected.

CMS-HCC v28 (PY2024+)

No HCC mapping applies to R51.9. The code does not map to any Hierarchical Condition Category in CMS-HCC model version 28, which is fully operative at 100 percent weight for Medicare Advantage payment year 2026.

R51.0 does not map to a v28 HCC either. Some chapter 18 codes do map, such as R53.2, Functional quadriplegia, which maps to HCC 180. The path to captured weight runs through confirming and coding the underlying headache disorder or causative condition rather than through R51.9.

Medicare and commercial payers

There is no National Coverage Determination specific to R51.9. The code supports medical necessity documentation for imaging, neurology referrals and acute treatment, and it generates no risk-adjustment weight under CMS-HCC v28.

Documentation checklist to support R51.9

Chart elements that support code selection and reduce specificity-driven denials.

FAQ

Can R51.9 be reported alongside a specific headache diagnosis?

R51.9 is not reported alongside a specific headache diagnosis when both describe the same headache. Under guideline Section I.B.5, signs and symptoms that are associated routinely with a disease process are not assigned as additional codes. Once migraine, tension-type headache or cluster headache is confirmed, the specific code replaces R51.9.

Is R51 still a valid code?

No. R51 is now a category and is not billable on its own. The category now consists of R51.0 for headache with an orthostatic component and R51.9 for headache, unspecified, and one of those two child codes must be used.

Does R51.9 carry any risk-adjustment weight under CMS-HCC v28?

No. R51.9 does not map to any Hierarchical Condition Category under CMS-HCC v28, which is fully operative for Medicare Advantage payment year 2026. R51.0 does not map to a v28 HCC either.

When is R51.0 used instead of R51.9?

R51.0 is used when the provider specifically documents a headache with an orthostatic component, one that worsens with standing or a change in position. Without that documentation, the undifferentiated presentation is coded R51.9.

Can R51.9 be the principal diagnosis?

It can be sequenced first only when the headache is the reason for the encounter and no underlying definitive diagnosis has been established. If a patient is admitted and the workup confirms a specific etiology such as subarachnoid hemorrhage, that confirmed diagnosis is coded at discharge and R51.9 is not the principal diagnosis.

What if the provider suspects migraine but has not confirmed it?

In the outpatient setting a possible or probable cause is not coded. Code only what is documented and established, which means R51.9 remains correct until the provider confirms the specific headache disorder.

Related codes

Codes in the same family as R51.9. Only codes with a published page render as links.

Sibling codes in the R51 family

  • R51.0: Headache with orthostatic component, not elsewhere classified.
  • R51.9: Headache, unspecified.

Additional codes to consider

Codes outside the R51 family considered alongside R51.9.

Consider instead

  • R51.0: Headache with orthostatic component, not elsewhere classified.
  • G43.909: Migraine, unspecified, not intractable, without status migrainosus.
  • G43.C0: Periodic headache syndromes in child or adult, not intractable.
  • G44.209: Tension-type headache, unspecified, not intractable.
  • G44.009: Cluster headache syndrome, unspecified, not intractable.
  • G44.309: Post-traumatic headache, unspecified, not intractable.
  • G44.52: New daily persistent headache (NDPH).
  • G44.86: Cervicogenic headache.

Sources

All claims on this page derive from government and professional-standards sources.

Stop looking up codes. Scribe generates them for you.

Commure Scribe listens to your visit and auto-generates billing codes, no manual lookup.