Position detection device comprising: a wave (2); a housing (3) supporting the shaft (2) rotatably about an axis of the shaft (2); a
magnetic circuit unit (4) fixed to the shaft (2) and arranged to rotate together with the shaft (2); a sensor (5) mounted on the housing (3), the sensor (5) comprising: a sensor body (51); a
magnetic detector (50) projecting from the sensor body (51) to the
magnetic circuit unit (4); and at least one engagement projection (52, 521, 522, 523) extending from the sensor body (51) near the
magnetic detector (50) and engaging an engagement hole (36) arranged on the housing (3), an anti-rotation hole (37) arranged on at least one of the sensor body (51) and the housing (3) at a position spaced from the engagement hole (36) of the housing (3); and an anti-rotation pin (53) arranged on another of the sensor body (51) and the housing (3), wherein the anti-rotation pin (53) engages in the anti-rotation hole (37) to prevent the housing (3) and the sensor body (51) from rotating relative to each other about the engagement hole (36), wherein at least a part of the at least one engagement projection (52, 521, 522, 523) is in contact with an inner wall of the engagement hole (36) on a straight line (L) connecting a center of the
magnetic detector (50) and a center of the anti-rotation pin (53), the at least one engagement projection (52, 521, 522, 523) comprises more than three engagement projections arranged on a circumference centered on the magnetic
detector (50); a predefined engagement projection (521) of the engagement projections (52, 521, 522, 523) is in contact with the inner wall of the engagement hole (36) on the straight line (L) connecting the center of the magnetic
detector (50) and the center of the anti-rotation pin (53); and other engaging projections (522, 523) of the engaging projections (52, 521, 522, 523) are in contact with the inner wall of the engaging hole (36) at intervals of 120° or less in a circumferential direction from a starting point (P) where the predefined engaging projection (521) of the engaging projections is in contact with the inner wall of the engaging hole (36).