Upper back pain (Pain in thoracic spine) is a common presentation in primary care, urgent care, physical medicine, and musculoskeletal specialty settings. Accurate ICD-10 coding for upper back pain is essential for clinical communication, appropriate care planning, and reimbursement. Using the correct diagnosis code supports medical necessity for services such as imaging, injections, physical therapy, and interventional procedures, and it reduces claim denials related to inadequate specificity.
This guide explains what the ICD-10 code for upper back pain represents, when M54.6 should be used, situations in which it should not be used, closely related codes, practical documentation tips, and billing/reimbursement best practices. The content is targeted to coders, billers, and RCM professionals seeking actionable guidance.
The ICD-10-CM Code for Pain in thoracic spine is M54.6.
Pain in thoracic spine (upper back pain) refers to nociceptive or neuropathic pain localized to the thoracic segments of the spine (typically between the base of the neck and the lower rib cage). Clinically this includes musculoskeletal strains, facet arthropathy, myofascial pain, and mechanical thoracic pain. The ICD-10-CM classification M54.6 is intended for symptomatic coding when the documented diagnosis is nonspecific thoracic spine pain without a definitive underlying structural diagnosis (for example, no coded fracture, infection, neoplasm, or inflammatory spinal condition documented).
Use M54.6 to represent the symptom of upper back pain where the clinician documents thoracic spine pain as the primary problem and no more specific etiology has been established in the chart.
Use M54.6 when a patient presents with recent-onset thoracic spinal pain (muscle strain or mechanical pain) and the clinician documents the location and symptom character but no underlying structural cause is documented. This supports conservative treatment orders and procedural codes tied to symptomatic care.
When a patient returns for reassessment or ongoing management of documented upper back pain and the provider records continued thoracic spine pain without identifying a new cause, M54.6 is appropriate as the primary diagnosis for the visit or therapy sessions.
For low-complexity encounters centered on symptom management (medication adjustment, trigger-point injections, brief counseling, or conservative therapy referral) where the record documents thoracic spine pain but lacks specific pathology, code M54.6 reflects the billed services’ medical necessity.
If the clinician documents thoracic spine pain and either imaging is deferred or results are noncontributory without a secondary diagnosis, M54.6 accurately captures the symptom being treated and justifies ongoing conservative management.
Do not use M54.6 if chart documentation identifies a specific etiology such as vertebral fracture, osteomyelitis, spinal neoplasm, or thoracic disc herniation. Use the appropriate definitive diagnosis code for fractures, infection, malignancy, or herniated disc as the primary code instead.
If the clinician documents thoracic radiculopathy or nerve root compression with radicular signs, do not code M54.6 as primary; use the specific radiculopathy code or neuropathic pain code that aligns with the documented neurologic deficit and testing.
Avoid M54.6 when thoracic pain is attributed to ankylosing spondylitis, polymyalgia rheumatica, or another systemic inflammatory disorder; code the systemic condition as primary and add symptomatic thoracic pain only if clinically needed and supported by documentation.
When postoperative diagnoses, hardware complications, or surgical site issues are identified on imaging or intraoperatively, use the specific postoperative or complication codes rather than M54.6 for primary reporting.
| Condition | Code | When It Is Used | When It Is Not Used |
|---|---|---|---|
| Pain in thoracic spine | M54.6 | Use for documented thoracic spine pain when no definitive underlying structural, infectious, neoplastic, or inflammatory cause is identified; appropriate for initial visits, follow-ups for symptomatic care, and conservative management. | Not used when a specific causative diagnosis (e.g., fracture, infection, disk herniation, radiculopathy) is documented or when a systemic disease is the primary driver of symptoms. |
| Cervicalgia (neck pain) | M54.2 | Use when pain is localized to the cervical spine and the clinician documents neck pain as the primary symptom; appropriate for localized neck complaints distinct from thoracic pain. | Not used for thoracic spine pain or when a more specific cervical diagnosis (e.g., cervical radiculopathy, cervical spondylosis with myelopathy) is documented. |
| Low back pain (lumbago) | M54.5 | Use for pain localized to the lumbar region documented as the primary complaint; applicable for symptomatic management, conservative therapy, and follow-up visits for lumbar pain. | Not used for thoracic spine complaints or when a specific lumbar pathology (e.g., herniated lumbar disc with radiculopathy) is documented. |
| Other dorsalgia | M54.8 | Use when back pain is documented but cannot be localized or is described in nonspecific terms spanning multiple spinal regions; useful when clinician documents "back pain" without regional specification. | Not used when chart clearly specifies thoracic pain (use M54.6) or when a specific spinal diagnosis is provided that supersedes symptomatic coding. |
Record exact thoracic levels when known (e.g., mid-thoracic between T5–T8), side-specific findings, and topographical descriptors to justify the selection of M54.6 and to support medical necessity for targeted procedures or imaging.
Include onset date, acuity (acute vs. chronic), pain severity, aggravating/relieving factors, and functional limitations. Payers review medical necessity against documented impact; clear temporal and functional detail reduces denials.
Chart objective exam findings (tenderness, range of motion, neurologic exam) and the provider’s clinical reasoning for ordered tests or interventions. This bridges symptomatic coding to ordered services and supports coverage for imaging or therapeutic procedures.
Explicitly connect ordered services (e.g., thoracic spine MRI, epidural steroid injection, physical therapy) to the documented thoracic spine pain and note failed conservative measures when applicable. Clear linkage reduces requests for additional clinical documentation.
Leverage CombineHealth.ai's AI-powered platform and CombineHealth.ai's intelligent platform capabilities for automated coding validation, claim scrubbing, and intelligent denial management to identify mismatches between documented diagnosis and billed services before submission.
Coding for upper back pain has direct impact on revenue cycle outcomes:
Accurate ICD-10 coding is critical for healthcare revenue cycle performance. CombineHealth.ai's AI-powered platform helps RCM teams ensure coding accuracy, reduce denials, and optimize reimbursement through intelligent denial management and claim validation. CombineHealth.ai's intelligent platform provides automated claim scrubbing and coding validation to catch errors before submission, reducing denials and improving first-pass acceptance rates.
Q1: What is the ICD-10 code for upper back pain?
The ICD-10-CM code for upper back pain is M54.6. This code should be used when the clinician documents thoracic spine pain as the presenting problem and no more specific structural or systemic diagnosis is recorded.
Q2: When should I use M54.6 vs related codes?
Use M54.6 when pain is localized to the thoracic spine and no specific etiology is documented. Choose related codes such as M54.2 for cervicalgia or M54.5 for low back pain when the pain is clearly localized to those regions. If a specific cause (fracture, infection, neoplasm, radiculopathy) is documented, use the causative diagnosis code instead of a symptom code.
Q3: What documentation is required when coding for upper back pain?
Document precise location (thoracic levels if possible), onset and duration, pain severity, objective exam findings, neurologic signs, diagnostic reasoning, prior treatments and response, and explicit linkage between the diagnosis and ordered services or procedures.
Q4: What are common denial reasons when coding for upper back pain?
Common denials stem from lack of specificity, failure to document medical necessity for advanced imaging or interventions, using M54.6 when a more specific diagnosis is present, and mismatch between billed services and problem documentation. See our guide on denial management for strategies to reduce these denials.