Pneumonia: the chest infection that is more than a bad cough

Last updated September 3, 2026.

Pneumonia is an infection of the lung tissue itself: cough (often with green or rusty phlegm), fever, breathlessness, and chest pain, ranging from a home-treated illness to a hospital emergency. It is diagnosed clinically, often with a chest X-ray, treated with antibiotics (the bacterial kind) at home for most, and the recovery is slower than people expect: weeks of fatigue after the fever breaks. The vaccine-eligible (the over-65s, the chronic-condition groups) should take the prevention seriously.

What does it feel like?

The pattern: the cough producing yellow, green, or rust-colored phlegm, the fever with shivering sweats, breathlessness on effort (and at rest in the severe), sharp chest pain on breathing or coughing (the pleurisy component), the racing heart, and the exhaustion: in the elderly sometimes just new confusion without the fever. It follows a cold or flu often enough (the virus opening the door), and the dividing line from a chest cold: the breathlessness, the high fever, the chest pain, and the depth of the unwellness.

Why does it happen?

Bacteria (Streptococcus pneumoniae the commonest), viruses (including flu and COVID), and rarely fungi infect the lung's air sacs, which fill with fluid and pus: hence the breathlessness. The risk profile: the extremes of age, smoking, the chronic lung diseases (COPD, asthma), the immune-suppressed, diabetes and heart disease, and the post-flu weeks. The aspiration kind (food or vomit into the lungs) follows strokes and swallowing problems. The vaccines (the pneumococcal, the annual flu, the COVID ones) genuinely prevent the commonest versions.

Find answers to your pneumonia

Start a free AI doctor consult →

How is it treated?

When is it an emergency?

The urgent markers: struggling to breathe, breathless at rest or unable to speak sentences, new confusion (especially in the elderly: the delirium presentation), blue lips or face, chest pain severe, coughing up blood, the cold and clammy collapse, and the child breathing fast with chest indrawing. The home-treated case that is not improving by day three of antibiotics, or worsening any time, is the same-day review. 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 a cough with colored phlegm, fever, breathlessness, or sharp chest pain on breathing, or a pneumonia diagnosis you are recovering from?
I have had five days of high fever, cough with green phlegm, and I get breathless climbing my stairs. My GP started amoxicillin yesterday. I am 58, usually fit, and I want to know what normal recovery looks like.
Thanks for giving me all this information. Based on what you've said, your GP has started the right treatment for community pneumonia, and the recovery shape to expect: the fever should break and the breathlessness start easing within two to four days of the antibiotics, the cough will linger for weeks (normal), and the fatigue is the part nobody warns about: feeling washed out for several weeks, sometimes a couple of months, is the ordinary course, with a graded return to exercise rather than a switch-back-on. The checkpoints: if you are not clearly improving by day three of the antibiotics, or anything worsens, contact the GP the same day; and the emergency list: breathless at rest, confusion, blue lips, or severe chest pain. At 58, ask about the follow-up chest X-ray at six weeks: standard practice to confirm it has cleared. Here's your care note to share with your care team.
Care note
Community pneumonia, day 1 of amoxicillin - recovery coaching
Fifty-eight-year-old, previously fit: 5 days of fever, productive cough, exertional breathlessness; amoxicillin started yesterday for community-acquired pneumonia. Plan: expectation-setting (fever breaks 2-4 days, cough weeks, fatigue weeks-to-months), full antibiotic course, fluids and rest, deep-breathing and splinted coughing, day-3 improvement checkpoint (no improvement = same-day contact), follow-up chest X-ray at 6 weeks (age criterion). Emergency list restated: rest breathlessness, confusion, cyanosis, severe chest pain, hemoptysis.
View care note →

Illustrative example, not a real member's messages.

Common questions

How is pneumonia different from a bad cold or bronchitis?

The depth of the infection: colds live in the nose and throat (snotty, low fever, well-ish), bronchitis inflames the airways (cough for weeks, phlegm, but you walk and talk and function), and pneumonia infects the lung tissue itself (the air sacs fill with fluid), which is why its signatures are the deeper ones: breathlessness (climbing stairs when you usually fly up them), high fever with drenching sweats and shivering, sharp pain on breathing in, the racing pulse, and the profound unwellness (pneumonia patients feel ill in a way bronchitis patients do not). The stethoscope and, when needed, the chest X-ray settle it. The practical rule: a chest infection plus breathlessness, high fever, or chest pain is pneumonia until assessed, and the elderly may show only new confusion.

How long does recovery actually take?

Longer than the antibiotic course, and knowing the shape prevents the panic: the fever breaks within two to four days of the antibiotics (the checkpoint: not improving by day three means contact the GP), the breathlessness eases over one to two weeks, the cough and the phlegm linger for three to six weeks (normal, not treatment failure), and the fatigue (the genuinely underestimated part) commonly runs weeks to a couple of months. The return-to-life is graded: the walk before the run, the half-days before the full week, and the expectation of feeling dragged back at first. Most previously healthy people recover fully; the smokers and over-50s get the six-week chest X-ray to confirm the lung has cleared (ruling out anything the pneumonia was hiding).

When does pneumonia need hospital?

The severity markers the doctors score (the CURB-65 checklist) and you can watch: confusion (new, especially in the elderly), breathing fast and struggling (breathless at rest, unable to finish sentences), the blood pressure dropping or the heart racing persistently, the oxygen low (the blue lips end of the spectrum), and the age extremes. The home-treatment failures also escalate (not improving on the antibiotics by day three, or worsening). In hospital: oxygen, intravenous antibiotics, fluids, and close watching, with the intensive-care end for the respiratory failure. The honest statistic that guides the scoring: most community pneumonia is safely treated at home, and the markers above are the line where home stops being the safe place.

Can I prevent getting it again?

The prevention stack is real: the pneumococcal vaccine (offered to the over-65s and the chronic-condition groups: after this episode you may now qualify, worth asking), the annual flu vaccine (flu opens the door to bacterial pneumonia: the classic sequence), the COVID vaccines on the same logic, stopping smoking (the single biggest modifiable risk: the lung's clearance defenses are smoke-damaged), the alcohol moderation (heavy drinking impairs the lung defenses and risks the aspiration kind), and the dental hygiene (mouth bacteria seed the aspiration pneumonias). The exercise and nutrition rebuild the reserve after this illness. One pneumonia does not destine you to another, but the risk factors are worth taking as the to-do list they are.

Is it contagious? Can I be around my grandchildren?

Partly, and the practical version: pneumonia itself (the lung infection) is not passed as such, but the germs that caused it spread by cough droplets and close contact, so the sensible window is while you are feverish and coughing heavily: the hand hygiene, the cough etiquette (the elbow, the tissues binned), the face-away cuddles, and extra care around the highest-risk contacts (the newborns, the frail elderly, the chemo patients). The clearing point for ordinary purposes: fever-free and improving on the antibiotics (usually a few days in), you are no more dangerous than anyone with a lingering cough. The grandchildren at ordinary health: fine once the fever has broken; the immunosuppressed relative: give it the full improvement first.

Why does the pain stab when I breathe in?

That is the pleurisy (pleuritic pain): the lung's outer lining (the pleura) is inflamed where the pneumonia reaches it, and the two inflamed layers grate with each breath: producing the sharp, localized, knife-like pain on breathing in, coughing, or laughing (it can be bad enough to make you breathe shallow, which is the problem: shallow breathing pools the secretions). The management: the regular painkillers (paracetamol and ibuprofen together is the genuine combination for this: comfortable deep breaths are treatment, not luxury), the pillow splinted against the sore side when coughing, and the deliberate deep-breathing exercises through the day. The pleuritic pain fades as the infection clears over the first week or two; pain that arrives newly or worsens with breathlessness part-way through is a reassessment.

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