Pain when you breathe can range from a minor muscle strain to a medical emergency, so the first step is figuring out which category you’re in. Most causes are treatable and not life-threatening, but a few require immediate care. The key is recognizing the warning signs that separate something serious from something you can manage at home.
When to Call 911
Some combinations of symptoms alongside painful breathing point to conditions that can’t wait. Call emergency services if your breathing pain comes with any of the following: chest pain or pressure lasting two minutes or more, fainting or loss of consciousness, sudden dizziness or weakness, coughing up blood, a bluish tint to your skin or lips, confusion, or swelling of the face or tongue. These can signal a heart attack, a blood clot in the lung, or a severe allergic reaction.
If you’re unsure whether your situation is serious, err on the side of calling. A collapsed lung, for example, comes on suddenly with sharp chest pain and shortness of breath, and it needs treatment fast. Tension pneumothorax, a rare but dangerous complication, can cause a drop in blood pressure and requires paramedic intervention on-site.
Common Causes of Painful Breathing
Muscle and Rib Cage Problems
The most common and least dangerous cause is musculoskeletal. A pulled intercostal muscle (the muscles between your ribs) or a rib injury creates pain in a specific spot that gets worse when you press on it, twist your torso, or take a deep breath. You can usually pinpoint exactly where it hurts with one finger. Costochondritis, an inflammation of the cartilage connecting your ribs to your breastbone, feels similar. A doctor diagnoses it by pressing along your breastbone and checking for tenderness. It often resolves on its own but can last several weeks or longer.
Pleurisy
Pleurisy is inflammation of the thin tissue lining your lungs and chest wall. Normally, these two layers glide smoothly against each other. When they’re inflamed, they rub together like sandpaper, causing a sharp, stabbing pain that worsens when you breathe in, cough, or sneeze. A hallmark of pleurisy is that the pain lessens or stops entirely when you hold your breath. It can also spread to your shoulders or back. Viral infections are the most common trigger, though 30% to 40% of cases have no identifiable cause.
Pneumonia
When a lung infection causes inflammation deep in the tissue, breathing becomes painful because each expansion of your lungs irritates the inflamed area. Pneumonia typically comes with fever, a productive cough, and fatigue alongside the breathing pain. The severity varies widely. Mild cases can be treated at home, while more severe cases, particularly in people over 65 or those with confusion, low blood pressure, or a rapid respiratory rate, may require hospitalization.
Pulmonary Embolism
A blood clot that travels to the lungs causes sudden, sharp chest pain that worsens with breathing, often alongside a rapid heart rate and shortness of breath. This is the most frequent serious condition associated with pleuritic pain. Your risk is higher if you’ve been immobilized for three or more days, had recent surgery, have a history of blood clots, or have been on long flights or car rides. Leg swelling or pain on one side can be an additional clue, since clots often form in the deep veins of the legs before traveling to the lungs.
Pericarditis
Inflammation of the sac surrounding the heart produces a sharp, stabbing pain that worsens when you cough, swallow, breathe deeply, or lie flat. The distinguishing feature: it eases when you sit up and lean forward. If you notice that specific positional relief, pericarditis is a likely culprit, and you should see a doctor promptly.
Collapsed Lung
A spontaneous pneumothorax happens when a small air pocket on the lung’s surface ruptures, allowing air to leak into the chest cavity. It comes on suddenly with sharp pain on one side and difficulty breathing. It’s most common in tall, thin young men between ages 15 and 40, and smoking significantly increases the risk. Older adults with existing lung disease like COPD or asthma can also develop it, and their cases tend to be more serious because their lungs are already compromised.
Anxiety and Panic
Panic attacks can produce very real chest tightness and pain with breathing. The pain is often diffuse rather than pinpointed to one spot, and it comes alongside racing thoughts, tingling in the hands, and a sense of dread. It’s not dangerous, but it’s frightening, and it can mimic more serious conditions closely enough that even emergency doctors sometimes need tests to distinguish the two.
How Doctors Find the Cause
A chest X-ray is typically the first test ordered. It can reveal pneumonia, fluid around the lungs, a collapsed lung, or signs of heart failure. If a blood clot is suspected, a D-dimer blood test is often the next step. A negative result helps rule out a pulmonary embolism in lower-risk patients. If the D-dimer is positive or the clinical suspicion is high, a CT angiogram provides a detailed image of the blood vessels in your lungs to confirm or rule out a clot.
For cases where the cause remains unclear, high-resolution CT scans of the chest can identify subtler problems like interstitial lung disease or small areas of collapse. An electrocardiogram checks for heart-related causes. If costochondritis is suspected, no imaging test confirms it directly. Doctors diagnose it by reproducing the pain through physical examination and ruling out other conditions.
What You Can Do at Home
If your pain is clearly musculoskeletal, meaning you can point to the exact spot and it hurts more when you press on it, rest and over-the-counter anti-inflammatory medications like ibuprofen are the standard approach. Applying ice to the area can also help reduce inflammation. Avoid activities that aggravate the pain, but don’t stop breathing deeply altogether. Shallow breathing for extended periods can lead to complications like mucus buildup in the lungs.
If anxiety is driving your chest pain, acknowledging the panic attack and focusing on slow, controlled breathing can help it pass. Tracking when your episodes occur helps identify triggers over time. Distraction techniques, like counting objects in the room or focusing on physical sensations in your feet, can interrupt the cycle of escalating panic.
For any breathing pain that doesn’t have an obvious mechanical cause, that came on suddenly, that’s getting worse over hours, or that’s accompanied by fever, a rapid heartbeat, or shortness of breath at rest, skip the home remedies and get evaluated. Many of the serious causes of painful breathing are highly treatable when caught early, but they don’t improve on their own.

