A medical instrument (10) comprises an elongated shaft (12) having a distal end (14) and a proximal end (16), a working part (24) arranged at the distal end (14) of the shaft (12), a handle (32) arranged at the proximal end (16) of the shaft (12), and an elongated element (42) extending through the shaft (12), a distal end (48) of the elongated element (42) being rotationally fixedly connected to the working part (24) and a proximal end (44) of the elongated element (42) being connected to the handle (32), the shaft (12) being rotatable about a longitudinal axis (30) of the shaft (12), the working part (24) being rotatable relative to the handle (32) about a longitudinal axis (50) of the working part (24) independently of the shaft (12), and an actuating element (52) arranged on the handle (32) for rotating the shaft. The actuating element (52) is switchable between at least two different axial positions, in a first position of which the actuating element (52) is rotationally fixedly coupled exclusively with the shaft (12) for rotating the shaft (12) only, and in a second position of which the actuating element (52) is rotationally fixedly coupled exclusively with the elongated element (42) for rotating the working part (24) only.