2027 ICD-10-CM Diagnosis Code R51Headache

ICD-10-CM Codes›R00–R99›R50-R69›R51

ICD-10-CM R51
CMSSource: CMS FY 2027 ICD-10-CM dataset · Effective Oct 1, 2026 – Sep 30, 2027

R51 is a non-billable ICD-10-CM category code for headache, so it cannot be submitted on claims. Use a more specific code from this category instead, such as R51.0 and R51.9. As a symptom code, it should not be used as a principal diagnosis once a related definitive diagnosis has been established. In AHRQ's Clinical Classifications Software (CCSR), this diagnosis falls under Headache; including migraine and Nervous system signs and symptoms.

This medical diagnosis code is frequently used in Family Practice, Internal Medicine, and Pediatrics medical specialties to designate conditions such headache.

Code Identity

ICD-10-CM Code
R51
Billable Status
No — Non-Billable Category
Code Describes
Headache
Short Description
Headache
Same as the full description in the CMS dataset.
Chapter
R50-R69
General symptoms and signs

Code Classification

ChapterR00–R99Symptoms, signs and abnormal clinical and laboratory findings, not elsewhere classified
SectionR50-R69General symptoms and signs
CategoryR51Headache
This CodeR51Headache

Specific Coding for HeadacheOverview

Non-specific codes like R51 require more characters. Use one of these billable codes instead:

  • Use R51.0 for Headache with orthostatic component, not elsewhere classified

  • Use R51.9 for Headache, unspecified

Instructional NotesGuidance

Instructions from the official ICD-10-CM Tabular List that apply to R51: its own notes plus those printed at Chapter 18. A note printed at a category, block or chapter applies to every code under it.

Excludes2

Not included here: the excluded condition is not part of this code, but a patient may have both, so both codes may be reported.

On R51 itself
  • atypical face pain (G50.1)
  • migraine and other headache syndromes (G43-G44)
  • trigeminal neuralgia (G50.0)
From Chapter 18 (R00-R99) Symptoms, signs and abnormal clinical and laboratory findings, not elsewhere classified applies to 774 codes
  • abnormal findings on antenatal screening of mother (O28.-)
  • certain conditions originating in the perinatal period (P04-P96)
  • signs and symptoms classified in the body system chapters
  • signs and symptoms of breast (N63, N64.5)

Notes

General instructions on how these codes are used.

From Chapter 18 (R00-R99) Symptoms, signs and abnormal clinical and laboratory findings, not elsewhere classified applies to 774 codes
  • This chapter includes symptoms, signs, abnormal results of clinical or other investigative procedures, and ill-defined conditions regarding which no diagnosis classifiable elsewhere is recorded.
  • Signs and symptoms that point rather definitely to a given diagnosis have been assigned to a category in other chapters of the classification. In general, categories in this chapter include the less well-defined conditions and symptoms that, without the necessary study of the case to establish a final diagnosis, point perhaps equally to two or more diseases or to two or more systems of the body. Practically all categories in the chapter could be designated 'not otherwise specified', 'unknown etiology' or 'transient'. The Alphabetical Index should be consulted to determine which symptoms and signs are to be allocated here and which to other chapters. The residual subcategories, numbered .8, are generally provided for other relevant symptoms that cannot be allocated elsewhere in the classification.
  • The conditions and signs or symptoms included in categories R00-R94 consist of:
  • (a) cases for which no more specific diagnosis can be made even after all the facts bearing on the case have been investigated;
  • (b) signs or symptoms existing at the time of initial encounter that proved to be transient and whose causes could not be determined;
  • (c) provisional diagnosis in a patient who failed to return for further investigation or care;
  • (d) cases referred elsewhere for investigation or treatment before the diagnosis was made;
  • (e) cases in which a more precise diagnosis was not available for any other reason;
  • (f) certain symptoms, for which supplementary information is provided, that represent important problems in medical care in their own right.

Source: CMS ICD-10-CM Tabular List. How to read instructional notes.

Clinical ClassificationClinical

AHRQ’s CCSR groups this code into broader clinical categories.

CCSR NVS010
Headache; including migraine
Default principal diagnosis: inpatient Yes · outpatient Yes
CCSR SYM010
Nervous system signs and symptoms
Default principal diagnosis: inpatient No · outpatient No

Clinical InformationClinical

  • Headache

    the symptom of pain in the cranial region. it may be an isolated benign occurrence or manifestation of a wide variety of headache disorders.

Patient EducationClinical

Headache

Almost everyone has had a headache. Headache is the most common form of pain. It's a major reason people miss days at work or school or visit the doctor.

Read the full article at MedlinePlus

Courtesy of MedlinePlus, a service of the U.S. National Library of Medicine.

Convert R51 to ICD-9-CMHistory

The closest ICD-9-CM equivalents under the General Equivalence Mappings.

ICD-9-CM
784.0 Headache
Approximate The match is approximate rather than exact.

Code HistoryHistory

FY 2016AddedAdded to the ICD-10-CM code setEffective October 1, 2015, the first year of ICD-10-CM.
FY 2017–2021No changes
FY 2022ExpandedExpanded into more specific codes
FY 2023–2026No changes
FY 2027CurrentCurrent code set, no changesEffective October 1, 2026 through September 30, 2027.

Questions About R51Overview

What is the ICD-10 code for headache?

R51 is the ICD-10-CM category for headache, but it is a non-billable header: claims need a more specific code from this category, listed on this page.

Is R51 (Headache) a billable code?

No. This is a category header that groups the codes for headache, and headers cannot be submitted on claims. Claims for headache need a more specific code from this category, such as R51.0 and R51.9.

Can R51 be a principal diagnosis?

Use it with care. This is a symptom code, so once a definitive diagnosis explaining the headache is established, that condition takes the principal position instead.

What is the ICD-9 equivalent of R51?

Under the General Equivalence Mappings, headache converts to ICD-9-CM 784.0 (headache). The mapping is approximate, so confirm the match fits the documentation.