X-rays are a form of high-energy light that passes through soft tissue but gets absorbed by dense materials like bone and metal. This property makes them one of the most widely used tools in medicine, allowing doctors to see inside the body without making a single incision. They also play roles outside of healthcare, from airport security scanners to industrial quality checks.
How X-Rays Work
X-rays sit on the high-energy end of the electromagnetic spectrum, with wavelengths between 0.03 and 3 nanometers. That’s thousands of times shorter than visible light, which is what gives them the energy to penetrate materials that ordinary light cannot.
When an X-ray beam is aimed at your body, different tissues absorb different amounts of energy. Dense structures like bones and teeth absorb most of the X-rays, so they appear white on the resulting image. Soft tissues like muscle and fat let more X-rays pass through, making them appear in shades of gray. Air, such as the air in your lungs, lets nearly all X-rays through and appears black. This contrast between tissues is what creates the familiar black-and-white image that reveals what’s happening beneath the skin.
What X-Rays Can Detect
The most common reason for an X-ray is checking for broken bones. Fractures show up clearly because the break disrupts the smooth white outline of the bone. But X-rays reveal far more than fractures.
Chest X-rays can show signs of pneumonia, tuberculosis, lung cancer, and an enlarged heart (a hallmark of congestive heart failure). Dental X-rays reveal cavities that aren’t visible during a standard exam. Joint X-rays can show the cartilage loss and bone changes associated with arthritis. Specialized X-ray tests measure bone density to screen for osteoporosis. Mammography, a specific type of X-ray, examines breast tissue for early signs of cancer. And if a child swallows a coin, a button battery, or a small toy, an X-ray quickly pinpoints where the object is sitting in the digestive tract.
Contrast Agents for Soft Tissue
On their own, X-rays aren’t great at distinguishing one soft tissue from another. That’s where contrast materials come in. These are substances you either swallow, receive as an enema, or get injected into a vein before the X-ray is taken. They temporarily fill a specific area of the body and block X-rays from passing through, making structures that would normally be invisible suddenly stand out on the image.
Barium is commonly used for digestive tract imaging. You drink a chalky liquid or receive it as an enema, and it coats the lining of the esophagus, stomach, or intestines so problems like ulcers, blockages, or growths become visible. Iodine-based contrast works similarly for blood vessels and organs. Injected into the bloodstream, it highlights the circulatory system so doctors can spot blockages, aneurysms, or abnormal blood flow.
What Happens During an X-Ray
A standard X-ray is quick and painless, usually taking just a few minutes. You’ll be asked to position the body part being imaged against a flat surface or detector. For a hand X-ray, that means placing your hand flat with fingers slightly separated. For a knee X-ray, you might sit on the table with your legs straight while the technician positions the detector beneath your knees. The key is holding still, since any movement blurs the image.
A lead apron or shield is placed over parts of your body that aren’t being imaged. This blocks stray radiation from reaching areas that don’t need exposure, particularly reproductive organs. The technician then steps behind a protective barrier and triggers the machine. You won’t feel anything when the X-ray passes through you. In many cases, the entire process from positioning to finished image takes under ten minutes.
How Much Radiation You’re Exposed To
X-rays use ionizing radiation, which means the energy is strong enough to knock electrons off atoms in your body. When this happens near DNA, it can cause damage, either by striking the DNA directly or, more commonly, by splitting water molecules in your cells into reactive oxygen species that then damage nearby DNA. This is the same mechanism that makes radiation therapy effective against cancer: enough DNA damage triggers cell death.
The doses involved in diagnostic X-rays, however, are extremely small. A chest X-ray delivers about 0.1 millisieverts (mSv) of radiation. A dental X-ray delivers 0.005 mSv. An X-ray of a hand or foot delivers less than 0.001 mSv. For comparison, you absorb roughly 3 mSv per year just from natural background radiation (cosmic rays, radon in soil, trace radioactive elements in food). A single chest X-ray adds the equivalent of about 10 days of that natural background exposure.
The guiding safety principle in radiology is ALARA, which stands for “as low as reasonably achievable.” In practice, this means the imaging team uses the minimum radiation necessary to get a clear picture, shields your body where possible, and avoids ordering X-rays that won’t change your diagnosis or treatment. The technician stands behind a barrier not because the dose from one X-ray is dangerous, but because they’d otherwise accumulate small exposures from dozens of patients every day.
Digital vs. Film X-Rays
Traditional X-rays exposed a piece of photographic film, which then had to be chemically developed in a darkroom. Digital radiography has largely replaced this process. Digital sensors are far more sensitive than film, which means they need significantly less radiation to produce a usable image. Some estimates put the reduction at up to 80% less radiation compared to traditional film.
Digital images also appear on screen instantly, eliminating the wait for film development. If the positioning wasn’t quite right or the image is unclear, the technician knows immediately and can retake it. The images are easier to store, share between providers, and enhance with software to highlight subtle details that might be missed on film.
X-Rays Outside of Medicine
The same ability to see through solid objects makes X-rays valuable in security and industry. Airport security systems use cabinet X-ray machines to scan carry-on items and checked luggage for prohibited objects. These machines are fully enclosed, with thick walls and lead curtains at the entry and exit points to prevent any radiation from escaping into the terminal. The TSA uses them at virtually every security checkpoint in the country.
In manufacturing, X-rays inspect welds, castings, and structural components for hidden cracks or defects that could cause failures. This is especially critical in aerospace and construction, where a flaw invisible to the naked eye could have serious consequences. The principle is identical to medical imaging: X-rays pass through the material, and variations in density reveal internal problems.