Clinical KnowledgeA–Z topicsExams ▾Start free

Clinical Knowledge › Internal medicine › Pulmonology › Respiratory infections

Community-acquired pneumonia

Community-acquired pneumonia (CAP) is an acute infection of the lung parenchyma that starts outside hospital, or within 48 hours of admission, and shows as new shadowing on a chest X-ray or other imaging. It is a leading infectious cause of death worldwide, commonest at the extremes of age. Streptococcus pneumoniae remains the most important bacterial cause, but respiratory viruses are found at least as often, and no pathogen is identified in about half of patients. Typical features are cough, fever, breathlessness and pleuritic pain; older people may present only with confusion or falls. Management rests on three decisions: confirm the diagnosis with imaging, judge severity (CURB-65 with clinical judgement, or the ATS/IDSA severe CAP criteria), and start the right antibiotic promptly, ideally within 4 hours. Low-severity disease is treated with oral amoxicillin, while severe disease needs a beta-lactam plus a macrolide. Most patients need only 5 days of treatment, and corticosteroids are now suggested for severe CAP. Vaccination and stopping smoking prevent much of the burden.

Full interactive lesson
Patient case, mechanism, investigations, management, flashcards and exam-style questions.
Open the lesson →
Lobar pneumonia
Lobar pneumonia Homogeneous consolidation confined by a fissure. Repeat the CXR at about 6 weeks in smokers or over-50s to exclude an underlying tumour. · Mikael Häggström · CC0 · Wikimedia Commons

Key facts

Differential diagnosis

ConditionCluesKey test
Acute exacerbation of COPD or asthmaWheeze and sputum change without new consolidationChest X-ray shows no new shadowing
Acute heart failure (pulmonary oedema)Orthopnoea, raised JVP, bilateral basal crackles, cardiomegalyChest X-ray with upper lobe diversion and effusions; BNP; echocardiogram
Pulmonary embolism with infarctionSudden dyspnoea, pleuritic pain, haemoptysis, risk factors for thrombosisWells score, D-dimer, CT pulmonary angiography
Pulmonary tuberculosisWeeks of cough, night sweats, weight loss, upper lobe cavitationSputum smear, Xpert MTB/RIF and culture
Lung cancer with post-obstructive pneumoniaSmoker over 50, recurrent pneumonia in the same lobe, weight lossCT chest and bronchoscopy; follow-up imaging at 6 weeks
Organising pneumonia or eosinophilic pneumoniaMigratory or persistent shadowing that fails antibioticsCT, bronchoalveolar lavage, biopsy; blood eosinophils
Pneumocystis pneumoniaSubacute dyspnoea and desaturation on exercise in HIV or immunosuppressionHIV test, CD4 count, induced sputum PCR or immunofluorescence

Exam pearls

An older patient with pneumonia often has no fever or cough; new confusion, falls or a raised respiratory rate may be the only clue.
The respiratory rate is the most neglected vital sign and one of the best markers of severity.
A CURB-65 score is a guide, not a verdict: hypoxaemia, multilobar disease, comorbidity and social circumstances can all justify admission with a low score.
Hyponatraemia, diarrhoea, confusion and raised liver enzymes in a sick patient point towards Legionella; test the urinary antigen.
Failure to improve by 72 hours means re-examine the diagnosis, the drug and the complications (effusion, empyema, abscess), not just escalate the antibiotic.
Chest X-ray changes lag behind clinical recovery by weeks, so repeat imaging is reserved for persisting symptoms or lung cancer risk, at about 6 weeks.

Guideline

ATS/IDSA CAP guideline (2019) with the ATS 2025 update, NICE NG250 Pneumonia (2025) and ERS/ESICM/ESCMID/ALAT severe CAP guideline (2023)

References

  1. Metlay JP, Waterer GW, Long AC, et al.. Diagnosis and Treatment of Adults with Community-acquired Pneumonia. An Official Clinical Practice Guideline of the American Thoracic Society and Infectious Diseases Society of America. Am J Respir Crit Care Med 2019.
  2. National Institute for Health and Care Excellence (NICE). Pneumonia: diagnosis and management (NICE guideline NG250). 2025.
  3. Jones BE, Ramirez JA, Oren E, et al.. Diagnosis and Management of Community-acquired Pneumonia: An Official American Thoracic Society Clinical Practice Guideline. Am J Respir Crit Care Med 2026.
  4. Martin-Loeches I, Torres A, Nagavci B, et al.. ERS/ESICM/ESCMID/ALAT guidelines for the management of severe community-acquired pneumonia. Intensive Care Med 2023.
  5. Lim WS, van der Eerden MM, Laing R, et al.. Defining community acquired pneumonia severity on presentation to hospital: an international derivation and validation study. Thorax 2003.
  6. Fine MJ, Auble TE, Yealy DM, et al.. A prediction rule to identify low-risk patients with community-acquired pneumonia. N Engl J Med 1997.

Related topics

HAP and VAPAspiration and abscessPulmonary TBAcute bronchitisAtypical pneumoniaInfluenzaCOVID-19NTM lung diseasePneumocystis pneumoniaEndemic mycoses

By Dr Khalid Seidi (B.Sc., M.D.) · MedEd World Clinical Knowledge library. Original teaching content checked against current guidelines (November 2026); confirm the latest local guidance before clinical use. Not a substitute for clinical judgement.