An endoscope (1) having a heating device (7) with at least one stiffened area (9, 10, 27) on a printed circuit board (8). At least one heating element (11) of the heating device is arranged in the stiffened area (9, 10, 27), and the heating device (7) is laid flat, from the outside, on a metallic head part (4) at the distal end (3) of the endoscope.