Magnet assembly (10, 10', 10") for a sensor device for detecting a measurement variable characterizing a rotation state of a steering shaft of a motor vehicle, - wherein the magnet assembly (10, 10', 10") has a sleeve and a magnetic element (12, 12', 12"), which is connected in a form-fitting manner to the sleeve, - wherein the sleeve is designed for connecting the magnet assembly (10, 10', 10") to a first part of the steering shaft and has at least one stop flange, which extends outwards in the radial direction in a radial plane, for axially securing the magnetic element (12, 12', 12") in a first axial direction, - wherein the magnetic element (12, 12', 12") is of sleeve-shaped or annular design or is a magnetic ring or a magnetic sleeve and has a first end side, a second end side and a magnetically effective magnetic portion in between, and - wherein the magnetic element (12, 12', 12") is arranged concentrically with respect to the sleeve and, with its first end side, is at least partially supported axially on the stop flange and is thereby secured in the first axial direction, wherein the magnetic element (12, 12', 12") is secured in a second axial direction and in a first circumferential direction and in a second circumferential direction by means of at least one latching means engaging in a recess (12B, 12B', 12B") which is open in the axial direction and has a plurality of inner surfaces (I1, 12, 13), wherein a first inner surface of the recess (12B, 12B', 12B") forms a stop surface in the second axial direction and secures the latching means in the second axial direction, wherein a second inner surface of the recess (12B, 12B', 12B") forms a stop surface in the first circumferential direction and secures the latching means in the first circumferential direction, and a third inner surface of the recess (12B, 12B', 12B") forms a stop surface in the second circumferential direction and secures the latching means in the second circumferential direction. - wherein the magnet assembly (10, 10', 10") has a sleeve and a magnetic element (12, 12', 12"), which is connected in a form-fitting manner to the sleeve, - wherein the sleeve is designed for connecting the magnet assembly (10, 10', 10") to a first part of the steering shaft and has at least one stop flange, which extends outwards in the radial direction in a radial plane, for axially securing the magnetic element (12, 12', 12") in a first axial direction, - wherein the magnetic element (12, 12', 12") is of sleeve-shaped or annular design or is a magnetic ring or a magnetic sleeve and has a first end side, a second end side and a magnetically effective magnetic portion in between, and - wherein the magnetic element (12, 12', 12") is arranged concentrically with respect to the sleeve and, with its first end side, is at least partially supported axially on the stop flange and is thereby secured in the first axial direction, wherein the magnetic element (12, 12', 12") is secured in a second axial direction and in a first circumferential direction and in a second circumferential direction by means of at least one latching means engaging in a recess (12B, 12B', 12B") which is open in the axial direction and has a plurality of inner surfaces (I1, 12, 13), wherein a first inner surface of the recess (12B, 12B', 12B") forms a stop surface in the second axial direction and secures the latching means in the second axial direction, wherein a second inner surface of the recess (12B, 12B', 12B") forms a stop surface in the first circumferential direction and secures the latching means in the first circumferential direction, and a third inner surface of the recess (12B, 12B', 12B") forms a stop surface in the second circumferential direction and secures the latching means in the second circumferential direction.