Differential diagnosis / Thoracic and Cardiovascular / CT

Thoracic and Cardiovascular · CT

Cavitating lung lesion(s)

Thoracic and Cardiovascular CT CXR Lungs Core

Bottom line A single thick-walled cavity in an older smoker is cancer (usually squamous) or infection. Multiple cavities shift the list to septic emboli, metastases and GPA. Wall thickness, distribution and the clinical setting do most of the work.

Ranked for a solitary thick-walled cavity in an adult. Multiple cavities: move septic emboli, cavitating metastases and GPA up.

Ranked differential

  1. Primary lung cancer (especially squamous cell carcinoma) must not missWall over 15 mm, irregular nodular inner wall, smoker
  2. Post-primary (reactivation) tuberculosis must not missApical or posterior upper lobe, or superior segment of a lower lobe, with tree-in-bud
  3. Lung abscess or necrotising pneumoniaAir-fluid level, surrounding consolidation, aspiration risk, fever
  4. Cavitating metastasesUsually multiple; squamous primaries (head and neck, cervix), adenocarcinoma, sarcoma
  5. Septic pulmonary emboliMultiple peripheral lower-zone nodules at different stages of cavitation
  6. Granulomatosis with polyangiitisMultiple nodules or masses, about half cavitate; sinus and renal disease
  7. Fungal infection (chronic pulmonary or angioinvasive aspergillosis)Immunocompromised: halo then air-crescent sign; chronic: aspergilloma in an old cavity

Discriminating features

DiagnosisFavoursAgainst
Primary lung cancer (especially squamous cell carcinoma)
  • Maximum wall thickness over 15 mm; nodular, irregular inner wall
  • Older smoker, haemoptysis, weight loss
  • Hilar or mediastinal lymphadenopathy, bone metastases
  • Thin smooth wall (4 mm or less)
  • Rapid resolution with antibiotics
Post-primary (reactivation) tuberculosis
  • Apical or posterior segment upper lobe, superior segment lower lobe
  • Centrilobular nodules and tree-in-bud (endobronchial spread)
  • Born in a high-prevalence country, immunosuppression, silicosis
  • Fibrosis, volume loss, calcified granulomas
  • Lower-zone peripheral cavities with feeding vessels
Lung abscess or necrotising pneumonia
  • Air-fluid level with surrounding consolidation
  • Dependent segments (posterior upper lobe, superior lower lobe) after aspiration
  • Alcohol, poor dentition, reduced consciousness, fever
  • Smooth inner wall, acute angle with the chest wall
  • Lenticular collection with split pleura sign (empyema)
Cavitating metastases
  • Multiple nodules of varying size, some cavitating
  • Known squamous primary (head and neck, cervix), GI adenocarcinoma, sarcoma
  • Single lesion with no known primary
Septic pulmonary emboli
  • Multiple peripheral, lower-zone nodules at different stages of cavitation
  • Feeding vessel sign, wedge-shaped subpleural opacities
  • IV drug use, right-sided endocarditis, infected lines, Lemierre syndrome
  • Single upper-lobe cavity
Granulomatosis with polyangiitis
  • Multiple nodules or masses, no zonal predominance, cavitation in about half
  • Sinus disease, haematuria, raised creatinine
  • PR3-ANCA (c-ANCA)
–
Fungal infection (chronic pulmonary or angioinvasive aspergillosis)
  • Neutropenia: nodules with a halo, later an air crescent on marrow recovery
  • Pre-existing cavity with a mobile intracavitary ball (aspergilloma)
  • Chronic pulmonary aspergillosis: thickening pleura, enlarging cavities
–

Next step

  1. Compare with prior imaging, and correlate with clinical setting: smoking, fever, aspiration risk, immune status, IV drug use, TB risk.
  2. If TB is possible, advise airborne isolation and three sputum samples for AFB microscopy, culture and NAAT before bronchoscopy.
  3. Contrast CT chest: wall thickness, distribution, lymphadenopathy, pleural disease (abscess versus empyema).
  4. Suspected cancer: staging CT and PET-CT, tissue diagnosis (bronchoscopy, EBUS or CT-guided biopsy), lung MDT.
  5. Multiple cavities: blood cultures and echocardiography (septic emboli); ANCA, urinalysis and renal function (GPA).
Teaching detail: pearls, mnemonics and pitfalls

Pearls

  • Wall thickness rule (Woodring and Fried): 4 mm or less is usually benign, over 15 mm is usually malignant, and 5–15 mm is indeterminate.
  • Abscess versus empyema: an abscess is round, thick-walled, makes an acute angle with the chest wall and destroys lung. An empyema is lenticular, has an obtuse angle, shows the split pleura sign and compresses lung.
  • Tree-in-bud next to a cavity means endobronchial spread. Think active TB and say so.
  • A cavity in a neutropenic patient recovering their counts (air-crescent sign) suggests angioinvasive aspergillosis.

Mnemonics

CAVITY

  • Cancer (bronchogenic, metastases)
  • Autoimmune (GPA, rheumatoid nodules)
  • Vascular (septic emboli, infarct)
  • Infection (abscess, TB, fungal)
  • Trauma (pneumatocele)
  • Youth: congenital (CPAM, sequestration, bronchogenic cyst)

Pitfalls

  • Pseudocavitation (bubbly lucencies of patent bronchi or spared lung in adenocarcinoma) is not a true cavity.
  • Consolidation in emphysematous lung mimics cavitation; check the background lung.
  • An air-fluid level does not exclude cancer: necrotic squamous carcinomas often have one.
  • Do not let a bronchoscopy go ahead without TB precautions when TB is on the list.

Accepted answers (self-test)

  • Primary lung cancer (especially squamous cell carcinoma): lung cancer; squamous cell carcinoma; SCC; cavitating lung cancer; bronchogenic carcinoma; primary lung malignancy; NSCLC
  • Post-primary (reactivation) tuberculosis: tuberculosis; TB; reactivation TB; post-primary tuberculosis; mycobacterial infection; non-tuberculous mycobacteria; NTM
  • Lung abscess or necrotising pneumonia: lung abscess; abscess; pyogenic abscess; necrotising pneumonia; necrotizing pneumonia; cavitating pneumonia; aspiration abscess
  • Cavitating metastases: cavitating metastases; metastases; mets
  • Septic pulmonary emboli: septic emboli; septic pulmonary emboli; septic embolism
  • Granulomatosis with polyangiitis: granulomatosis with polyangiitis; GPA; Wegener granulomatosis; Wegener's; ANCA vasculitis; ANCA-associated vasculitis
  • Fungal infection (chronic pulmonary or angioinvasive aspergillosis): aspergillosis; fungal infection; chronic pulmonary aspergillosis; invasive aspergillosis; aspergilloma; mycetoma

Sources

  1. Gaillard F, Weerakkody Y, et al. Pulmonary cavity. Radiopaedia.org doi:10.53347/rID-8856 Open Licence: CC BY-NC-SA 3.0. Accessed 2026-10-10.
  2. Gadkowski LB, Stout JE. Cavitary pulmonary disease. Clinical Microbiology Reviews 2008;21(2):305-333. doi:10.1128/CMR.00060-07 Licence: Publisher copyright (ASM); free to read; cited only, not reproduced. Accessed 2026-10-10.
  3. Gafoor K, Patel S, Girvin F, et al. Cavitary lung diseases: a clinical-radiologic algorithmic approach. Chest 2018;153(6):1443-1465. doi:10.1016/j.chest.2018.02.026 Licence: Publisher copyright (Elsevier); cited only, not reproduced. Accessed 2026-10-10.
  4. Parkar AP, Kandiah P. Differential diagnosis of cavitary lung lesions. Journal of the Belgian Society of Radiology 2016;100(1):100. doi:10.5334/jbr-btr.1202 Licence: CC BY 4.0. Accessed 2026-10-10.

Text on this page is written by radiologytrainee.org; sources are cited and linked, not reproduced. Always check current Australian and local guidelines.