Device for producing a bend of a wave winding for a coil winding of an electric machine comprising: - a first arrangement of first bending elements, which - are each arranged to be pivotable about a first pivot axis, - each have a distal first bending head with respect to the first pivot axis, and - following an insertion and before a bending of the wire material are arranged on one side of a wire material in the longitudinal direction of the wire material in a respective first starting position; and - a second arrangement of second bending elements, which - are each arranged to be pivotable about a second pivot axis, - each have a distal second bending head with respect to the second pivot axis, and - following an insertion and before a bending of the wire material are arranged on an opposite side of a wire material in the longitudinal direction of the wire material in a respective second starting position, wherein for producing a bend of a wave winding for a coil winding. - the first bending elements can be pivoted out of the first starting position from the one side toward the inserted wire material into a first bending position, - the second bending elements can be pivoted out of the second starting position from the opposite side toward the inserted wire material into a second bending position, - the first and the second bending elements (2, 7) are arranged, following the respective pivot into the first and second bending position, to form an arrangement of adjacent, pivoted bending elements in the longitudinal direction, in which arrangement the wire material bent into the wave winding runs around the first and the second bending heads (2c, 7c) and also between adjacent bending elements. - a first arrangement of first bending elements, which - are each arranged to be pivotable about a first pivot axis, - each have a distal first bending head with respect to the first pivot axis, and - following an insertion and before a bending of the wire material are arranged on one side of a wire material in the longitudinal direction of the wire material in a respective first starting position; and - are each arranged to be pivotable about a first pivot axis, - each have a distal first bending head with respect to the first pivot axis, and - following an insertion and before a bending of the wire material are arranged on one side of a wire material in the longitudinal direction of the wire material in a respective first starting position; and - a second arrangement of second bending elements, which - are each arranged to be pivotable about a second pivot axis, - each have a distal second bending head with respect to the second pivot axis, and - following an insertion and before a bending of the wire material are arranged on an opposite side of a wire material in the longitudinal direction of the wire material in a respective second starting position, wherein for producing a bend of a wave winding for a coil winding. - are each arranged to be pivotable about a second pivot axis, - each have a distal second bending head with respect to the second pivot axis, and - following an insertion and before a bending of the wire material are arranged on an opposite side of a wire material in the longitudinal direction of the wire material in a respective second starting position, - the first bending elements can be pivoted out of the first starting position from the one side toward the inserted wire material into a first bending position, - the second bending elements can be pivoted out of the second starting position from the opposite side toward the inserted wire material into a second bending position, - the first and the second bending elements (2, 7) are arranged, following the respective pivot into the first and second bending position, to form an arrangement of adjacent, pivoted bending elements in the longitudinal direction, in which arrangement the wire material bent into the wave winding runs around the first and the second bending heads (2c, 7c) and also between adjacent bending elements.