Skip to content
Dx

ICD-10-CM 2027 diagnosis code

R51Headache

Not billable — use a more specific code

R51 is a header code, so it can't be reported by itself. Choose one of the 2 more specific codes beneath it.

Code last changed in FY2021 (effective October 1, 2020). Source: official FY2027 ICD-10-CM release from CDC/NCHS and CMS. Page updated September 29, 2026. About our data

About R51

R51 is the ICD-10-CM diagnosis code for headache. It belongs to block R50-R69 (general symptoms and signs) and chapter 18 (symptoms, signs and abnormal clinical and laboratory findings, not elsewhere classified). It is a header code, so it can't be reported by itself; one of its 2 subcodes must be used instead.

To report this condition, pick the subcode that matches the documentation: R51.0 (with orthostatic component, not elsewhere classified) and R51.9 (unspecified).

The conditions in its Excludes2 note aren't part of R51, but may be coded alongside it if the patient has both: atypical face pain (G50.1), migraine and other headache syndromes (G43-G44) and trigeminal neuralgia (G50.0).

It has been part of ICD-10-CM since the code set took effect on October 1, 2015, and changed in FY2021 (expanded into subcodes).

Before ICD-10, this condition was coded in ICD-9-CM as 784.0 (headache).

Specific codes under R51

Coding notes

Excludes2Not included here — may be reported together if both conditions exist
  • atypical face pain (G50.1)
  • migraine and other headache syndromes (G43-G44)
  • trigeminal neuralgia (G50.0)

Notes that apply from higher levels

Instructions written at a parent level also apply to R51.

ICD-9-CM equivalent

Converter →

From the CMS 2018 General Equivalence Mappings (GEMs), the final GEMs release.

Code history

  1. 2016
  2. 2017
  3. 2018
  4. 2019
  5. 2020
  6. 2021
  7. 2022
  8. 2023
  9. 2024
  10. 2025
  11. 2026
  12. 2027
  • FY2016 (effective 10/1/2015): Added (first year of ICD-10-CM)
  • FY2021 (effective 10/1/2020): Expanded — no longer billable

Common questions about R51

Is R51 billable?

No. R51 is a header code. Report one of its more specific subcodes instead.

What is the ICD-9 code for R51?

The CMS General Equivalence Mappings map R51 to ICD-9-CM 784.0.