Doctors Note Logo

Published on: 1/3/2026

Why does my upper back hurt when i cough?

There are several factors to consider. Upper back pain with coughing is often from muscle strain or intercostal inflammation, but infections like bronchitis or pneumonia and pleurisy, thoracic spine problems, and rare heart or abdominal causes can also be involved. See below to understand more, including red flags like fever, shortness of breath, chest tightness, or neurological symptoms that mean you should seek care promptly, plus practical steps you can try at home such as posture changes, OTC anti-inflammatories, heat, gentle exercises, and cough control.

answer background

Explanation

Why Does My Upper Back Hurt When I Cough?

Experiencing upper back pain when you cough can be unsettling, but it’s a common symptom with multiple possible causes. In most cases, a sore upper back during a cough is due to strained muscles or inflammation in the chest wall. However, it can sometimes signal a more serious issue. Below, we explain the main reasons, when to seek help, and how to manage or prevent this discomfort.

Common Causes

  1. Muscular Strain

    • Overuse or sudden effort: Repeated coughing, sneezing or heavy lifting can overwork the muscles between your shoulder blades (thoracic paraspinals).
    • Poor posture: Hunching over a desk, phone or steering wheel for long periods tightens the upper back muscles, making them more prone to strain when you cough.
  2. Intercostal Muscle Inflammation

    • The intercostal muscles lie between the ribs. A violent or prolonged coughing fit can inflame or even cause small tears in these muscles, leading to sharp pain in the upper back each time you cough.
  3. Costochondritis and Chest Wall Syndrome

    • Inflammation of the cartilage connecting ribs to the breastbone (sternum) can cause referred pain to the upper back when you cough or take a deep breath.
  4. Respiratory Infections

    • Bronchitis or pneumonia: Infections can cause deep, productive coughs that strain your back muscles.
    • Pleurisy: This is inflammation of the lining around your lungs. Coughing or breathing can trigger sharp, stabbing back or side pain.
  5. Spinal Conditions

    • Osteoarthritis or degenerative disc disease in the thoracic spine can cause baseline stiffness and pain that worsens with the jarring motion of a cough.
    • Herniated or bulging disc: Though less common in the mid-back, a disc issue can radiate pain when you cough due to increased spinal pressure.
  6. Other Causes (Less Common)

    • Gallbladder or liver issues: Upper back pain can sometimes arise from problems in the abdomen, such as gallstones or liver disease. (See Castera L. et al., transient elastography; Kim WR. et al., cirrhosis and hyponatremia.)
    • Heart conditions: Rarely, conditions like pericarditis can refer pain to the back, especially with coughing or deep breathing.

Recognizing Red Flags

Most upper back pain with coughing is benign, but certain symptoms warrant prompt medical evaluation:

  • Severe or worsening pain unresponsive to rest and over-the-counter (OTC) pain relief
  • High fever, chills, or night sweats
  • Shortness of breath, rapid heartbeat or chest tightness
  • Numbness, tingling or weakness in the arms or legs
  • Unexplained weight loss or fatigue
  • History of cancer or osteoporosis

If you have any of these signs, speak to a doctor or visit an emergency department immediately.

Diagnosis

A healthcare provider will typically:

  • Review your medical history and ask about the cough’s duration, character and associated symptoms.
  • Perform a physical exam, checking for tenderness in the chest wall, spine mobility and lung sounds.
  • Order imaging or tests if needed:
    • Chest X-ray or CT scan to rule out pneumonia, pleurisy or spinal issues
    • Blood tests for infection markers or signs of systemic illness
    • Pulmonary function tests for chronic cough evaluation (Irwin RS. et al., ACCP guidelines)

Managing Upper Back Pain When You Cough

  1. Rest and Posture Correction

    • Avoid activities that worsen the pain.
    • Use a lumbar-support cushion or ergonomic chair to maintain a straight back.
  2. Pain Relief

    • OTC analgesics: ibuprofen or naproxen can reduce inflammation.
    • Apply a warm compress or heating pad for 15–20 minutes, 2–3 times a day.
    • Topical creams containing menthol or capsaicin may help for mild muscle soreness.
  3. Gentle Stretching and Strengthening

    • Shoulder blade squeezes and chin tucks can relieve tension in the upper back.
    • Wall angels: stand with your back against a wall, raise arms overhead and slide them down, keeping contact with the wall.
  4. Cough Control

    • Stay well hydrated to thin mucus, making coughs less forceful.
    • Use cough suppressants or expectorants as directed by a pharmacist or doctor.
    • Practice “huff coughing”: take a medium breath and push air out with your throat rather than your chest to reduce strain.
  5. Physical Therapy

    • A trained therapist can teach you targeted exercises and manual techniques to ease muscle tension and improve posture.

Prevention Tips

  • Maintain an upright posture when sitting or standing.
  • Take regular breaks if you work at a computer or drive for long periods.
  • Strengthen your core and back muscles with regular exercise.
  • Address persistent dry coughs—especially at night—with humidifiers or prescribed inhalers.
  • Get vaccinated against flu and pneumonia to cut down on respiratory infections.

When to Get Help

Consider a free, online symptom check for upper back pain and cough if you’re unsure about your symptoms. This quick screening tool can guide you on whether you need immediate medical attention or simple home care.

Always speak to a doctor if you experience:

  • Sudden, severe chest or back pain
  • Difficulty breathing or rapid breathing
  • High fever or worsening infection signs
  • Neurological changes like numbness or weakness

Your health is important. Early evaluation can rule out serious conditions and get you back to feeling comfortable sooner.


Disclaimer: This information is educational and not a substitute for professional medical advice. Always consult your physician for diagnosis and treatment of any health concerns.

Thinking about asking ChatGPT?Ask me instead

Tell your friends about us.

We would love to help them too.

smily Shiba-inu looking

For First Time Users

What is Ubie’s Doctor’s Note?

We provide a database of explanations from real doctors on a range of medical topics. Get started by exploring our library of questions and topics you want to learn more about.

Learn more about symptoms

Crackling in joints

Was this page helpful?

Purpose and positioning of servicesUbie Doctor's Note is a service for informational purposes. The provision of information by physicians, medical professionals, etc. is not a medical treatment. If medical treatment is required, please consult your doctor or medical institution. We strive to provide reliable and accurate information, but we do not guarantee the completeness of the content. If you find any errors in the information, please contact us.