ICD-10-CM 2027
ICD-10 code for pain
From the official ICD-10-CM alphabetic index entry “Pain (s)”. Page updated September 29, 2026.
About coding pain
The ICD-10-CM code for pain is R52 (Pain, unspecified). The official index lists 196 more specific codes, so check the documentation for details such as type, cause, site or severity before settling on R52.
Don't report R52 together with the conditions in its Excludes1 note: acute and chronic pain, not elsewhere classified (G89.-), abdomen pain (R10.-), back pain (M54.9), breast pain (N64.4) and 15 more.
It is not a CC or MCC, so as a secondary diagnosis it doesn't change the MS-DRG severity level.
In MS-DRG v44.0, it is part of the grouping logic for DRG 947 (Signs and Symptoms with MCC, relative weight 1.261) and DRG 948 (Signs and Symptoms without MCC, relative weight 0.7835), in MDC 23 (Factors Influencing Health Status and Other Contacts with Health Services), as a principal or secondary diagnosis. The DRG a claim lands in depends on the principal diagnosis, procedures and any CC/MCC secondary diagnoses.
More specific pain codes (official index)
- abdominal R10.9 — Unspecified abdominal pain
- colic R10.83 — Colic
- generalized R10.84 — Generalized abdominal pain
- with acute abdomen R10.0 — Acute abdomen
- lower R10.30 — Lower abdominal pain, unspecified
- left quadrant R10.32 — Left lower quadrant pain
- pelvic or perineal R10.20 — Pelvic and perineal pain unspecified side
- bilateral R10.23 — Pelvic and perineal pain bilateral
- left R10.22 — Pelvic and perineal pain left side
- right R10.21 — Pelvic and perineal pain right side
- periumbilical R10.33 — Periumbilical pain
- right quadrant R10.31 — Right lower quadrant pain
- multiple sites R10.85 — Abdominal pain of multiple sites
- rebound
- severe with abdominal rigidity R10.0 — Acute abdomen
- tenderness
- upper R10.10 — Upper abdominal pain, unspecified
- epigastric R10.13 — Epigastric pain
- left quadrant R10.12 — Left upper quadrant pain
- right quadrant R10.11 — Right upper quadrant pain
- acute R52 — Pain, unspecified
- due to trauma G89.11 — Acute pain due to trauma
- neoplasm related G89.3 — Neoplasm related pain (acute) (chronic)
- postprocedural NEC G89.18 — Other acute postprocedural pain
- post-thoracotomy G89.12 — Acute post-thoracotomy pain
- specified by site - code to Pain, by site
- adnexa (uteri) R10.20 — Pelvic and perineal pain unspecified side
- anginoid
- anus K62.89 — Other specified diseases of anus and rectum
- arm
- axillary (axilla) M79.62 — Pain in upper arm
- back (postural) M54.9 — Dorsalgia, unspecified
- bladder R39.89 — Other symptoms and signs involving the genitourinary system
- associated with micturition
- chronic R39.82 — Chronic bladder pain
- bone
- breast N64.4 — Mastodynia
- broad ligament R10.20 — Pelvic and perineal pain unspecified side
- cancer associated (acute) (chronic) G89.3 — Neoplasm related pain (acute) (chronic)
- cecum
- cervicobrachial M53.1 — Cervicobrachial syndrome
- chest (central) R07.9 — Chest pain, unspecified
- anterior wall R07.89 — Other chest pain
- atypical R07.89 — Other chest pain
- ischemic I20.9 — Angina pectoris, unspecified
- musculoskeletal R07.89 — Other chest pain
- non-cardiac R07.89 — Other chest pain
- on breathing R07.1 — Chest pain on breathing
- pleurodynia R07.81 — Pleurodynia
- precordial R07.2 — Precordial pain
- wall (anterior) R07.89 — Other chest pain
- chronic G89.29 — Other chronic pain
- associated with significant psychosocial dysfunction G89.4 — Chronic pain syndrome
- due to trauma G89.21 — Chronic pain due to trauma
- neoplasm related G89.3 — Neoplasm related pain (acute) (chronic)
- postoperative NEC G89.28 — Other chronic postprocedural pain
- postprocedural NEC G89.28 — Other chronic postprocedural pain
- post-thoracotomy G89.22 — Chronic post-thoracotomy pain
- specified NEC G89.29 — Other chronic pain
- coccyx M53.3 — Sacrococcygeal disorders, not elsewhere classified
- colon
- coronary
- costochondral R07.1 — Chest pain on breathing
- diaphragm R07.1 — Chest pain on breathing
- due to cancer G89.3 — Neoplasm related pain (acute) (chronic)
- due to device, implant or graft T85.848 — Pain due to other internal prosthetic devices, implants and grafts
- arterial graft NEC T82.848 — Pain due to vascular prosthetic devices, implants and grafts
- breast (implant) T85.848 — Pain due to other internal prosthetic devices, implants and grafts
- catheter NEC T85.848 — Pain due to other internal prosthetic devices, implants and grafts
- dialysis (renal) T82.848 — Pain due to vascular prosthetic devices, implants and grafts
- intraperitoneal T85.848 — Pain due to other internal prosthetic devices, implants and grafts
- infusion NEC T82.848 — Pain due to vascular prosthetic devices, implants and grafts
- spinal (epidural) (subdural) T85.840 — Pain due to nervous system prosthetic devices, implants and grafts
- urinary (indwelling) T83.84 — Pain due to genitourinary prosthetic devices, implants and grafts
- electronic (electrode) (pulse generator) (stimulator)
- bone T84.84 — Pain due to internal orthopedic prosthetic devices, implants and grafts
- cardiac T82.847 — Pain due to cardiac prosthetic devices, implants and grafts
- nervous system (brain) (peripheral nerve) (spinal) T85.840 — Pain due to nervous system prosthetic devices, implants and grafts
- urinary T83.84 — Pain due to genitourinary prosthetic devices, implants and grafts
- fixation, internal (orthopedic) NEC T84.84 — Pain due to internal orthopedic prosthetic devices, implants and grafts
- gastrointestinal (bile duct) (esophagus) T85.848 — Pain due to other internal prosthetic devices, implants and grafts
- genital NEC T83.84 — Pain due to genitourinary prosthetic devices, implants and grafts
- heart NEC T82.847 — Pain due to cardiac prosthetic devices, implants and grafts
- infusion NEC T85.848 — Pain due to other internal prosthetic devices, implants and grafts
- joint prosthesis T84.84 — Pain due to internal orthopedic prosthetic devices, implants and grafts
- ocular (corneal graft) (orbital implant) NEC T85.848 — Pain due to other internal prosthetic devices, implants and grafts
- orthopedic NEC T84.84 — Pain due to internal orthopedic prosthetic devices, implants and grafts
- specified NEC T85.848 — Pain due to other internal prosthetic devices, implants and grafts
- urinary NEC T83.84 — Pain due to genitourinary prosthetic devices, implants and grafts
- vascular NEC T82.848 — Pain due to vascular prosthetic devices, implants and grafts
- ventricular intracranial shunt T85.840 — Pain due to nervous system prosthetic devices, implants and grafts
- due to malignancy (primary) (secondary) G89.3 — Neoplasm related pain (acute) (chronic)
- ear
- epigastric, epigastrium R10.13 — Epigastric pain
- eye
- face, facial R51.9 — Headache, unspecified
- atypical G50.1 — Atypical facial pain
- female genital organs NEC N94.89 — Other specified conditions associated with female genital organs and menstrual cycle
- finger
- flank R10.A0 — Flank pain, unspecified side
- bilateral R10.A3 — Flank pain, bilateral
- left R10.A2 — Flank pain, left side
- right R10.A1 — Flank pain, right side
- foot
- gallbladder K82.9 — Disease of gallbladder, unspecified
- gas (intestinal) R14.1 — Gas pain
- gastric
- generalized NOS R52 — Pain, unspecified
- genital organ
- female N94.89 — Other specified conditions associated with female genital organs and menstrual cycle
- male N50.89 — Other specified disorders of the male genital organs
- groin
- hand
- head
- heart
- infra-orbital
- intercostal R07.82 — Intercostal pain
- intermenstrual N94.0 — Mittelschmerz
- jaw R68.84 — Jaw pain
- joint M25.50 — Pain in unspecified joint
- ankle M25.57 — Pain in ankle and joints of foot
- elbow M25.52 — Pain in elbow
- finger M25.54 — Pain in joints of hand
- foot M25.57 — Pain in ankle and joints of foot
- hand M25.54 — Pain in joints of hand
- hip M25.55 — Pain in hip
- knee M25.56 — Pain in knee
- shoulder M25.51 — Pain in shoulder
- specified site NEC M25.59 — Pain in other specified joint
- toe M25.57 — Pain in ankle and joints of foot
- wrist M25.53 — Pain in wrist
- kidney N23 — Unspecified renal colic
- laryngeal R07.0 — Pain in throat
- leg
- limb M79.609 — Pain in unspecified limb
- lower M79.60 — Pain in limb, unspecified
- foot M79.67 — Pain in foot and toes
- lower leg M79.66 — Pain in lower leg
- thigh M79.65 — Pain in thigh
- toe M79.67 — Pain in foot and toes
- upper M79.60 — Pain in limb, unspecified
- axilla M79.62 — Pain in upper arm
- finger M79.64 — Pain in hand and fingers
- forearm M79.63 — Pain in forearm
- hand M79.64 — Pain in hand and fingers
- upper arm M79.62 — Pain in upper arm
- loin M54.50 — Low back pain, unspecified
- low back M54.50 — Low back pain, unspecified
- specified NEC M54.59 — Other low back pain
- vertebral end plate M54.51 — Vertebrogenic low back pain
- vertebrogenic M54.51 — Vertebrogenic low back pain
- lumbar region M54.50 — Low back pain, unspecified
- vertebral end plate M54.51 — Vertebrogenic low back pain
- vertebrogenic M54.51 — Vertebrogenic low back pain
- mandibular R68.84 — Jaw pain
- mastoid
- maxilla R68.84 — Jaw pain
- menstrual N94.6 — Dysmenorrhea, unspecified
- metacarpophalangeal (joint)
- metatarsophalangeal (joint)
- mouth K13.79 — Other lesions of oral mucosa
- muscle
- musculoskeletal M79.18 — Myalgia, other site
- myofascial M79.18 — Myalgia, other site
- nasal J34.89 — Other specified disorders of nose and nasal sinuses
- nasopharynx J39.2 — Other diseases of pharynx
- neck NEC M54.2 — Cervicalgia
- nerve NEC
- neuromuscular
- nose J34.89 — Other specified disorders of nose and nasal sinuses
- ocular H57.1 — Ocular pain
- ophthalmic
- orbital region
- ovary N94.89 — Other specified conditions associated with female genital organs and menstrual cycle
- over heart
- ovulation N94.0 — Mittelschmerz
- pelvic (female) R10.20 — Pelvic and perineal pain unspecified side
- bilateral R10.23 — Pelvic and perineal pain bilateral
- left R10.22 — Pelvic and perineal pain left side
- right R10.21 — Pelvic and perineal pain right side
- penis N48.89 — Other specified disorders of penis
- pericardial
- perineal, perineum R10.20 — Pelvic and perineal pain unspecified side
- bilateral R10.23 — Pelvic and perineal pain bilateral
- left R10.22 — Pelvic and perineal pain left side
- right R10.21 — Pelvic and perineal pain right side
- pharynx J39.2 — Other diseases of pharynx
- pleura, pleural, pleuritic R07.81 — Pleurodynia
- postoperative NOS G89.18 — Other acute postprocedural pain
- postprocedural NOS G89.18 — Other acute postprocedural pain
- post-thoracotomy G89.12 — Acute post-thoracotomy pain
- precordial (region) R07.2 — Precordial pain
- premenstrual N94.3 — Premenstrual tension syndrome
- psychogenic (persistent) (any site) F45.41 — Pain disorder exclusively related to psychological factors
- radicular (spinal)
- rectum K62.89 — Other specified diseases of anus and rectum
- respiration R07.1 — Chest pain on breathing
- retrosternal R07.2 — Precordial pain
- rheumatoid, muscular
- rib R07.89 — Other chest pain
- root (spinal)
- round ligament (stretch) R10.20 — Pelvic and perineal pain unspecified side
- sacroiliac M53.3 — Sacrococcygeal disorders, not elsewhere classified
- sciatic
- scrotum N50.82 — Scrotal pain
- seminal vesicle N50.89 — Other specified disorders of the male genital organs
- shoulder M25.51 — Pain in shoulder
- spermatic cord N50.89 — Other specified disorders of the male genital organs
- spinal root
- spine M54.9 — Dorsalgia, unspecified
- cervical M54.2 — Cervicalgia
- low back M54.50 — Low back pain, unspecified
- with sciatica M54.4 — Lumbago with sciatica
- thoracic M54.6 — Pain in thoracic spine
- stomach
- substernal R07.2 — Precordial pain
- suprapubic R10.24 — Suprapubic pain
- temporomandibular (joint) M26.62 — Arthralgia of temporomandibular joint
- testis N50.81 — Testicular pain
- thoracic spine M54.6 — Pain in thoracic spine
- with radicular and visceral pain M54.14 — Radiculopathy, thoracic region
- throat R07.0 — Pain in throat
- tibia
- toe
- tongue K14.6 — Glossodynia
- tooth K08.89 — Other specified disorders of teeth and supporting structures
- trigeminal
- tumor associated G89.3 — Neoplasm related pain (acute) (chronic)
- ureter N23 — Unspecified renal colic
- urinary (organ) (system) N23 — Unspecified renal colic
- uterus NEC N94.89 — Other specified conditions associated with female genital organs and menstrual cycle
- vagina R10.20 — Pelvic and perineal pain unspecified side
- vertebral end plate
- vertebrogenic M54.89 — Other dorsalgia
- low back M54.51 — Vertebrogenic low back pain
- lumbar M54.51 — Vertebrogenic low back pain
- syndrome M54.89 — Other dorsalgia
- vesical R39.89 — Other symptoms and signs involving the genitourinary system
- associated with micturition
- vulva R10.20 — Pelvic and perineal pain unspecified side
Don't confuse with (Excludes1 for R52)
- acute and chronic pain, not elsewhere classified (G89.-)
- localized pain, unspecified type - code to pain by site, such as:
- abdomen pain (R10.-)
- back pain (M54.9)
- breast pain (N64.4)
- chest pain (R07.1-R07.9)
- ear pain (H92.0-)
- eye pain (H57.1)
- headache (R51.9)
- joint pain (M25.5-)
- limb pain (M79.6-)
- lumbar region pain (M54.5-)
- pelvic and perineal pain (R10.2-)
- shoulder pain (M25.51-)
- spine pain (M54.-)
- throat pain (R07.0)
- tongue pain (K14.6)
- tooth pain (K08.8)
- renal colic (N23)
- pain disorders exclusively related to psychological factors (F45.41)
Common questions about pain ICD-10 codes
What is the ICD-10 code for pain?
- R52 — Pain, unspecified. More specific codes apply when the documentation supports them: R10.9, R10.83, R10.84, R10.0 and others below.
What is the ICD-10 code for abdominal pain?
- R10.9 — Unspecified abdominal pain.
What is the ICD-10 code for acute pain?
- R52 — Pain, unspecified.
What is the ICD-10 code for adnexa pain?
- R10.20 — Pelvic and perineal pain unspecified side.
What is the ICD-10 code for anus pain?
- K62.89 — Other specified diseases of anus and rectum.
What is the ICD-10 code for axillary pain?
- M79.62 — Pain in upper arm (header code; choose a more specific subcode).
What is the ICD-10 code for back pain?
- M54.9 — Dorsalgia, unspecified.
Is R52 billable?
- Yes. R52 is a billable/specific ICD-10-CM code valid for FY2027 (October 1, 2026 – September 30, 2027).
Can R52 be used as a principal diagnosis?
- Yes. The Medicare Code Editor doesn't restrict R52 as a principal diagnosis.
Is R52 a CC or MCC?
- No. R52 is neither a CC nor an MCC under MS-DRG v44.0.