ICD-10-CM 2027 diagnosis code
R51Headache
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
Notes that apply from higher levels
Instructions written at a parent level also apply to R51.
Broader instructions also apply from Chapter 18: Symptoms, signs and abnormal clinical and laboratory findings, not elsewhere classified.
ICD-9-CM equivalent
Converter →- 784.0Headacheapproximate
From the CMS 2018 General Equivalence Mappings (GEMs), the final GEMs release.
Code history
- 2016
- 2017
- 2018
- 2019
- 2020
- 2021
- 2022
- 2023
- 2024
- 2025
- 2026
- 2027
- FY2016 (effective 10/1/2015): Added (first year of ICD-10-CM)
- FY2021 (effective 10/1/2020): Expanded — no longer billable