Clinical KnowledgeA–Z topicsExams ▾Start free

Clinical Knowledge › Radiology › Chest X-ray interpretation

Cavitating lung lesions

A cavity is a gas-filled space within an area of consolidation, a mass or a nodule, seen as a lucency or low-attenuation area with a definable wall; it forms when necrotic tissue is expelled through a draining bronchus. On a chest X-ray a cavity is a ring shadow, often with an air–fluid level on an erect film; CT shows wall thickness, contents, number and the surrounding lung far better. The main causes are infection (post-primary tuberculosis, lung abscess, Staphylococcus aureus and Klebsiella pneumonia, non-tuberculous mycobacteria, fungi), cancer (especially squamous cell carcinoma and some metastases), vasculitis (granulomatosis with polyangiitis), septic emboli and infarction. Wall thickness is a classic clue: a maximal wall of 4 mm or less favours a benign cause, more than 15 mm favours malignancy, but overlap is large. Site, number, contents and clinical context narrow the list. Every new cavity in an adult raises two urgent questions: could this be infectious tuberculosis needing airborne isolation, and could it be lung cancer needing tissue diagnosis?

Full interactive lesson
Patient case, mechanism, investigations, management, flashcards and exam-style questions.
Open the lesson →
Upper-zone lung cavitation
Upper-zone lung cavitation PA chest radiograph with a cavitating lesion in the left upper zone (circled). · Cerevisae · CC BY-SA 4.0 · Wikimedia Commons

Key facts

Differential diagnosis

ConditionCluesKey test
Post-primary tuberculosisUpper-lobe apical/posterior cavity, tree-in-bud nodules, weight loss, night sweatsSputum NAAT (Xpert MTB/RIF Ultra), smear and culture x3; isolate
Lung abscessAspiration risk, foul sputum; thick-walled cavity with air–fluid level in dependent segmentsContrast CT; sputum and blood cultures
Cavitating squamous cell carcinomaSmoker over 50, thick irregular wall (more than 15 mm), nodular inner margin, hilar nodesContrast CT, PET-CT, biopsy
Granulomatosis with polyangiitisMultiple cavitating nodules, sinus disease, haematuriaANCA (PR3), urinalysis, biopsy
Septic emboliMultiple peripheral nodules of varying age, feeding vessels; injecting drug use or infected lineBlood cultures, echocardiography
Chronic pulmonary aspergillosis or aspergillomaPre-existing cavity (old TB, sarcoid), mobile fungus ball, Monod sign, haemoptysisAspergillus IgG, CT, sputum culture
Empyema with bronchopleural fistulaLenticular collection, obtuse angles, fluid level crosses fissureContrast CT (split pleura sign), pleural aspiration
Bulla or pneumatocele (mimic)Thin wall, no surrounding mass; pneumatocele after S. aureus pneumonia in childrenCT; compare with old images

Exam pearls

Always ask 'could this be TB?' before you ask 'what else could it be?': an unrecognised cavitating TB patient on an open ward can infect many contacts.
An air–fluid level needs a horizontal X-ray beam: a supine film will hide it, so ask for an erect or decubitus view or CT.
The inner wall tells you more than the outer wall: a nodular, irregular inner margin favours tumour, a smooth one favours infection.
A cavity that is getting bigger while the patient is on antibiotics should make you think of tumour, TB, fungus or an obstructed bronchus.
In a neutropenic patient, the air-crescent sign is a good-prognosis sign (neutrophil recovery) but warns of massive haemoptysis risk.
Old films are the cheapest test in radiology: a cavity unchanged for years points to a stable scar, an old TB cavity or an aspergilloma.

Guideline

Fleischner Society Glossary of Terms for Thoracic Imaging (2024 update) with WHO consolidated TB guidelines Module 3 (diagnosis, 2024)

References

  1. Bankier AA, MacMahon H, Colby T, et al.. Fleischner Society: Glossary of Terms for Thoracic Imaging. Radiology 2024.
  2. Gadkowski LB, Stout JE.. Cavitary pulmonary disease. Clin Microbiol Rev 2008.
  3. Denning DW, Cadranel J, Beigelman-Aubry C, et al.. Chronic pulmonary aspergillosis: rationale and clinical guidelines for diagnosis and management. Eur Respir J 2016.
  4. World Health Organization. WHO consolidated guidelines on tuberculosis. Module 3: diagnosis (current edition). Geneva: WHO 2024.
  5. MacMahon H, Naidich DP, Goo JM, et al.. Guidelines for management of incidental pulmonary nodules detected on CT images: from the Fleischner Society 2017. Radiology 2017.
  6. The Royal College of Radiologists. iRefer: making the best use of clinical radiology (8th edition, online, continuously updated). London: RCR 2017.

Related topics

CXR: systematic readingConsolidation on CXRLobar collapse on CXRPleural effusion on CXRPneumothorax on CXRPulmonary oedema on CXRLung nodule and mass on CXRHila and mediastinal massesWidened mediastinumILD on chest X-ray

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.