Community-acquired pneumonia
Exam question: Community-acquired pneumonia.
Summary answer
Definition. Inflammation of the lung parenchyma acquired outside hospital. Pneumonia is the leading infectious cause of death globally in children under 5 years, and more than 99% of these deaths occur in low- and middle-income countriesPYQ.
Aetiology by age. <3 weeks — group B streptococcus, E. coli and other gram-negative bacilli. 3 weeks–3 months — Chlamydia trachomatis, RSV, S. pneumoniae. 4 months–4 years — viruses predominate (RSV, rhinovirus, influenza, parainfluenza, human metapneumovirus, adenovirus); Streptococcus pneumoniae is the commonest bacterial pathogen from 3 weeks to 5 yearsPYQ. ≥5 years — Mycoplasma pneumoniae and Chlamydophila pneumoniae are the commonest bacterial pathogensPYQ, along with pneumococcus.
Clinical. Tachypnoea is the most consistent clinical manifestation of pneumoniaPYQ, with fever, cough, retractions, nasal flaring and grunting. WHO age cut-offs for fast breathing: ≥60/min under 2 months, ≥50/min at 2–12 months, ≥40/min at 1–5 years.
WHO/Indian classification. Pneumonia — fast breathing and/or lower chest indrawing with normal saturation → home oral amoxicillin 80 mg/kg/day (40 mg/kg twice daily) — 3 days for fast breathing alone (low-HIV settings), 5 days with chest indrawing (changed as per WHO 2024 pneumonia guideline — earlier 40–50 mg/kg/day for 5 days). Severe pneumonia — any danger sign (inability to feed, convulsions, lethargy, central cyanosis, severe distress) → admit, oxygen, IV ampicillin/penicillin plus gentamicin, ceftriaxone second line.
Investigations. Chest radiograph is not needed in an outpatient; blood culture only if hospitalised, complicated or deteriorating (positive in only ~10% of pneumococcal pneumonia); pulse oximetry in all; ultrasound for effusion.
Complications. Parapneumonic effusion and empyema, abscess, necrotising pneumonia, pneumatocele, bronchopleural fistula, pericarditis, ARDS, sepsis with metastatic infection.
Prevention. Pneumococcal conjugate and Hib vaccines, annual influenza vaccine, measles and pertussis immunisation, exclusive breastfeeding, nutrition and vitamin A, zinc, hand hygiene, and reduction of indoor air pollution.
Visual summary

Full answer
1. Aetiology by age
| Age | Frequent pathogens, in order |
|---|---|
| Neonate (<3 weeks) | Group B streptococcus, Escherichia coli and other gram-negative bacilli, S. pneumoniae, Haemophilus influenzae, Listeria |
| 3 weeks–3 months | Chlamydia trachomatis (afebrile pneumonia of infancy with staccato cough, conjunctivitis and eosinophilia), RSV and other respiratory viruses, S. pneumoniae, Bordetella pertussis, S. aureus |
| 4 months–4 years | Respiratory viruses (RSV, rhinovirus, parainfluenza, influenza, human metapneumovirus, adenovirus, SARS-CoV-2), then S. pneumoniae, H. influenzae, S. aureus, group A streptococcus, M. pneumoniae, M. tuberculosis |
| ≥5 years | Mycoplasma pneumoniae, Chlamydophila pneumoniae, S. pneumoniae, influenza, S. aureus, M. tuberculosis |
| Special hosts | HIV — Pneumocystis jirovecii, tuberculosis, nontuberculous mycobacteria, CMV, Salmonella. Cystic fibrosis — S. aureus, Pseudomonas aeruginosa, Burkholderia. Unimmunised — Hib, pertussis, measles. Aspiration — mixed anaerobes |
Viruses are detected in 40–80% of children with pneumonia by molecular methods, and more than one virus is found in up to 20%. Non-infective causes include aspiration (food, gastric acid, foreign body, hydrocarbon, lipoid), hypersensitivity reactions and drug- or radiation-induced pneumonitis.
2. Pathogenesis
| Organism | Pathology |
|---|---|
| S. pneumoniae | Local oedema aids proliferation and spread into adjacent lung → lobar consolidation passing through congestion, red hepatisation, grey hepatisation and resolution |
| M. pneumoniae | Attaches to respiratory epithelium, inhibits ciliary action, causes cellular destruction and submucosal inflammation; debris and mucus obstruct airways → spread along the bronchial tree, like viral pneumonia |
| Group A streptococcus | Diffuse interstitial pneumonia with mucosal necrosis, large exudates, haemorrhage, lymphatic involvement and frequent pleural disease |
| S. aureus | Confluent bronchopneumonia, often bilateral, with haemorrhagic necrosis and irregular cavitation → pneumatoceles, empyema, bronchopleural fistula |
| Viruses | Lytic infection of epithelium with loss of cilia → small-airway obstruction, atelectasis, ventilation–perfusion mismatch, and predisposition to secondary bacterial infection |
3. Clinical features and severity
| Feature | Detail |
|---|---|
| Prodrome | Several days of rhinitis and cough |
| Most consistent sign | Tachypnoea — use the WHO age cut-offs, counted for a full minute in a calm child |
| Work of breathing | Intercostal, subcostal and suprasternal retractions, nasal flaring, grunting, accessory muscle use |
| Auscultation | Crackles and bronchial breathing; may be strikingly meagre in infants relative to the tachypnoea |
| Consolidation | Dull percussion note, reduced breath sounds, bronchial breathing, increased vocal resonance; a lag in respiratory excursion on the affected side |
| Misleading presentations | Lower lobe pneumonia causing abdominal pain (referred, without tenderness) or shoulder-tip pain; apical pneumonia causing meningismus and convulsions; abdominal distension from ileus; apparent hepatomegaly from diaphragmatic depression |
| Markers of severe disease | Temperature >38.5°C, tachypnoea, retractions, nasal flaring, grunting, capillary refill >2 s, cyanosis, tachycardia and poor feeding |
4. WHO / Indian classification and treatment
| Category | Features | Treatment |
|---|---|---|
| Cough or cold | No fast breathing, no danger signs | Home care, fluids, paracetamol; no antibiotic; review in 2 days or earlier if worse |
| Pneumonia (with or without lower chest indrawing) | Fast breathing — ≥50/min at 2–12 months, ≥40/min at 1–5 years — and/or lower chest indrawing with normal oxygen saturation | Home care with oral amoxicillin 80 mg/kg/day in 2 divided doses — 3 days for fast breathing alone (low-HIV settings), 5 days with chest indrawing (changed as per WHO 2024 pneumonia guideline — earlier 40–50 mg/kg/day for 5 days) |
| Severe pneumonia | Lower chest indrawing with any of: inability to drink or breastfeed, convulsions, lethargy or unconsciousness, severe respiratory distress, central cyanosis or hypoxaemia | Inpatient care — oxygen, IV benzyl penicillin 50,000 U/kg 6-hourly or ampicillin 50 mg/kg 6-hourly plus gentamicin 7.5 mg/kg once daily for 5 days, with supportive care; ceftriaxone as second line |
| Infant <2 months | Any of fever ≥38°C, hypothermia, convulsions, abnormal sleepiness, stridor in a calm child, wheeze, not feeding, respiratory rate ≥60/min, chest indrawing, cyanosis, grunting, apnoea, abdominal distension | Always admit — IV ampicillin plus gentamicin with supportive care |
5. PIDS–IDSA approach in a better-resourced setting
| Setting | First choice |
|---|---|
| Outpatient, preschool | Most are viral — withhold antibiotics if mildly ill with clear viral features and no distress. If bacterial pneumonia is suspected: high-dose amoxicillin 80–90 mg/kg/day; alternatives cefuroxime or amoxicillin–clavulanate |
| Outpatient, school-age / adolescent | A macrolide (azithromycin preferred) when Mycoplasma or Chlamydophila is likely; clarithromycin or doxycycline (≥8 years) as alternatives; a respiratory fluoroquinolone only in adolescents with contraindications |
| Inpatient, fully immunised, not severely ill | Ampicillin or penicillin G |
| Inpatient, not fully immunised or severely ill | Ceftriaxone or cefotaxime; add a macrolide if atypicals are suspected |
| Features of staphylococcal disease (pneumatoceles, empyema) | Add vancomycin or clindamycin |
| Duration | Continue until afebrile for 72 hours; 5–7 days is adequate for uncomplicated outpatient pneumonia; prolonged courses are not supported |
| Indications for hospitalisation | |
|---|---|
| Age <6 months · immunocompromised state · toxic appearance · moderate to severe respiratory distress (retractions, flaring, grunting) · cyanosis or SpO₂ <90% in room air · shock · complicated pneumonia · sickle cell disease with acute chest syndrome · vomiting or inability to take oral fluids or drugs · severe dehydration · failure of oral antibiotics · social factors · a high-risk pathogen |
6. Investigations
| Test | Value |
|---|---|
| Pulse oximetry | In every child — hypoxaemia is the best single predictor of severity and of the need for admission |
| Chest radiograph | Not recommended for outpatients well enough to be managed at home. Indicated for hospitalised, hypoxaemic, toxic or non-responding children, and to look for complications. Viral — hyperinflation with bilateral interstitial infiltrates and peribronchial cuffing; pneumococcal — confluent lobar consolidation. Radiographic appearance alone does not establish aetiology, and a repeat film is not needed as proof of cure |
| White cell count | Viral — normal or raised but usually <20,000/mm³ with lymphocytosis. Bacterial — 15,000–40,000/mm³ with neutrophilia |
| Blood culture | Positive in only about 10% of pneumococcal pneumonia; not recommended for non-toxic outpatients; take it in hospitalised, complicated or deteriorating children |
| Sputum | Of little value in young children; upper respiratory samples do not reflect lower tract infection |
| Molecular tests | RT-PCR panels for RSV, influenza, SARS-CoV-2, Mycoplasma and pertussis; pleural fluid PCR when culture is negative |
| Lung ultrasound | Useful and radiation-free for consolidation with sonographic air bronchograms, B-lines and effusion; highly operator-dependent (Q34) |
| Others | CRP and procalcitonin (a fall in procalcitonin to 0.1–0.25 µg/L may help decide when to stop antibiotics); Mantoux and Xpert MTB/RIF where TB is prevalent; HIV serology |
7. Complications, prognosis and prevention
| Complications | Detail |
|---|---|
| Local spread | Parapneumonic effusion, empyema, pericarditis, lung abscess, necrotising pneumonia, pneumatocele, bronchopleural fistula, atelectasis, ARDS |
| Haematogenous | Bacteraemia and sepsis, meningitis, suppurative arthritis, osteomyelitis, endocarditis, haemolytic uraemic syndrome |
| Metabolic | SIADH with hyponatraemia, ileus, dehydration |
Pleural fluid: exudate if pH <7.2, glucose <60 mg/dL, protein >3 g/dL, LDH >200 IU/L, leukocytes >50,000/mm³, pleural-to-serum protein ratio >0.5 or LDH ratio >0.6. Small free-flowing effusions (<1 cm on a lateral decubitus film) need only antibiotics; larger, purulent or symptomatic collections need tube drainage with fibrinolytics, or VATS.
| Prevention | Detail |
|---|---|
| Vaccines | Pneumococcal conjugate vaccine (PCV7 reduced all-cause pneumonia hospitalisation in under-2s by about 35%, PCV13 by a further 16–27%); Hib; annual influenza vaccine for all children >6 months, and for household contacts of infants under 6 months; measles and pertussis; COVID-19 and maternal/infant RSV immunisation where available |
| Nutrition and micronutrients | Exclusive breastfeeding for 6 months; treat malnutrition; vitamin A; zinc 10 mg/day (<12 months) or 20 mg/day (≥12 months) for 7 days may reduce mortality in severe pneumonia in low- and middle-income countries |
| Environment | Reduce indoor biomass smoke and passive smoking, avoid overcrowding, hand hygiene |
| Systems | WHO/IMNCI training of health workers and mothers in recognition and early antibiotic treatment; bubble CPAP improves mortality in hypoxaemic pneumonia where ventilators are unavailable |
Prognosis: most children recover fully; up to 45% report asthma symptoms 5 years after hospitalisation for pneumonia, reflecting either previously undiagnosed asthma or a post-pneumonia predisposition.
Mind map
- Leading infectious killer
- >99% in LMICs
- <3 weeks: GBS, E. coli
- 3 weeks–3 months: Chlamydia
- Under 5: viruses
- Pneumococcus 3 weeks–5 years
- ≥5 years: Mycoplasma
- Tachypnoea most consistent
- ≥60/≥50/≥40 per min
- Chest indrawing
- Amoxicillin 80 mg/kg/day
- Danger signs: admit
- Ampicillin + gentamicin
- No X-ray
- No blood culture
- Effusion, empyema
- Necrotising pneumonia
- ARDS
- PCV, Hib
- Measles, influenza
- Breastfeeding
Exam capsule — quick revision
More free Respiratory answers
- Differences between recurrent pneumonia and persistent pneumonia
- Non-resolving pneumonia in children
- Treatment and complications of staphylococcal pneumonia
- Mycoplasma pneumonia and its current status in paediatrics
- Complications of bronchiolitis
- Paediatric acute respiratory distress syndrome (PARDS) is a major disease burden in critical care practice: di