A system for preventing or removing fogging from and endoscope which includes an endoscope having a distal end and a heating module disposed over the distal end of the endoscope. The heating module may include a heating element arranged as a single-segment heater, or in a series of elongated portions extending circumferentially around the distal end of the endoscope connected by bend portions that are parallel or tangent to a longitudinal axis of the endoscope. The heating module may also be disposed on or adhered to an outside surface of the endoscope, and may include a heating element made from a resistive heating material. The heating module may be provided as a single-use disposable device, and may include an outside surface made from a biocompatible or sterilizable insulating material.