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 (A1), - 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 (S1), a second end side (S2) 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 (S1), is at least partially supported axially on the stop flange and is thereby secured in the first axial direction (A1), wherein the magnetic element (12, 12', 12") is secured in a second axial direction (A2) and in a first circumferential direction (U1) and in a second circumferential direction (U2) 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 (I1) of the recess (12B, 12B', 12B") forms a stop surface in the second axial direction (A2) and secures the latching means in the second axial direction (A2), wherein a second inner surface of the recess (12B, 12B', 12B") forms a stop surface in the first circumferential direction (U1) and secures the latching means in the first circumferential direction (U1), and a third inner surface of the recess (12B, 12B', 12B") forms a stop surface in the second circumferential direction (U2) and secures the latching means in the second circumferential direction (U2). - 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 (A1), - 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 (S1), a second end side (S2) 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 (S1), is at least partially supported axially on the stop flange and is thereby secured in the first axial direction (A1), wherein the magnetic element (12, 12', 12") is secured in a second axial direction (A2) and in a first circumferential direction (U1) and in a second circumferential direction (U2) 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 (I1) of the recess (12B, 12B', 12B") forms a stop surface in the second axial direction (A2) and secures the latching means in the second axial direction (A2), wherein a second inner surface of the recess (12B, 12B', 12B") forms a stop surface in the first circumferential direction (U1) and secures the latching means in the first circumferential direction (U1), and a third inner surface of the recess (12B, 12B', 12B") forms a stop surface in the second circumferential direction (U2) and secures the latching means in the second circumferential direction (U2). <EOS>