𦴠ICD-10-CM M62.838 β Other Muscle Spasm
Billable Code Confirmed
ICD-10-CM M62.838 is a valid, billable 7-character ICD-10-CM code for FY2026. All characters are present:
M62(category) +.8(other specified disorders of muscle) +3(muscle spasm) +8(other site). No additional character is required.
Non-Billable Parent Codes β Never Submit These
- β
M62.83β 6-character header β missing site specificity character- β
M62.8β 5-character header β missing spasm/site detail- β
M62β 3-character category header β never billable aloneAlways submit M62.838 (all 7 characters) when muscle spasm at a site other than the back or calf is documented.
Clinical Context: "Other" Site β What It Means
ICD-10-CM M62.838 captures muscle spasm at sites not individually enumerated in the M62.83 subcategory β specifically sites other than the back (M62.830) and the calf (M62.831). Common clinical applications include neck muscle spasm, piriformis spasm, shoulder girdle spasm, and upper extremity spasm. If clinical documentation clearly states back or calf, those specific codes are required over M62.838.
Code Classification
ICD-10-CM Diagnosis Code β Fields for wRVU, assistant payable, and global period are not applicable. For associated inpatient procedure coding, see the ICD-10-PCS Crosswalk section below.
π Code Description
ICD-10-CM M62.838 classifies other muscle spasm β an involuntary, sustained contraction of skeletal muscle at a site not specifically enumerated in the M62.83 subcategory (i.e., not the back or calf). The contraction may be painful or painless, localized or segmental, and can result from neurological dysfunction, metabolic disturbance, overuse, electrolyte imbalance, or idiopathic causes.
The distinction between M62.838 and R25.2 (cramp and spasm) is clinically and coding-critically important. R25.2 is a symptom code reflecting an undiagnosed or undifferentiated presentation; it carries an Excludes 1 relationship with the M62 category, meaning they cannot be reported simultaneously. When a physician has established a clinical diagnosis of muscle spasm as a disorder β rather than reporting it as an unexplained symptom β M62.838 is the correct code, not R25.2.
The βotherβ character (8 in the final position) explicitly captures
spasm at sites not individually broken out in the M62.83 subcategory.
This is a true catch-all for non-back, non-calf muscle spasm β covering
piriformis syndrome-adjacent spasm, cervical paraspinal spasm, shoulder
girdle hypertonicity, and forearm or hand cramping when documented as a
disorder rather than a symptom.
π³ Code Tree / Hierarchy
M62 β Other Disorders of Muscle
β
βββ M62.8 β Other Specified Disorders of Muscle β Non-billable
β β
β βββ M62.81 β Muscle Weakness (Generalized) β
Billable
β βββ M62.82 β Rhabdomyolysis β
Billable
β β
β βββ M62.83 β Muscle Spasm β Non-billable header
β β βββ M62.830 β Muscle Spasm of Back β
Billable
β β βββ M62.831 β Muscle Spasm of Calf β
Billable
β β βββ M62.838 β Other Muscle Spasm β THIS CODE β
Billable
β β
β βββ M62.84 β Sarcopenia β
Billable
β βββ M62.85 β Dysfunction of Multifidus Muscles β
Billable
β βββ M62.89 β Other Specified Disorders of Muscle β
Billable
β
βββ M62.9 β Disorder of Muscle, Unspecified β οΈ Avoid β query specificity
Use the Most Specific M62.83x Available
β Includes
The following clinical terms and scenarios map to M62.838 when the spasm site is documented as other than back or calf:
- Muscle spasm, neck / cervical paraspinal musculature
- Piriformis muscle spasm (distinct from piriformis syndrome β query etiology)
- Shoulder girdle / periscapular muscle spasm
- Upper extremity muscle spasm (forearm, hand, biceps) when documented as a clinical disorder
- Truncal muscle spasm (abdominal wall, intercostal) when not attributable to underlying cardiopulmonary or visceral pathology
- Pelvic floor muscle spasm when documented as a musculoskeletal disorder
β Excludes
Excludes 1 β Cannot Be Coded Simultaneously with M62.838
| Code | Description | Note |
|---|---|---|
| R25.2 | Cramp and spasm | Mutually exclusive β R25.2 is a symptom code; once a physician establishes the diagnosis as a disorder, M62.838 replaces R25.2. Cannot code both. |
| G72.1 | Alcoholic myopathy | If myopathy is alcoholic in origin, assign G72.1 β not M62.838 |
| G72.0 | Drug-induced myopathy | Assign G72.0 for drug-induced presentations β not M62.838 |
| G25.82 | Stiff-man syndrome | Distinct neurological syndrome β mutually exclusive |
| M79.1- | Myalgia | Mutually exclusive at M62 category level |
Excludes 1 β R25.2 Is the Most Common Violation Risk
R25.2 (cramp and spasm) carries an Excludes 1 instruction at the M62 category level. Do not code M62.838 and R25.2 simultaneously. If the physician documents a clinical diagnosis of muscle spasm as a disorder β use M62.838. If the spasm is documented only as a symptom pending workup β R25.2 may be appropriate, but the two are mutually exclusive.
Excludes 2 β May Be Coded in Addition if Separately Present
| Code | Description | Note |
|---|---|---|
| M79.81 | Nontraumatic hematoma of muscle | Excludes 2 at M62.8 subcategory level β may code additionally if separately documented and clinically distinct from the spasm |
π Clinical Overview
Muscle Spasm vs. Cramp vs. Contracture β The Critical Distinction
The M62.83x vs. R25.2 vs. M62.4x determination is a key coding decision that hinges entirely on physician documentation intent and clinical context. Coders must not infer the distinction from chart language alone β query when ambiguous.
| Feature | Muscle Spasm β M62.83x | Cramp & Spasm β R25.2 | Contracture β M62.4x |
|---|---|---|---|
| Code type | Disorder | Symptom | Disorder |
| Physician intent | Clinical diagnosis established | Undifferentiated/symptomatic | Fixed structural shortening |
| Duration | Variable β acute or chronic | Typically acute, transient | Persistent, fixed limitation |
| Resolution | With treatment or spontaneously | Often spontaneous | Requires therapy/surgery |
| Coding context | Established disorder; clear etiology or pattern | ER/urgent care; symptom-level documentation | Chronic muscle shortening documented |
CDI Query Trigger β Spasm vs. Cramp vs. Contracture
If the physician documents only βmuscle tightnessβ, βcrampingβ, or βspasmβ without context establishing it as a diagnosed musculoskeletal disorder, a CDI query is warranted to clarify whether M62.838, R25.2, or another code best captures the clinical intent. The distinction affects both code selection and potential DRG grouping.
Pathophysiology
Muscle spasm represents a sustained, involuntary contraction of skeletal muscle fibers, arising from abnormal motor neuron firing or disruption of the normal calcium-mediated relaxation cycle. In healthy muscle, acetylcholine-mediated depolarization triggers a controlled contraction-relaxation cycle; spasm occurs when this cycle is disrupted β by direct nerve irritation, electrolyte imbalance (particularly calcium, magnesium, or potassium shifts), ischemia, or central/peripheral neurological dysfunction.
In the musculoskeletal context captured by M62.838, the most common mechanism is reflex spasm β a protective neuromuscular response to adjacent joint irritation, nerve root compression, or soft tissue injury. The muscle contracts reflexively to splint an area of pain or instability, which can itself become a pain generator (the classic spasm-pain-spasm cycle). This reflex arc explains why M62.838 frequently appears as an additional diagnosis to underlying spinal, joint, or neurological conditions rather than as a principal diagnosis at inpatient encounters.
Etiology
| Cause | ICD-10-CM Code | Sequencing Note |
|---|---|---|
| Cervical radiculopathy | M54.12 | Sequence the radiculopathy; M62.838 as additional for the spasm component |
| Lumbar radiculopathy | M54.17 | Sequence radiculopathy first when driving admission |
| Multiple sclerosis, unspecified | G35.D | FY2026 billable MS code β replaces old standalone G35; sequence before M62.838 when MS drives admission; query for subtype specificity |
| Multiple sclerosis, relapsing-remitting | G35.A | Most common MS subtype; sequence before M62.838 when driving admission |
| Multiple sclerosis, primary progressive | G35.B0-G35.B2 | Query activity status (active vs. non-active) for most specific subcode |
| Multiple sclerosis, secondary progressive | G35.C0-G35.C2 | Query activity status (active vs. non-active) for most specific subcode |
| Spinal cord injury | S14.x-S34.x | Acute traumatic β spasm as sequela or additional diagnosis |
| Electrolyte imbalance (e.g., hypomagnesemia) | E83.42 | Metabolic cause of spasm β code the electrolyte disorder additionally |
| Dehydration | E86.0 | Systemic cause β code additionally if documented |
| Fibromyalgia | M79.3 | Fibromyalgia-associated muscle hypertonicity β both may be coded when separately documented |
| Idiopathic / NOS | No additional code | M62.838 as sole or principal diagnosis |
Sequencing Principle
When a causative systemic or neurological condition drives the admission and the muscle spasm is a secondary manifestation, code the underlying condition first, followed by M62.838 as the additional diagnosis, per ICD-10-CM Official Coding Guidelines. If spasm itself is the reason for the encounter, M62.838 sequences as principal.
FY2026 Change β G35 Is No Longer Billable
Clinical Presentation
Patients with muscle spasm at βotherβ sites captured by M62.838 typically present with:
- Visible or palpable muscle hardening β involuntary rigidity on exam
- Pain localized to the affected muscle group β acute or chronic pattern
- Limited range of motion of the adjacent joint or spinal segment
- Spasm on palpation β tenderness and involuntary contraction with pressure
- Postural abnormality when spasm involves cervical, periscapular, or pelvic musculature (e.g., cervical shift, elevated shoulder girdle)
- EMG findings (if performed) β spontaneous motor unit activity at rest, abnormal insertion activity
Documentation Requirements
For accurate assignment of M62.838, physician documentation should include:
- Site specificity β the specific muscle or muscle group involved; confirms M62.838 over M62.830 (back) or M62.831 (calf)
- Clinical diagnosis β spasm documented as a musculoskeletal disorder, not merely a symptom (distinguishes from R25.2)
- Etiology or associated condition β underlying cause if identified (radiculopathy, neurological condition, electrolyte disturbance)
- Acuity β acute vs. chronic vs. recurrent β relevant for E/M level selection and clinical specificity
- Treatment rendered β manual therapy, injection, pharmacologic management β supports medical necessity for associated CPT billing
π° HCC Risk Adjustment (CMS-HCC v28)
| Field | Detail |
|---|---|
| CMS-HCC Model Version | v28 (2024-2025 Implementation) |
| HCC Assignment | β Not Mapped |
| HCC Category | N/A |
| RAF Coefficient | 0.000 |
| RxHCC Assignment | Not Mapped |
M62.838 does not map to an HCC under CMS-HCC v28 and does not contribute to a patientβs Risk Adjustment Factor (RAF) score.
Monitor for RAF-Bearing Comorbidities
While M62.838 itself carries no HCC weight, conditions frequently associated with or causing muscle spasm often do. At every M62.838 encounter, review and ensure complete coding of:
- Multiple sclerosis (G35.D or appropriate FY2026 subtype) β CMS-HCC v28: HCC 198 / RxHCC v08: HCC 159
- Hemiplegia/hemiparesis (G81.x) β HCC-mapped in v28
- Paraplegia/quadriplegia (G82.x) β HCC-mapped
- Diabetes mellitus with neurological complications β HCC 18/19 series
- Malnutrition β if driving electrolyte imbalance leading to spasm
Do not leave risk-adjustable comorbidities undercoded. All conditions meeting UHDDS criteria for βother diagnosesβ must be reported.
π₯ MS-DRG Assignment
MDC 08 β Diseases and Disorders of the Musculoskeletal System and Connective Tissue
| DRG | Title | Est. Relative Weight* |
|---|---|---|
| DRG 557 | Tendonitis, Myositis, and Bursitis with MCC | ~1.00-1.30 |
| DRG 558 | Tendonitis, Myositis, and Bursitis with CC | ~0.75-0.95 |
| DRG 559 | Tendonitis, Myositis, and Bursitis without CC/MCC | ~0.55-0.75 |
*Approximate. Verify against IPPS FY2026 Final Rule tables.
Neurological or Systemic Etiology May Shift MDC
If the patient is admitted primarily for a neurological condition (G35.D or MS subtype, G82.x spinal cord dysfunction) and the muscle spasm is a manifestation, the neurological principal diagnosis may pull the encounter to MDC 01 (Nervous System), away from MDC 08. Always evaluate the reason for admission before assigning principal diagnosis.
π Related ICD-10-CM Codes
Site Variants of M62.83x
| Code | Description |
|---|---|
| M62.830 | Muscle spasm of back |
| M62.831 | Muscle spasm of calf |
| M62.838 | Other muscle spasm β This Code |
Associated and Differential Diagnosis Codes
| Code | Description | Coding Relevance |
|---|---|---|
| R25.2 | Cramp and spasm | Excludes 1 β symptom code; mutually exclusive with M62.838; assign M62.838 when clinical diagnosis is established |
| M54.12 | Radiculopathy, cervical region | Common driver of cervical paraspinal spasm; sequence before M62.838 when driving admission |
| M54.17 | Radiculopathy, lumbar region | Common driver of lumbar-adjacent or leg spasm; sequence first when driving admission |
| M62.830 | Muscle spasm of back | More specific β use when spasm is explicitly documented as back/paraspinal |
| M62.831 | Muscle spasm of calf | More specific β use when spasm is explicitly documented in the calf |
| M62.40 | Contracture of muscle, unspecified | Different disorder β chronic fixed shortening vs. acute/subacute spasm |
| M79.3 | Fibromyalgia | May coexist with M62.838; code both when separately documented |
| M79.1 | Myalgia | Excludes 1 at M62 category β cannot code simultaneously with M62.838 |
| G25.82 | Stiff-man syndrome | Excludes 1 β distinct neurological syndrome; mutually exclusive |
| E83.42 | Hypomagnesemia | Metabolic cause of muscle spasm β code additionally when documented |
| G35.D | Multiple sclerosis, unspecified | FY2026 billable MS code (replaces standalone G35); CMS-HCC v28: HCC 198; sequence before M62.838 when MS drives admission |
| G35.A | Relapsing-remitting MS | FY2026 billable; most common MS subtype; query before defaulting to G35.D |
π οΈ Commonly Associated CPT Codes
Outpatient and Physician Setting Context
The CPT codes below are associated with the evaluation and management of muscle spasm in outpatient, office, physical therapy, and pain management settings. In the inpatient setting, ICD-10-PCS procedure codes govern procedural reporting.
| CPT Code | Description | Clinical Application |
|---|---|---|
| 99213 | Office or other outpatient visit, established patient, low complexity | Routine follow-up for managed muscle spasm |
| 99214 | Office or other outpatient visit, established patient, moderate complexity | New or worsening spasm with underlying condition management |
| 97140 | Manual therapy techniques (mobilization, manipulation, manual traction) | Primary treatment modality for muscle spasm in PT/chiro settings |
| 97110 | Therapeutic exercise | Strengthening and neuromuscular re-education to address spasm drivers |
| 97124 | Massage therapy | Mechanical release of muscle spasm; commonly billed in PT encounters |
| 20552 | Trigger point injection(s); single or multiple trigger point(s), 1-2 muscles | Injection of anesthetic Β± corticosteroid directly into hypertonic muscle band |
| 20553 | Trigger point injection(s); single or multiple trigger point(s), 3 or more muscles | When spasm involves 3+ distinct muscle trigger points in same session |
| 64613 | Chemodenervation of neck muscle(s) (e.g., spasmodic torticollis) | Botulinum toxin injection for cervical muscle spasm/dystonia β high specificity |
| 64646 | Chemodenervation of trunk muscle(s); 1-5 muscles | Botulinum toxin for truncal muscle spasm |
| 64647 | Chemodenervation of trunk muscle(s); 6 or more muscles | Extended trunk chemodenervation |
NCCI Bundling Considerations
NCCI PTP Edits β Verify Before Billing
- 20552 or 20553 (trigger point injections) performed same date as an E/M service: Modifier -25 must be appended to the E/M code when both are performed on the same date and the E/M is separately documentable beyond the procedure pre/post service.
- 97140 (manual therapy) and 97124 (massage) billed same DOS: both are timed codes β confirm total timed minutes documented support billing both; NCCI PTP edits may apply depending on provider type and setting.
- 64613 (chemodenervation, neck) and E/M same DOS: Modifier -25 required on the E/M if separately documented and medically necessary beyond the procedure.
π¬ ICD-10-PCS Crosswalk (Inpatient Procedures)
When M62.838 is an inpatient diagnosis and a procedure is performed, the following ICD-10-PCS sections and root operations are relevant. Full PCS codes require completion of all seven characters β consult the PCS tables for the applicable fiscal year.
| PCS Section | Body System | Root Operation | Clinical Application |
|---|---|---|---|
| 3 (Administration) | E (Physiological Systems) | 0 (Introduction) | Intramuscular injection of pharmacologic agent (e.g., botulinum toxin, anesthetic, corticosteroid) β Body Part: specific muscle; Approach 3 (Percutaneous) |
| 0 (Medical & Surgical) | K (Muscles) | N (Release) | Surgical release of contracted or severely spastic muscle when conservative management fails |
| 0 (Medical & Surgical) | K (Muscles) | B (Excision) | Muscle biopsy if performed for diagnostic confirmation of underlying myopathic condition |
π Coding Scenarios and Examples
Scenario 1 β Cervical Paraspinal Muscle Spasm, Radiculopathy-Associated (Outpatient)
Clinical Vignette: A 52-year-old male presents with right-sided neck pain and stiffness following a 3-month history of C5-C6 radiculopathy. Exam reveals visible right cervical paraspinal muscle spasm and restricted rotation. MRI confirms C5-C6 disc herniation with right nerve root compression. Physician documents βcervical radiculopathy with associated cervical muscle spasm.β Referred to physical therapy.
CPT Codes (Outpatient/Physician):
- 99214 β Office visit, established patient, moderate complexity
ICD-10-CM:
- M54.12 β Radiculopathy, cervical region (principal β driving the encounter)
- M62.838 β Other muscle spasm (additional β cervical paraspinal spasm separately documented)
Sequence the Underlying Condition First
Scenario 2 β Piriformis Muscle Spasm, Idiopathic (Outpatient Physical Therapy)
Clinical Vignette: A 39-year-old female presents to a physical therapy clinic with deep right buttock pain and restricted hip internal rotation. Physician referral diagnosis: βpiriformis muscle spasm.β No radiculopathy documented. Treated with manual therapy, therapeutic exercise, and massage.
CPT Codes (PT Setting):
- 97140 β Manual therapy techniques, 15-minute unit
- 97110 β Therapeutic exercise, 15-minute unit
- 97124 β Massage, 15-minute unit (verify NCCI edits with 97140 same DOS)
ICD-10-CM:
- M62.838 β Other muscle spasm (piriformis is not back or calf β correctly captured under βotherβ)
Piriformis Spasm vs. Piriformis Syndrome
Scenario 3 β Neck Muscle Spasm, Chemodenervation with Botulinum Toxin (Outpatient)
Clinical Vignette: A 44-year-old female with chronic cervical dystonia presents for repeat botulinum toxin injections to the right sternocleidomastoid, splenius capitis, and trapezius. Physician documents βcervical muscle spasm / spasmodic torticollis.β Three muscles injected.
CPT Codes:
- 64613 β Chemodenervation of neck muscle(s), spasmodic torticollis
- 99213--25 β E/M if separately documented beyond the injection
ICD-10-CM:
- M62.838 β Other muscle spasm (cervical/neck muscles = βotherβ site)
- G24.3 β Spasmodic torticollis (if documented β sequence per reason for encounter)
Modifier -25 Required When E/M Billed Same Day as Injection
Scenario 4 β MS-Related Muscle Spasm, Inpatient β FY2026 Code Awareness
Clinical Vignette: A 51-year-old female with known multiple sclerosis is admitted for acute exacerbation with bilateral upper extremity muscle spasm. Neurologist documents βrelapsing-remitting MS in relapse with bilateral arm spasm.β Treated with IV methylprednisolone.
Principal Diagnosis:
- G35.A β Relapsing-remitting multiple sclerosis (MS driving admission β sequences as principal; groups to MDC 01, not MDC 08)
Additional Diagnoses:
- M62.838 β Other muscle spasm (bilateral upper extremity β βotherβ site)
FY2026 β G35 Alone Is Invalid After 10/1/2025
G35 is no longer a valid billable code. In this scenario, the physician documented relapsing-remitting MS β G35.A is correct. If the MS subtype is not documented, G35.D (MS, unspecified) is the FY2026 replacement for old standalone G35. A CDI query for MS subtype and activity level is always appropriate before defaulting to G35.D.
Scenario 5 β Shoulder Girdle Muscle Spasm, Inpatient (Electrolyte Imbalance)
Clinical Vignette: A 67-year-old female is admitted for severe hypomagnesemia secondary to loop diuretic use. She develops bilateral periscapular and shoulder girdle muscle spasm during the admission. Treated with IV magnesium replacement.
Principal Diagnosis:
- E83.42 β Hypomagnesemia (driving the admission)
Additional Diagnoses:
- M62.838 β Other muscle spasm (bilateral shoulder girdle spasm β βotherβ site, not back or calf)
MS-DRG Assignment:
- Groups to MDC based on principal metabolic diagnosis β M62.838 as additional does not shift MDC in this scenario.
Metabolic Spasm β Sequence the Cause First
The electrolyte disturbance sequences first. M62.838 accurately captures the musculoskeletal manifestation as an additional diagnosis and supports complete clinical documentation.
β οΈ Coding Pitfalls and Tips
| Pitfall or Tip | |
|---|---|
| β | Do not use R25.2 when a clinical diagnosis is established β once physician documents muscle spasm as a disorder, M62.838 is correct; R25.2 is mutually exclusive (Excludes 1) |
| β | Do not use M62.838 when the documented site is the back β back muscle spasm β M62.830 |
| β | Do not use M62.838 when the documented site is the calf β calf muscle spasm β M62.831 |
| β | Do not code M62.838 simultaneously with R25.2, M79.1-, G72.0, G72.1, or G25.82 β Excludes 1 at M62 category level |
| β | Do not use G35 alone (FY2026) β non-billable parent since 10/1/2025; use G35.A, G35.B0-G35.B2, G35.C0-G35.C2, or G35.D |
| β | Do not use M62.838 for chronic fixed muscle shortening β contracture β M62.4x |
| β | Query for MS subtype and activity before defaulting to G35.D β ask the neurologist/attending to document RRMS, PPMS, or SPMS and whether currently active |
| β | Query for site specificity β βmuscle spasmβ without location β confirm M62.830, M62.831, or M62.838 |
| β | Assign underlying etiology codes when identified β radiculopathy, electrolyte disturbance, MS subtype β sequence etiology first |
| β | Modifier -25 required when trigger point injection (20552, 20553) or chemodenervation (64613) billed same day as E/M |
| β | Sweep for HCC-bearing comorbidities β MS subtypes (HCC 198), hemiplegia, DM with complications carry RAF weight that M62.838 does not |
| β | M62.838 is appropriate for piriformis, cervical, shoulder, forearm, and hand spasm β all βotherβ site presentations not covered by M62.830 or M62.831 |
π Sources
-
CMS/NCHS. ICD-10-CM Official Guidelines for Coding and Reporting, FY2026. Tabular List β M62.838; M62.83 Muscle Spasm subcategory; G35 parent code restructure effective October 1, 2025.
-
AMA. CPT Professional Edition 2026. Medicine β Physical Medicine and Rehabilitation subsection (97010-97799); Surgery β Musculoskeletal and Nervous System subsections.
-
CMS. 2025-2026 Medicare Advantage Risk Adjustment β CMS-HCC Model v28 ICD-10-CM Mappings. G35 family: HCC 198 (v28), RxHCC 159 (v08).
-
CMS. IPPS Final Rule FY2026 β MS-DRG Definitions Manual v43. MDC 08 logic tables β Tendonitis, Myositis, and Bursitis DRG grouping.
-
CMS. ICD-10-PCS Reference Manual FY2026. Section 0 (Medical & Surgical), Body System K (Muscles); Section 3 (Administration).
-
CMS. Outpatient Physical Therapy Billing and Coding Article A53065. M62.838 listed as covered ICD-10-CM diagnosis for physical therapy services.
-
CMS. NCCI Policy Manual for Medicare Services, current version. Musculoskeletal chapter and general correct coding principles.
Crystal's MCW Coder Hub