In a surgical instrument with a shaft part (1), to which a slide (3) is assigned, wherein shaft part (1) and slide (3) are releasably connected to each other, a detent element (14) is intended to protrude from the shaft part (1) and/or from the slide and, as the slide (3) slides along the shaft part (1), the detent element (14) enters a recess (13) of the slide (3) and/or of the shaft part.