Yes, many types of infection are visible on an X-ray, but how well they show up depends entirely on where the infection is and how long it’s been developing. Lung infections like pneumonia are among the easiest to spot. Bone infections can take weeks to appear. And soft tissue infections like cellulitis are nearly invisible on standard X-rays. Here’s what you can and can’t expect to see.
Lung Infections Show Up Most Clearly
Chest X-rays are one of the most common ways to diagnose pneumonia. When a lung infection is present, the radiologist looks for white spots called infiltrates, areas where fluid and inflammatory material have replaced the normally air-filled lung tissue. Healthy lung tissue appears dark on an X-ray because air lets the radiation pass through. Infected tissue blocks more of it, creating those telltale bright patches.
Chest X-rays catch pneumonia about 83% of the time. That’s reliable enough to be a standard first step, but it means roughly 1 in 6 cases of pneumonia can be missed, especially early on or in patients with mild disease. CT scans are more sensitive and may be ordered if an X-ray looks normal but symptoms strongly suggest infection. Ultrasound is another option, with sensitivity closer to 94% in comparative studies.
Tuberculosis Has a Distinctive Pattern
Tuberculosis produces some of the most recognizable findings on a chest X-ray. Active TB typically shows up as areas of consolidation in the upper portions of the lungs, particularly the tops (apices) and the upper segments of the lower lobes. Cavities, hollow spaces where the infection has destroyed lung tissue, appear in about 40% of cases. Thick-walled cavities surrounded by consolidation suggest the infection is still active, while thin-walled cavities with surrounding scarring point to healed or inactive disease.
In chronic or healed TB, the X-ray often shows volume loss in the upper lung zones, thickened tissue along the top of the lung lining, and calcified spots where the body has walled off old infection. These residual signs can persist for years or even a lifetime after treatment.
Bone Infections Take Time to Appear
Bone infections (osteomyelitis) are one of the biggest blind spots for X-rays. The problem is timing: bone destruction and the characteristic layering of new bone around the infection don’t typically become visible until the infection has been present for 10 to 21 days. As many as 80% of patients who show up within the first two weeks of symptoms will have a completely normal X-ray.
That’s a significant limitation. By the time an X-ray can detect a bone infection, the disease has often progressed considerably. MRI is far more effective for catching early bone infections because it detects the swelling and fluid changes in bone marrow that precede visible destruction. A normal MRI essentially rules out osteomyelitis, making it the preferred imaging tool when bone infection is suspected. An X-ray might still be ordered first as a quick, inexpensive screening step, but a negative result doesn’t mean the bone is clear.
Joint Infections Show Indirect Signs
When a joint becomes infected (septic arthritis), X-rays can reveal some indirect clues: the joint space may appear wider than normal due to fluid buildup, the surrounding soft tissue may look swollen and bulging, and in later stages, the bone surfaces within the joint may start to erode. These are useful findings, but they’re not specific to infection. Gout, rheumatoid arthritis, and trauma can produce similar changes.
Ultrasound is more helpful for joint infections because it can directly visualize fluid inside the joint and guide a needle to drain it. Extracting and testing that fluid is the definitive way to confirm a joint infection.
Dental Infections and Abscesses
Dental X-rays can reveal tooth infections, which typically appear as dark areas at the tip of a tooth’s root. These dark spots represent bone loss caused by infection spreading from a dead or dying tooth pulp. A chronic abscess that has been present for some time will often produce a well-defined dark circle at the root tip, sometimes with a visible drainage tract.
One complication is that not all dark spots around tooth roots are infections. Cysts, tumors, and trauma can create similar-looking areas on dental X-rays, so the dentist interprets the image alongside symptoms like pain, swelling, and whether the tooth is still alive (responds to temperature or electrical testing).
Soft Tissue Infections Are Hard to See
Skin and soft tissue infections like cellulitis are poorly suited to X-ray diagnosis. The findings are nonspecific at best: diffuse swelling in the soft tissue, increased density of the fat under the skin, and blurring of the normal fat layers. These changes don’t reliably distinguish infection from other causes of swelling.
There is one critical exception. X-rays can detect gas within soft tissue, which is a hallmark of necrotizing infections, the dangerous, rapidly spreading type sometimes called flesh-eating disease. This is a medical emergency, and seeing gas bubbles in the tissue on an X-ray can prompt immediate surgical intervention. For routine cellulitis, though, imaging is often unnecessary and diagnosis relies on the physical exam.
Kidney and Abdominal Infections
Most kidney and urinary tract infections don’t show up on a plain abdominal X-ray. The exception is emphysematous pyelonephritis, a severe and life-threatening kidney infection that produces gas within the kidney tissue. This gas can sometimes be spotted on a plain X-ray, though CT scanning is far more reliable, with 100% sensitivity compared to about 65% for plain film.
For general abdominal infections like appendicitis or abscesses in the liver or abdomen, X-rays are of limited value. CT scans and ultrasound are the workhorses for these diagnoses.
When X-Rays Work and When They Don’t
X-rays are best at detecting infections that change the density of tissue in predictable ways: fluid replacing air in the lungs, bone being eaten away over weeks, gas appearing where it shouldn’t be. They struggle with early-stage infections, soft tissue problems, and anything that hasn’t had time to create structural changes visible on film.
If your doctor orders an X-ray to look for infection and it comes back normal, that doesn’t necessarily mean you’re infection-free. It may mean the infection is too early, too subtle, or in a location where X-rays simply can’t provide enough detail. In those cases, MRI, CT, or ultrasound often picks up what the X-ray missed.

