What is the ICD‑10‑CM diagnosis code for muscle pain (myalgia)?

Medical Advisory BoardAll articles are reviewed for accuracy by our Medical Advisory Board
Educational purpose only • Exercise caution as content is pending human review
Article Review Status
Submitted
Under Review
Approved

Last updated: November 3, 2026 • View editorial policy

Have a follow-up question?

Our Medical A.I. is used by practicing medical doctors at top research institutions around the world. Ask any follow up question and get world-class guideline-backed answers instantly.

ICD-10-CM Code for Muscle Pain (Myalgia)

The ICD-10-CM diagnosis code for muscle pain (myalgia) is M79.1.

Primary Code

  • M79.1 - Myalgia
    • This is the standard code for generalized muscle pain or myalgia when no more specific etiology or location is documented 1

Important Coding Considerations

Location specificity matters for accurate coding. While M79.1 covers general myalgia, the ICD-10-CM system includes more specific codes when the anatomic location is documented:

  • M79.6 - Pain in limb (includes arm, leg, hand, foot, fingers, toes)
  • M54.5 - Low back pain (when muscle pain is specifically in the lumbar region)
  • M54.2 - Cervicalgia (neck muscle pain)

These location-specific codes were among the most frequently used musculoskeletal codes in clinical practice, with low back pain accounting for 18.3% and pain in limb accounting for 13% of musculoskeletal diagnoses 1.

Clinical Context Affects Code Selection

The underlying cause determines whether M79.1 is appropriate or if a more specific code should be used:

When M79.1 is appropriate:

  • Generalized muscle aches without identified cause
  • Myalgia not attributed to specific disease process
  • Muscle pain affecting multiple body regions

When alternative codes are needed:

  • Statin-associated myalgia: Code the myalgia (M79.1) plus the adverse effect code for the statin
  • Inflammatory myositis: M60.x series (requires elevated CK, weakness, and inflammatory findings) 2
  • Polymyalgia rheumatica: M35.3 (characterized by proximal muscle pain with elevated inflammatory markers) 2, 3
  • Fibromyalgia: M79.7 (widespread pain with specific tender points)

Key Coding Pitfalls to Avoid

Do not confuse myalgia (muscle pain) with myositis (muscle inflammation). The critical distinction is:

  • Myalgia (M79.1): Pain without weakness, normal CK levels, no inflammatory findings 4, 2
  • Myositis (M60.x): Weakness as primary symptom, elevated CK (often >3x upper limit), inflammatory changes on imaging or biopsy 2

Avoid using R52.2 ("other chronic pain") when a more specific musculoskeletal code exists. Studies show this non-specific code was overused in ICD-10 coding, accounting for 29% of pain-related diagnoses when more precise codes like M79.1 were available 5.

Documentation Requirements

For accurate M79.1 coding, clinical documentation should specify:

  • Absence of objective muscle weakness (differentiates from myopathy)
  • Normal or near-normal creatine kinase levels
  • Pain quality, distribution, and duration
  • Exclusion of inflammatory or structural causes

The ICD-10-CM system requires more specificity than ICD-9-CM, which only had code 729.1 for myalgia. The expanded ICD-10-CM allows better differentiation between pain syndromes and provides more clinically meaningful data for research and resource allocation 5, 6.

Professional Medical Disclaimer

This information is intended for healthcare professionals. Any medical decision-making should rely on clinical judgment and independently verified information. The content provided herein does not replace professional discretion and should be considered supplementary to established clinical guidelines. Healthcare providers should verify all information against primary literature and current practice standards before application in patient care. Dr.Oracle assumes no liability for clinical decisions based on this content.