How Does a Radiation Machine Work for Cancer?

Radiation therapy machines destroy cancer cells by aiming high-energy beams precisely at a tumor. The most common type, called a linear accelerator (or linac), generates these beams by smashing tiny particles into a metal target at enormous speed, then shaping the resulting radiation to match the exact contours of the tumor. The entire process relies on physics, computing power, and layers of engineering safety to deliver a lethal dose to cancer while sparing the healthy tissue around it.

How a Linear Accelerator Creates Radiation

A linac starts by generating a stream of electrons and accelerating them through a series of microwave-powered chambers until they reach nearly the speed of light. These high-speed electrons then slam into a target made of tungsten, a metal chosen because its heavy atoms are especially good at converting kinetic energy into radiation and because it can withstand extreme heat without melting.

When an electron passes close to a tungsten atom’s nucleus, the electrical force between them causes the electron to brake sharply. That lost kinetic energy has to go somewhere, and it converts into a combination of heat and X-ray radiation. This process, called bremsstrahlung (German for “braking radiation”), produces a broad spray of therapeutic X-rays. The X-rays always carry less energy than the electrons that created them, and by tuning the speed of those electrons, physicists can control how penetrating the final beam is. A typical clinical machine operates at 6 to 18 million electron volts, powerful enough to reach tumors deep inside the body.

Shaping the Beam to Fit the Tumor

A raw X-ray beam is far too broad and uniform to treat a tumor safely. To sculpt it into the right shape, the machine uses a device called a multileaf collimator (MLC). This is a bank of thin tungsten alloy leaves, each of which can slide independently in and out of the beam’s path. The leaves block radiation where it isn’t wanted and let it through where the tumor sits, creating a custom-shaped window that matches the tumor’s outline from each angle.

Modern MLCs contain up to 160 individual leaves, each as narrow as 2.5 millimeters. That fine resolution lets the machine conform tightly to irregular tumor shapes. There is a practical lower limit, though: leaves thinner than about 1.5 to 1.8 mm actually allow more radiation to leak between them, which defeats the purpose. The first collimator resembling today’s design was built in 1965, with just 9 pairs of much wider leaves. The leap from that prototype to today’s 160-leaf systems is a big part of why modern radiation therapy can spare so much healthy tissue.

During treatment, the leaves don’t stay in a single position. They shift continuously as the machine’s arm rotates around the patient, reshaping the beam from dozens of different angles. A treatment planning computer determines the exact leaf positions for every fraction of a second, optimizing the dose so it concentrates inside the tumor and falls off sharply at its edges.

Planning the Dose Before Treatment Begins

Before a single beam fires, a physics team uses specialized software called a treatment planning system to simulate exactly how radiation will spread through the patient’s body. The software works from a detailed CT scan (and sometimes MRI data) to map every tissue type the beam will pass through, since bone, muscle, lung, and fat all absorb radiation differently.

The most accurate planning algorithms use a method called Monte Carlo simulation, which tracks millions of virtual particles one by one as they bounce, scatter, and deposit energy through tissue. It is computationally intense but gives a highly realistic picture of where the dose will land. The result is a color-coded 3D dose map that the oncology team reviews before approving treatment. If the plan delivers too much radiation to a nearby organ, the team adjusts beam angles, leaf positions, or dose intensity until the map looks right.

What the Treatment Room Looks Like

The linac sits inside a heavily shielded room, often called a vault. Ordinary concrete is not dense enough to contain high-energy X-rays on its own, so treatment rooms use high-density concrete made with minerals like barite or magnetite, reaching densities of 3.0 to 5.0 grams per cubic centimeter compared to about 2.3 for standard concrete. Using the densest formulations can cut the required wall thickness nearly in half, which matters in hospitals where space is tight. Some facilities also embed scrap iron into the concrete for additional stopping power.

Inside the vault, the linac is mounted on a rotating arm (called a gantry) that can swing a full 360 degrees around the treatment table. The patient lies on the table, positioned using laser alignment guides and sometimes a custom-molded body cradle to prevent even small movements. A camera and intercom system let the treatment team monitor the patient continuously from a console outside the room.

Safety Systems That Prevent Errors

Radiation machines are governed by strict federal regulations. Every entrance to the treatment room has an electrical interlock: the machine physically cannot start a treatment cycle unless all doors are closed. If someone opens a door mid-treatment, the radiation source is automatically shielded and cannot restart until the door is closed again and the operator resets the controls at the console.

Before anyone re-enters the room after treatment, radiation monitors confirm that levels have returned to normal background. Emergency equipment is kept near the treatment room in case a source malfunctions, such as remaining in the unshielded position. For certain high-dose treatments, both a qualified physician and a medical physicist must be physically present during the entire session.

Other Types of Radiation Machines

Proton Therapy Systems

Instead of X-rays, proton therapy machines accelerate hydrogen ions (protons) using powerful magnets that bend them in a circular path while radiofrequency waves push them faster and faster, up to roughly two-thirds the speed of light. Protons behave differently from X-rays in tissue: they deposit most of their energy at a specific depth, then stop. This characteristic lets the beam deliver a concentrated dose inside the tumor with very little radiation passing through to the other side, which is especially useful for tumors near the brain, spinal cord, or eyes. The equipment required is far larger and more expensive than a standard linac, which is why proton centers are less common.

Gamma Knife

The Gamma Knife is a specialized machine used exclusively to treat tumors and other conditions inside the skull. Rather than accelerating particles, it uses 201 small cobalt-60 radioactive sources arranged in a helmet-like housing, all aimed so their individual gamma ray beams converge on a single point. No single beam is strong enough to damage the tissue it passes through, but at the focal point where all 201 beams intersect, the combined dose is intense enough to destroy a tumor. This design makes it possible to treat brain lesions without a surgical incision.

What a Treatment Session Feels Like

A typical session in the treatment room lasts about 15 to 30 minutes, but the machine is actually delivering radiation for only one to five minutes of that time. Most of the appointment is spent on positioning: lining you up with millimeter precision using the same reference marks placed during your initial planning scan. You lie still on the table, and the gantry rotates around you. The machine makes clicking and humming sounds as the leaves adjust, but you won’t feel the radiation itself. There is no heat, no pressure, and no sensation during the beam.

Treatment courses typically run five days a week for several weeks, though newer techniques like stereotactic radiosurgery can deliver the full dose in just one to five sessions by using extremely precise, high-dose beams. The total number of sessions depends on the tumor type, its location, and how much dose each fraction delivers.