Carcinoma of the cervix is typically treated with a combination of intracavitary brachytherapy and external beam radiation. The external beam dose is delivered with whole pelvis fields followed by split fields that protect midline organs at risk (bladder and rectum) while treating the parametria. Three approaches have been developed to shield midline structures: a simple rectangular block, a block customized to a single brachytherapy isodose line, and a step wedge filter constructed to conform to multiple brachytherapy isodose lines. A customized step wedge filter has the potential to produce a more homogeneous dose distribution but has not achieved widespread use due to labor intensive construction. We have developed a simple, novel method to produce a custom midline step wedge using dynamic multileaf collimation (dMLC). A comparison of film measurements in a phantom with the dose calculated by a commercial treatment planning system demonstrated agreement within 3% or 3 mm. The technique requires delivery times comparable to conventional techniques.