An ankle X-ray is a diagnostic imaging test that uses X-ray technology to create images of the ankle joint. The ankle X-ray is typically used to evaluate injuries or conditions that affect the bones, joints, and surrounding tissues of the ankle, including fractures, sprains, arthritis, and other abnormalities.