A video endoscope including: a shank; an image-recording device arranged in a distal region of the shank; a flexible circuit board electrically connected to an image-recording device; and a cooling element; wherein the flexible circuit board rests on the cooling element and at least portions of an exterior of the cooling element fit an inner contour of the shank in a stress-free manner