Das Endoskopsystem weist eine Abbildungsoptik, die zumindest ein verstellbares optisches Element (75, 75)umfasst, ein relativ zur Abbildungsoptik positionierbares Arbeitsinstrument (10, 10, 10"), einen Wegmesser (50, 50, 50", 55, 55, 55"), der zur Erfassung des vom Arbeitsinstrument (10, 10, 10") bei seiner Positionierung zurückgelegten Weges ausgebildet ist, und eine Steuereinrichtung (60, 60, 60"), die das optische Element (75, 75) in Abhängigkeit vom erfassten Weg verstellt, auf.The system (5) has an imaging optical system having an endoscope shaft (15,15) in which working instrument (10,10) and adjustable optical element such as liquid lens (75) are arranged at the distal end. A displacement measuring device (50,50,55,55) detects traveling path of the working instrument. A controller (60) adjusts the optical element based on detected path.