<p>Provided is a sensor unit which can improve sensor element positioning accuracy and can easily be assembled. The sensor unit (A) detects a body-to-be-detected (45) mounted on an object. The sensor unit (A) includes: a sensor element (1) which detects the body-to-be-detected (45); a cable (10) having a core (4) to be electrically connected to an electrode unit (2) of the sensor element (1) and extracting an output signal of the sensor element (1) outside; and a sensor fixing member (7) to which the sensor element (1) is fixed and which is mounted on the aforementioned object. The sensor element (1) has a protrusion (3) serving as a member for attaching to the sensor fixing member (7) and positioning on the body-to-be-detected (45).</p>