A cavitary lesion is an air-filled space that forms inside an area of diseased lung tissue, visible on chest imaging as a dark hole within a mass, nodule, or area of infection. It develops when damaged or dead tissue is expelled through the airways, leaving behind a hollow pocket surrounded by a wall of abnormal tissue. The wall thickness is a key detail: spaces with walls thicker than 4 mm are classified as cavities, while thinner-walled air spaces (under 4 mm) are typically called cysts.
If you’ve seen this term on a radiology report, it signals that something has destroyed a portion of lung tissue. The cause could range from a treatable infection to something more serious like cancer, so identifying why the cavity formed is the critical next step.
How a Cavity Forms in the Lung
Lung tissue doesn’t just spontaneously hollow out. A cavity forms through a specific sequence: first, a disease process kills a section of tissue. Then, the dead material liquefies or crumbles and gets coughed out through a connection to the airways. What remains is a gas-filled space lined by the remnants of whatever caused the damage.
Several types of tissue death can trigger this. Infections like tuberculosis cause a characteristic “cheese-like” crumbling of tissue inside clusters of immune cells called granulomas. Bacterial abscesses produce pus-filled destruction that eventually drains into the bronchial tree. Blood clots that cut off circulation to a segment of lung cause tissue death through oxygen deprivation. In cancer, rapidly growing tumors can outstrip their own blood supply, and the central portion dies and breaks down. Each mechanism leaves behind a cavity with slightly different features on imaging, which helps doctors narrow down the cause.
What Wall Thickness Tells You
Radiologists pay close attention to how thick the cavity wall is, because it offers a practical clue about whether the lesion is likely benign or malignant. Cavities with walls 1 mm thick or less are almost always benign. Walls between 1 and 4 mm are usually benign as well. Once the wall reaches 5 to 15 mm, the odds split roughly evenly between a harmless and a dangerous cause.
The concerning threshold is above 15 mm: about 95% of cavities with walls that thick turn out to be malignant. One study found that wall thickness above 24 mm was 100% specific for cancer, while thickness below 7 mm was 97% specific for a benign cause. These numbers aren’t absolute rules, since some benign conditions like fungal balls can produce thick-walled cavities, but wall thickness remains one of the most useful initial clues.
Infections: The Most Common Cause
Infection is the leading reason lung cavities develop, and the list of responsible organisms is long. Tuberculosis stands out as the most common infectious cause of chronic cavitary disease. Cavities in TB strongly suggest active infection and make the disease easier to spread, because the hollow spaces harbor enormous numbers of bacteria that get aerosolized every time the person coughs.
Bacterial infections also frequently cause cavitation. Lung abscesses, which are typically caused by multiple organisms and associated with aspiration (inhaling food, saliva, or stomach contents), appear on imaging as round, solitary cavities in the lower portions of the lungs, often with a visible fluid level inside. The bacteria most commonly linked to cavitary pneumonia include Staphylococcus aureus, Streptococcus species, Pseudomonas, and Klebsiella, the last of which is known for particularly destructive lung damage.
Fungal infections are a major cause as well, particularly in certain geographic regions. A study from southern Arizona found that fungi accounted for 69% of all cavitary pneumonia cases, with coccidioidomycosis (valley fever) alone responsible for 39% of cases. Histoplasmosis, common in the Ohio and Mississippi River valleys, is another endemic fungal infection that produces cavities. Geography is one of the most useful diagnostic clues when a fungal cause is suspected.
Septic emboli, which are infected blood clots that travel from elsewhere in the body (most often from a heart valve infection) and lodge in the lungs, can also cause multiple small cavities scattered across both lungs. Blood cultures are usually positive in these cases.
Cancer and Other Non-Infectious Causes
Primary lung cancer is the most frequent cause of a solitary cavitary lesion. Among the cancer types, squamous cell carcinoma is the subtype most likely to cavitate. Adenocarcinoma can also form cavities, though less characteristically. The mechanism is straightforward: the tumor’s center dies because it grows faster than its blood supply can support, and the necrotic core breaks down and drains.
Autoimmune diseases can produce cavitary lesions that mimic infection or cancer on imaging. Granulomatosis with polyangiitis (formerly called Wegener’s granulomatosis) is the most notable example. About 70% of patients with this condition develop lung nodules, and roughly half of those nodules contain cavities. The nodules tend to be multiple, bilateral, and variable in size, sometimes ranging from a few millimeters to 10 cm. They can look strikingly similar to metastatic cancer or tuberculosis on a scan. Rheumatoid arthritis is another autoimmune condition that occasionally produces cavitary lung nodules.
How Doctors Determine the Cause
Imaging alone usually cannot identify why a cavity formed. A CT scan provides critical details like wall thickness, location, number of cavities, and whether fluid is present inside, but the final diagnosis almost always requires combining those imaging features with the patient’s clinical history and lab work.
The practical workup typically involves several parallel tracks. Sputum samples can be tested for tuberculosis and other infections. Blood tests help screen for autoimmune conditions (a specific antibody called c-ANCA is checked when granulomatosis with polyangiitis is suspected) or confirm bloodstream infections in cases of septic emboli. Geographic and travel history narrows the fungal possibilities considerably. When infection is ruled out or the cavity’s appearance raises concern for cancer, a tissue biopsy provides the definitive answer.
Certain imaging patterns offer strong hints even before lab results return. A solitary thick-walled cavity in an older smoker raises immediate concern for squamous cell carcinoma. Multiple bilateral cavities with a “feeding vessel” sign point toward septic emboli or vasculitis. A cavity in the upper lobes with surrounding scarring in someone from a TB-endemic area suggests reactivation tuberculosis. A round cavity with a fluid level in a dependent lobe after a period of impaired consciousness points toward aspiration and lung abscess.
Complications of Untreated Cavities
Cavities are not just markers of disease. They can become sources of serious complications on their own. One of the most dangerous is massive hemoptysis, or coughing up large volumes of blood. In tuberculosis, a cavity can erode into a nearby pulmonary artery branch, creating a weakened outpouching called a Rasmussen aneurysm. If it ruptures, the bleeding can exceed 300 ml per hour and carries a mortality rate of 5 to 25%.
Old, healed cavities can also become colonized by fungi, most commonly Aspergillus, forming a fungal ball (aspergilloma) that sits inside the cavity like a ball in a socket. This can itself cause recurrent bleeding. Additionally, cavities that communicate with the pleural space (the area between the lung and chest wall) can lead to pneumothorax, where air leaks out and collapses the lung.
Treatment Depends Entirely on the Cause
There is no single treatment for a cavitary lesion because the cavity itself is a consequence, not a standalone disease. The approach depends on what created it. Tuberculosis requires a prolonged course of multiple antibiotics, typically lasting six months or longer. Bacterial lung abscesses also need extended antibiotic therapy, often for weeks, targeting anaerobic bacteria and resistant organisms. Most lung abscesses resolve with medication alone, though drainage may be needed if they don’t improve.
Fungal cavities may require antifungal treatment or, in some cases, surgical removal if the cavity causes persistent bleeding or doesn’t respond to medication. Cancerous cavities are managed as part of the overall lung cancer treatment plan, which may involve surgery, radiation, chemotherapy, or a combination depending on the stage. Autoimmune-related cavities are treated by controlling the underlying inflammatory disease with immune-suppressing medications.
For complications like massive bleeding from a Rasmussen aneurysm, emergency procedures to block the bleeding artery have a success rate above 90% and serve as a bridge while the underlying infection is treated.

