Pleurisy: the sharp breathing-in chest pain, and what is underneath it

Last updated September 3, 2026.

Pleurisy is inflammation of the lung's lining (the pleura): producing a sharp, stabbing chest pain that is worst on breathing in, coughing, or laughing. The commonest cause is a viral infection (settling in days with painkillers), but the same pain pattern can signal the serious causes (the blood clot on the lung, pneumonia), which is why the company the pain keeps (breathlessness, fever, a swollen leg) decides whether it is home care or emergency care.

What does it feel like?

The signature: a sharp, stabbing, or knife-like chest pain, usually one-sided and localized, triggered precisely by breathing in deeply, coughing, sneezing, or laughing (you find yourself breathing shallow to avoid it), sometimes spreading to the shoulder. Around it, the cause's own clues: the cough and fever (the infection kind), the breathlessness and racing heart (the clot kind), or just the pain alone in the simple viral case. It can be severe enough to frighten: the pain itself is dramatic, the cause usually is not.

Why does it happen?

The pleura (two layers wrapping the lungs and the chest wall) inflamed: the layers grate instead of glide. The causes: viral infections (the commonest by far, following a cold or flu), bacterial pneumonia, the pulmonary embolism (the clot: the dangerous one), the autoimmune conditions, chest injuries (the cracked rib), and the rarer tumors and inflammations. The treatment and the stakes both follow the cause: the viral kind needs painkillers and days; the clot kind needs emergency blood thinners; which is why the pattern-recognition matters.

Find answers to your pleurisy

Start a free AI doctor consult →

How is it treated?

When is it an emergency?

The company the pain keeps decides: sudden breathlessness with the pain, coughing blood, a fast heart rate, feeling faint (the pulmonary-embolism pattern: 999/112), the pain with a hot swollen calf (the clot's source: same-day), and the high fever with rigors and colored phlegm (the pneumonia). The pain alone after a cold, improving daily, is the pharmacy-and-watch kind. Pymander's escalation routing is built and tested specifically for this class of decision; see the safety architecture working paper.

What a Pymander AI doctor consult looks like

Do you have sharp chest pain that stabs when you breathe in, cough, or laugh, without breathlessness or a swollen leg?
Since yesterday I have had a sharp stabbing pain on the right side of my chest every time I breathe in or cough. I had a bad cold last week. I am 35 and otherwise fit, and it hurts enough to make me gasp.
Thanks for giving me all this information. Based on what you've said, this sounds like pleurisy: the sharp, one-sided pain on breathing in and coughing, arriving after a cold, in a fit 35-year-old, is the classic viral pleurisy pattern, and although it hurts dramatically (the gasping is universal), the viral kind settles with simple treatment over days. The treatment is pain relief with a purpose: paracetamol and ibuprofen together, taken regularly, so you can breathe deeply without the stab (the deep breaths are genuinely protective: shallow breathing invites pneumonia), plus the pillow-hug when coughing. The reasons to change course: breathlessness appearing, a fast heart rate or faintness, coughing blood, a hot swollen calf, or a high fever with green phlegm: those patterns mean urgent assessment, because a clot or pneumonia wears the same pain. Here's your care note to share with your care team.
Care note
Viral pleurisy post-cold, fit 35yo - treat and safety-net
Thirty-five-year-old, otherwise fit: 24 hours of right-sided pleuritic chest pain following a cold, no breathlessness, no leg symptoms, no hemoptysis: viral pleurisy the likely pattern. Plan: regular paracetamol plus ibuprofen (deep-breathing protection), pillow splinting for coughs, deep-breathing exercises, expected resolution over days to 1-2 weeks. Escalation triggers stated: breathlessness, tachycardia or faintness, hemoptysis (PE pathway), hot swollen calf, high fever with colored phlegm (pneumonia), or failure to improve over a week.
View care note →

Illustrative example, not a real member's messages.

Common questions

Why does it only hurt when I breathe in?

Because the pain is mechanical: the pleura is two thin layers (one wrapping the lung, one lining the chest wall) that should glide silently past each other with every breath; inflamed, they are swollen and rough, and they grate, but only when they move: the deep breath in is the maximum excursion, so it stabs precisely on inspiration (and on the cough, sneeze, and laugh, which are forceful versions of it). The still-chest-between-breaths comfort and the shallow-breathing instinct are the body minimizing the friction. This mechanical signature (pain precisely tied to breathing movement) is what makes pleurisy recognizable, and it also guides the treatment: the painkillers exist to let you breathe deeply anyway, because the shallow-breathing avoidance is the actual risk.

When is this pain a blood clot on the lung?

The pulmonary embolism (the clot that traveled to the lung) causes pleuritic pain when the clot inflames the lung's edge, and the pattern around the pain is what separates it: the clot's version tends to arrive suddenly with breathlessness (the marker the viral kind lacks), a racing heart, sometimes faintness or coughing blood, and often a source clue (a swollen, tender calf; the recent long flight, surgery, or immobility; the pill or pregnancy or cancer history). The viral kind comes after a cold, without the breathlessness and the racing heart. The rules: pleuritic pain plus breathlessness, faintness, or blood is the 999/112 call; pleuritic pain plus a hot swollen calf is same-day; pleuritic pain alone after a cold, improving, is the home-care kind. When genuinely unsure, the same-day assessment is always the right errand.

How long does viral pleurisy last?

The honest timeline: the sharp pain peaks over the first days and settles over about one to two weeks as the viral inflammation burns out (some twinges on deep breaths can echo for a few weeks after), and the shape of recovery matters more than the calendar: steady daily improvement is the expected course; the pain getting worse, or the breathlessness, fever, or blood arriving, changes the diagnosis. The painkillers are not masking progress: they are the treatment (they keep you breathing deeply), so take them regularly through the painful days rather than testing yourself against the pain. If you are still significantly stabbing past two weeks, that is the point for the re-examination (and possibly the chest X-ray) rather than more patience.

Why does my shoulder hurt with it?

The referred-pain quirk: the pleura lining the diaphragm (the breathing muscle at the lung's base) shares its nerve supply (the phrenic nerve) with the shoulder tip, so inflammation at the lung's base is felt in the shoulder (the classic anatomy-exam fact, and genuinely common): pain at the shoulder tip that is worse on breathing in, with a normal shoulder joint on moving it, points to the diaphragm's pleura, not the shoulder. The sorting test: if rotating and lifting the arm reproduces it, suspect the shoulder itself; if breathing in and coughing reproduce it while the arm moves freely, the pleura owns it. Worth mentioning at any assessment, because the shoulder presentation has fooled many a first opinion.

Should I stay off work and rest?

For the viral kind, a few days of taking it easy is sensible (you have an inflamed chest lining and you are wincing: the body's request is plain), but complete bed rest is the wrong extreme: the dangerous complication of pleurisy is shallow breathing and inactivity pooling the lung's secretions (the invitation to pneumonia), so the prescription is: rest generously, but keep the deep-breathing exercises going (a slow full breath every hour, despite the wince, with the pillow splint), keep gently mobile around the house, and let the painkillers earn their keep by making both possible. The return to work follows the fever and the pain settling; the return to the gym follows the deep-breath-without-wincing milestone.

Could it keep coming back?

A single post-viral pleurisy rarely recurs (the virus passes, the pleura heals, the story ends), and the recurrence patterns point at the underlying players worth finding: repeated pleuritic episodes (especially with joint pains, rashes, or mouth ulcers) raise the autoimmune conditions (lupus and its family, which inflame serosal linings: a blood-test conversation), the recurrent clots in the risk-profiled (the inherited clotting tendencies), and the chronic pleural thickening after significant infections. For the one-off post-cold episode: no special follow-up beyond the rule that it should settle. For the second or third episode: that is a different conversation, and the GP will start it with the history of what accompanies the pain.

Sources

Pymander is not a replacement for a physician and does not provide medical advice, diagnosis, or treatment.

Free AI doctor, 24/7 by textStart a free AI doctor consult