Doctors Note Logo

Published on: 9/13/2026

How do I relieve upper back pain when I cough?

Upper back pain that spikes when you cough is most often linked to strained muscles, irritated rib joints, or chest wall inflammation from repeated forceful coughing, but it can also point to pleurisy, a lung infection, or spine issues that need prompt attention. Relief usually starts with calming the cough itself, bracing your back or hugging a pillow during coughing fits, alternating heat and ice, gentle stretching and posture correction, staying hydrated, and using over the counter pain relievers or cough medicine as directed. Red flags such as fever, shortness of breath, coughing up blood, chest pressure, unexplained weight loss, or numbness and weakness change the picture entirely, and there are several other important factors to weigh, so see below to understand more. Because identical symptoms can stem from very different causes, taking a free, instant online symptom check can help you narrow down likely explanations in just a few minutes. It is available anytime, requires no appointment, and gives you personalized guidance on whether home care is enough or it is time to see a doctor.

Last reviewed for medical accuracy: 09/12/2026

answer background

Explanation

Why Does My Upper Back Hurt When I Cough?

Feeling a sharp twinge in your upper back each time you cough is common—and usually not a sign of anything serious. But it can be painful and disruptive. Below, we’ll look at the most frequent causes, simple self-care measures, and when to get medical help.


Common Causes

  1. Muscle Strain
    • Vigorous coughing can overwork the muscles between your shoulder blades and along your spine.
    • Even a few days of intense coughing (e.g., from a cold or flu) may lead to tiny muscle tears and inflammation.

  2. Poor Posture
    • Slouching or hunching—especially when you’re sick and lying in bed—adds stress to your upper back.
    • Extended time leaning over a computer or phone can make those muscles tight and more sensitive.

  3. Inflamed Ribs or Joints
    • Coughing shifts rib positions slightly. If the costovertebral or costosternal joints are irritated, you’ll feel pain between the ribs and spine.
    • Conditions like costochondritis (inflammation of the rib cartilage) can flare with a hard cough.

  4. Lung or Pleural Issues
    • Pleurisy (inflammation of the lung lining) causes a sharp, stabbing pain that worsens with coughing or deep breathing.
    • Pneumonia or bronchitis sometimes refer pain to the back, especially if the lower lobes of the lungs are involved.

  5. Spinal Problems
    • Herniated discs or arthritis in the thoracic spine can be aggravated by the sudden pressure change a forceful cough induces.
    • Though less common in the upper back than the neck or low back, these structural issues still play a role.


Self-Care Strategies

If your pain is mild to moderate and you recognize it as muscle-related, try these first:

1. Gentle Stretching

  • Shoulder blade squeezes: Sit or stand upright, pinch your shoulder blades together, hold for 10 seconds, release. Repeat 10 times.
  • Thoracic extensions: Sit on the edge of a chair, interlace fingers behind your head, gently arch your upper back over the chair’s backrest. Hold for 5–10 seconds.

2. Heat and Cold Therapy

  • Cold pack: Apply for 10–15 minutes to reduce any acute inflammation.
  • Warm compress or shower: Follow cold therapy after 24 hours to relax tight muscles and improve blood flow.

3. Over-the-Counter Pain Relief

  • Nonsteroidal anti-inflammatory drugs (NSAIDs) like ibuprofen can ease both pain and swelling.
  • Acetaminophen is an alternative if NSAIDs are not suitable for you.

4. Cough Management

  • Stay hydrated: Thin mucus and soothe your throat to make coughing less forceful.
  • Honey or lozenges: Provide a mild cough suppressant effect.
  • Humidifier: Adds moisture to the air, reducing throat and airway irritation.

5. Posture and Ergonomics

  • Keep your workstation at eye level: Prevents slumping that tightens upper-back muscles.
  • Supportive pillows: Use a pillow that maintains the natural curve of your neck when you sleep.
  • Short breaks: Stand, stretch, and walk briefly every 30–60 minutes during desk work.

When to Seek Medical Advice

Most minor pain settles within a week or two with basic self-care. Contact a healthcare professional if you experience:

• Severe, unrelenting back pain that doesn’t improve after a few days of home treatment
• Fever, chills, or signs of infection (especially if you suspect pneumonia)
• Shortness of breath or chest tightness
• Numbness, tingling, or weakness in your arms or legs
• Unintended weight loss, night sweats, or other “red-flag” symptoms

If you’re unsure whether your cough and back pain indicate something more serious, you might consider doing a free, online symptom check, using the doctor approved Ubie Symptom Checker to help guide your next steps.


Physical Therapy and Professional Treatments

For pain lasting more than two weeks, or recurrent back pain with coughing, a healthcare provider may suggest:

  • Physical Therapy
    A trained therapist can teach you targeted exercises, posture correction, and manual techniques to release tight muscles.

  • Prescription Medications
    Muscle relaxants or stronger anti-inflammatory drugs may be needed if OTC options aren’t effective.

  • Imaging Studies
    X-rays or MRI scans can identify spinal or joint issues, fractures, or more serious thoracic conditions.

  • Injections
    In some cases, a corticosteroid injection near a painful joint or nerve helps accelerate recovery.


Preventing Future Episodes

  1. Strengthen Your Core and Back
    • Planks, rows, and gentle yoga poses build resilience in your spine and shoulder region.

  2. Maintain Good Posture
    • Practice ergonomic principles at home and work.
    • Consider posture-supportive braces or wearables if you find yourself slumping without noticing.

  3. Manage Respiratory Health
    • Get vaccinated against flu and pneumonia if you’re in a higher-risk group.
    • Practice breathing exercises to keep your lungs strong and flexible.

  4. Regular Movement
    • Avoid sitting or standing in one position for too long.
    • Take short stretching breaks, especially during periods of illness.


Key Takeaways

  • Repetitive, forceful coughing strains the muscles, joints, and even your spine, causing upper back pain.
  • Most cases improve within 1–2 weeks with rest, gentle stretches, heat/cold therapy, and over-the-counter pain relief.
  • Persistent, severe, or accompanied by other worrying symptoms? Seek medical advice promptly.
  • For quick guidance on whether you need to see a doctor, try a free, online symptom check, using the doctor approved Ubie Symptom Checker.
  • Always speak to a doctor about anything that could be life-threatening or seriously affecting your health.

If your pain is intense, worsening, or comes with symptoms like fever, numbness, or breathing difficulty, please speak to a doctor right away.

(References)

  • * Vanleeuw P, Calozet Y, Eucher P, Rubay J, Schoevaerdts JC. Cardiac myxoma. Cardiovasc Surg. 1993 Dec;1(6):654-6. doi: 10.1177/096721099300100608. PMID: 8076115.

  • * Gleiter CH, Jägle C, Gresser U, Mörike K. Candesartan. Cardiovasc Drug Rev. 2004 Winter;22(4):263-84. doi: 10.1111/j.1527-3466.2004.tb00146.x. PMID: 15592574.

  • * Shahul HA, Manu MK, Mohapatra AK, Magazine R. Ortner's syndrome. BMJ Case Rep. 2014 Mar 11;2014. doi: 10.1136/bcr-2013-200950. Epub 2014 Mar 11. PMID: 24618861; PMCID: PMC3962976.

  • * McCarthy J, Davis A. Diagnosis and Management of Vertebral Compression Fractures. Am Fam Physician. 2016 Jul 1;94(1):44-50. PMID: 27386723.

  • * Davis D, Taqi M, Vasudevan A. Sciatica. 2026 Jan. PMID: 29939685.

  • * Finley CR, Chan DS, Garrison S, Korownyk C, Kolber MR, Campbell S, Eurich DT, Lindblad AJ, Vandermeer B, Allan GM. What are the most common conditions in primary care? Systematic review. Can Fam Physician. 2018 Nov;64(11):832-840. PMID: 30429181; PMCID: PMC6234945.

  • * Eggeling S. [Pneumothorax]. Zentralbl Chir. 2021 Feb;146(1):126-144. doi: 10.1055/a-1256-6008. Epub 2021 Feb 15. PMID: 33588508.

  • * Rudolph M, Peng J, Wu PE. Cystadénome séreux bénin accompagné de toux et de lombalgie. CMAJ. 2021 Oct 25;193(42):E1650-E1651. doi: 10.1503/cmaj.202850-f. PMID: 34697106; PMCID: PMC8562988.

  • * Bascom R, Dhingra R, Francomano CA. Respiratory manifestations in the Ehlers-Danlos syndromes. Am J Med Genet C Semin Med Genet. 2021 Dec;187(4):533-548. doi: 10.1002/ajmg.c.31953. Epub 2021 Nov 22. PMID: 34811894.

  • * Chamo M, Kull C, Khani H. [Acupuncture with an Aftermath]. Praxis (Bern 1994). 2023;112(4):239-241. doi: 10.1024/1661-8157/a004023. PMID: 36919318.

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.

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.