Back rib pain refers to discomfort around the ribs at the back of your chest, often near the upper or middle spine. It may feel sharp, dull, aching, or burning and can become worse when you twist, cough, breathe deeply, or move your upper body.
In many cases, back rib pain develops because of muscle strain, poor posture, or a rib injury. However, it can sometimes be related to a spinal condition or an underlying problem affecting the lungs or other organs.
Understanding the possible cause can help you to decide when home care may be reasonable and when you should seek medical attention.
What Is Back Rib Pain?
Back rib pain refers to pain felt at the back of the ribcage — along the thoracic spine, between the ribs, and sometimes radiating around the chest wall from the back to the front. The thoracic cage consists of 12 pairs of ribs that each attach posteriorly to the thoracic vertebrae — this connection is the anatomical bridge between the spine and the ribs, which is why spinal problems frequently produce pain felt as back rib pain.
The character, location, and accompanying symptoms of back rib pain provide the most important diagnostic clues:
- Sharp pain worse with breathing — suggests a rib or pleural cause
- Deep, constant pain not affected by movement — suggests an organ or systemic cause
- Pain that wraps around the chest in a band — suggests an intercostal nerve cause
- Pain reproduced by pressing on a specific rib or vertebra — suggests a musculoskeletal cause
What Organs Are Behind the Ribs in the Back?
Understanding what organs sit behind and within the ribcage explains why back rib pain can originate from sources that have nothing to do with the ribs or spine:
- Kidneys — sit in the posterior flanks, tucked beneath the lower ribs on both sides; kidney stones and infections produce flank and back rib pain
- Lungs and pleura — fill the posterior thoracic cavity; pleuritis, pneumonia, and pulmonary embolism all produce posterior chest and back rib pain
- Heart and aorta — centrally positioned but can refer pain to the left posterior chest and back ribs
- Liver — under the right lower ribs; hepatic pathology can produce right-sided back rib pain
- Spleen — under the left lower ribs; splenic injury or enlargement refers pain to the left upper back and left shoulder
- Pancreas — pancreatic pain classically radiates to the middle and left back, often felt as back rib pain
5 Major Causes of Back Rib Pain
Cause 1 — Muscle Strain and Intercostal Muscle Injury
The most common cause of back rib pain is a strain of the intercostal muscles — the muscles that run between each pair of ribs — or the posterior rib attachments. This occurs from sudden forceful movements, heavy lifting, prolonged coughing, or sleeping in an awkward position.
Characteristic symptoms:
- Sharp, localised pain at a specific intercostal space in the back
- Worsens significantly with deep breathing, coughing, sneezing, or twisting
- Reproducible on pressing the affected intercostal space directly
- No systemic symptoms — no fever, no urinary changes, no spreading neurological symptoms
- Typically resolves within 1-3 weeks with appropriate management
Cause 2 — Thoracic Spine Pathology — Disc and Facet Joint
The thoracic vertebrae connect to the ribs at the costovertebral and costotransverse joints — and degenerative or structural problems at these joints, or at the thoracic intervertebral discs, produce back rib pain that is often felt at a specific spinal level, sometimes wrapping around the chest.
Characteristic symptoms:
- Deep, aching pain at a specific level in the posterior thoracic spine or rib attachment
- Pain that wraps around the chest wall along the intercostal nerve territory (dermatomal band)
- Worse with thoracic rotation, extension, or sitting for a longer period
- Possible tingling or numbness around the ribcage in the affected dermatome
- Confirmed on thoracic spine MRI
Cause 3 — Rib Fracture
Rib fractures — from trauma, severe coughing, or osteoporosis-related stress — produce acute, severe, localised back rib pain. In elderly patients with osteoporosis, even minor stresses can produce thoracic vertebral compression fractures that present as back rib pain without a clear traumatic event.
Characteristic symptoms:
- Severe, sharp pain at the fracture site — dramatically worse with any breathing, movement, or coughing
- Point tenderness on direct palpation of the affected rib
- Guarding — the patient unconsciously splints breathing to avoid the pain
- Confirmed on X-ray or CT — some rib fractures are missed on plain X-ray and require CT for diagnosis
When to treat this as an emergency: Multiple rib fractures (three or more adjacent ribs fractured in two places) can cause a flail chest — a life-threatening breathing emergency requiring immediate care.
Cause 4 — Costochondritis and Tietze Syndrome
Costochondritis is inflammation at the costochondral junctions — where the ribs meet the cartilage that connects them to the sternum. Although classically considered an anterior chest condition, the pain frequently wraps to the posterior chest and is felt as back rib pain, particularly in the mid-thoracic region.
Characteristic symptoms:
- Reproducible pain on palpation of the affected costochondral junction
- Pain that worsens with deep breathing, coughing, and arm movement
- No swelling in costochondritis; visible localised swelling distinguishes Tietze syndrome
- Often follows an upper respiratory tract infection or period of heavy coughing
Cause 5 — Referred Pain from Internal Organs
Several crucial organ conditions produce pain referred to the back ribs through shared nerve pathways — making accurate diagnosis important to avoid treating the wrong source:
Kidney stone or kidney infection (pyelonephritis): Produces severe flank and lower back rib pain — colicky (kidney stone) or constant (infection) — with urinary symptoms (haematuria, dysuria, frequency) and, in infection, fever and costovertebral angle tenderness.
Pleuritis and pulmonary embolism: Inflammation of the pleura or a blood clot in the pulmonary artery produces sharp posterior chest and back rib pain that dramatically worsens with inspiration — a clinically critical presentation requiring urgent evaluation.
Shingles (Herpes Zoster): Reactivation of the varicella-zoster virus in a thoracic nerve ganglion produces a burning, severe pain in a dermatomal band around the back and chest — classically preceding the rash by 2-7 days. A common cause of unexplained, severe, unilateral back rib pain in older adults.
Symptoms of Back Rib Pain — What to Watch For
Musculoskeletal back rib pain typically produces:
- Sharp or aching pain at a specific location in the back rib area
- Clear worsening with deep breathing, movement, or specific postures
- Improvement with rest and anti-inflammatory medication
- Reproducible on direct palpation
Nerve-related back rib pain produces:
- Burning or electric pain radiating along an intercostal band
- Tingling or numbness following a dermatomal pattern around the chest
- Hypersensitivity of the skin over the affected dermatome
Organ-related back rib pain produces:
- Pain that does not change with spinal movement or position
- Associated systemic symptoms — fever, urinary changes, nausea, shortness of breath
- Not reproduced by pressing on the ribs or spine
What Is the Process to Diagnose Back Rib Pain?
A precise diagnosis of back rib pain requires a structured clinical and investigative approach:
Clinical assessment:
- Detailed history — onset, character, radiation, aggravating and relieving factors
- Physical examination — palpation of ribs and thoracic spine, respiratory assessment, costovertebral angle tenderness, neurological examination
Investigations based on clinical findings:
| Investigation | Best For |
| Chest X-ray | Rib fractures, pneumonia, pleural effusion |
| Thoracic spine X-ray | Vertebral fractures, alignment, scoliosis |
| CT thorax | Complex rib fractures, aortic pathology, pulmonary embolism |
| MRI thoracic spine | Disc herniation, nerve root compression, cord pathology |
| Urine analysis | Kidney stone, kidney infection |
| Blood tests | Inflammatory markers, infection, organ function |
| D-dimer + CT pulmonary angiogram | Pulmonary embolism |
Treatment Options for Back Rib Pain
Treatment is entirely determined by the specific cause:
For musculoskeletal causes:
- NSAIDs — Most effective when taken regularly for 5-7 days rather than sporadically
- Muscle relaxants — for significant intercostal spasm
- Physiotherapy — thoracic mobilisation, postural correction, and targeted stretching for thoracic disc and facet joint causes
- Intercostal nerve block — targeted injection of local anaesthetic for refractory intercostal pain
- Heat therapy — warm compress for 15-20 minutes reduces muscular back rib pain; avoid heat on acute fractures
For Rib fractures:
- Adequate analgesia — pain management is the priority to enable normal breathing and prevent chest complications
- Breathing exercises — incentive spirometry prevents pneumonia from splinted breathing
- Surgical rib fixation — for multiple displaced fractures causing flail chest
For organ-related causes:
- Kidney stone — hydration, analgesia, lithotripsy, or ureteroscopy depending on stone size
- Kidney infection — antibiotics and hydration
- Pulmonary embolism — anticoagulation therapy; urgent in-hospital management
Prevention Tips for Back Rib Pain
Prevention addresses the modifiable causes of musculoskeletal back rib pain:
- Maintain good thoracic posture — forward head posture and thoracic kyphosis increase costovertebral joint loading
- Strengthen thoracic paraspinal muscles — band pull-aparts, prone Y-T-W exercises, and seated rows build thoracic postural endurance
- Lift correctly — keep the load close to the body, avoid combined bending and twisting, and don’t exceed safe lifting capacity
- Manage bone density — calcium, Vitamin D, and weight-bearing exercise reduce osteoporosis-related rib fracture risk
- Address severe cough promptly — prolonged uncontrolled coughing is a recognised cause of rib fractures and intercostal muscle injuries
- Shingles vaccination — recommended from age 50 to prevent herpes zoster reactivation, a common cause of severe back rib pain in older adults
When Should You Be Worried About Rib Pain in the Back?
Seek prompt medical evaluation if:
- Back rib pain followed a trauma — fall, accident, or impact — particularly in older patients
- Pain is accompanied by fever and urinary symptoms
- Severe unilateral burning pain before or with a rash — possible shingles
- Pain is worsening progressively rather than improving
Seek emergency care immediately if:
- Severe chest and back rib pain with shortness of breath — possible pulmonary embolism or pneumothorax
- Crushing or tearing central chest pain radiating to the back — possible aortic dissection or cardiac event
- Multiple rib injuries with paradoxical chest wall movement — possible flail chest
- Sudden severe back rib pain with collapse or signs of shock — possible aortic emergency
When to See a Doctor for Back Rib Pain
See a spine or Rib specialist when:
- Back rib pain has been constant for more than 2-3 weeks without clear improvement
- Pain is waking you from sleep regularly
- Intercostal tingling or numbness is present alongside the rib pain
- You have a history of cancer and develop new back rib pain — requires urgent investigation for bone metastasis
- Back rib pain is limiting your breathing depth or day-to-day activity
Frequently Asked Questions
1. Why do my ribs hurt in the back?
Back rib pain may result from intercostal muscle strain, thoracic spine problems, rib fractures, or referred pain from the kidneys, lungs, or other organs. Pain patterns and associated symptoms can help a doctor identify the cause.
2. How do I fix back rib pain?
Mild muscle-related pain may improve with activity modification, heat therapy, and appropriate physiotherapy. Constant or severe pain needs medical evaluation, as nerve-related and organ-related causes require specific treatment.
3. Are there any red flags with rib pain in the back?
Seek emergency care for severe pain with shortness of breath, crushing chest-to-back pain, or breathing difficulties after a significant injury. Fever with severe pain, especially in someone with cancer, also requires urgent assessment.
4. How long will back rib pain last?
Mild muscle strains often improve within 1–3 weeks, while uncomplicated rib fractures may take 6–8 weeks to heal. Recovery from spinal conditions or shingles varies, and some nerve pain can persist for months.
5. What organ is behind my ribs in my back?
The kidneys lie beneath the lower ribs toward the back. The lungs occupy the chest, while the liver sits under the right lower ribs and the spleen under the left. Pain in these areas may also originate from the spine or muscles.
6. What can be mistaken for rib pain?
Shingles, kidney stones, lung conditions such as pulmonary embolism, and heart problems can cause pain around the ribs or back. Constant or severe pain should be assessed by a medical professional.
7. What are the first signs of a broken rib?
A broken rib often causes localized tenderness and sharp pain that worsens with breathing, coughing, sneezing, or movement. After an injury, seek medical assessment if you suspect a fracture, especially if you have difficulty breathing.
Conclusion
Back rib pain is a symptom — not a diagnosis. Its cause ranges from a simple intercostal muscle strain that resolves with rest and NSAIDs to a pulmonary embolism requiring emergency anticoagulation. The character of the pain, its relationship to breathing and movement, and the presence or absence of systemic symptoms are the key clinical differentiators — and getting the assessment right from the start determines whether treatment produces fast recovery or misses a serious underlying condition.
Dr. Amit Shridhar — Best Spine Surgeon in Delhi — provides expert assessment of back and rib pain, distinguishing thoracic spinal causes from other conditions and offering the full range of diagnostic and treatment options for patients across Delhi NCR.







