A video endoscope including: a endoscope shaft a hermetically enclosed video-optical unit arranged in the endoscope shaft, wherein the video-optical unit comprises an enclosure including a substantially cylindrical, hermetically sealed housing having a distally arranged entry window, an objective lens, an image sensor unit, and one or more signal lines, the housing being connected to an outer jacket tube in a rotationally fixed manner, wherein the image sensor unit is mounted in the housing rotatably about a longitudinal axis of the endoscope shaft and comprises at least one image sensor, wherein, in order to rotate the image sensor unit, a magnetic coupling with an outer magnet and an inner magnet operationally connected to the outer magnet in a magnetic manner, is arranged in the area of the distal tip of the endoscope shaft.