A medical instrument includes a shaft that includes at least two adjacent shaft sections which are movable relative to one another. The at least two movable shaft sections are engaged with each other so as to roll off one another in a frictionally locking manner or so as mesh with each other via teeth.