Disclosed is a spring for a device for stabilizing bones. The spring is designed as a leg spring that includes a spring coil with at least one turn and, at the end, a first and a second leg, which project beyond the periphery of the turn. At its end, at least one leg includes a rod-shaped end piece that has a three-dimensional structure in the form of a turn or a peripheral leaf or lip. Also disclosed is a device for stabilizing bones, which includes a spring, a bone plate that includes means for securing the bone plate to the three-dimensional structure in the form of a turn or a peripheral leaf or lip, and a clamping element that has at least one hole for accepting a bone fixation element as well as a channel through which one of the two legs of the spring can be guided.