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.
Patient case, mechanism, investigations, management, flashcards and exam-style questions.Open the lesson →

Key facts
- CAP = pneumonia acquired outside hospital or presenting within 48 hours of admission, with new radiological shadowing
- S. pneumoniae is the commonest bacterial cause; viruses are frequent and no organism is found in about half of cases
- CURB-65: confusion, urea above 7 mmol/L, respiratory rate 30 or more, systolic BP below 90 or diastolic 60 or less, age 65 or over
- CURB-65 0–1 low severity (usually home), 2 moderate (consider admission), 3 or more high severity (consider critical care)
- Low severity: amoxicillin 500 mg three times daily for 5 days (NICE); ATS/IDSA uses 1 g three times daily
- High severity: co-amoxiclav or ceftriaxone IV plus a macrolide (clarithromycin or azithromycin)
- Most patients need 5 days of antibiotics once clinically stable; ATS 2025 allows as few as 3 days in stable outpatients
- Systemic corticosteroids (for example hydrocortisone) are suggested for severe CAP but recommended against in non-severe CAP
Differential diagnosis
| Condition | Clues | Key test |
|---|---|---|
| Acute exacerbation of COPD or asthma | Wheeze and sputum change without new consolidation | Chest X-ray shows no new shadowing |
| Acute heart failure (pulmonary oedema) | Orthopnoea, raised JVP, bilateral basal crackles, cardiomegaly | Chest X-ray with upper lobe diversion and effusions; BNP; echocardiogram |
| Pulmonary embolism with infarction | Sudden dyspnoea, pleuritic pain, haemoptysis, risk factors for thrombosis | Wells score, D-dimer, CT pulmonary angiography |
| Pulmonary tuberculosis | Weeks of cough, night sweats, weight loss, upper lobe cavitation | Sputum smear, Xpert MTB/RIF and culture |
| Lung cancer with post-obstructive pneumonia | Smoker over 50, recurrent pneumonia in the same lobe, weight loss | CT chest and bronchoscopy; follow-up imaging at 6 weeks |
| Organising pneumonia or eosinophilic pneumonia | Migratory or persistent shadowing that fails antibiotics | CT, bronchoalveolar lavage, biopsy; blood eosinophils |
| Pneumocystis pneumonia | Subacute dyspnoea and desaturation on exercise in HIV or immunosuppression | HIV test, CD4 count, induced sputum PCR or immunofluorescence |
Exam pearls
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
- 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.
- National Institute for Health and Care Excellence (NICE). Pneumonia: diagnosis and management (NICE guideline NG250). 2025.
- 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.
- 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.
- 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.
- 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
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.