A self-cleaning type television set-top box relates to the field of electronic equipment cleaning. The self-cleaning type television set-top box includes a set-top box and a remote controller with sawteeth on the edge, wherein the set-top box is provided with an accommodating box and a cleaning device; the cleaning device includes a fan, a first gear, a ratchet and pawl mechanism arranged on the first gear, a second gear, a third gear, a fourth gear, a fifth gear meshed with the first gear, a sixth gear, a seventh gear and a coil spring, and the ratchet is coaxially fixed with the second gearand the sixth gear through a sliding shaft; the second gear, the third gear and the fourth gear with a rotating shaft are sequentially meshed; the coil spring is coaxially arranged on the rotating shaft; the fifth gear is arranged on the rotating shaft through a one-way bearing; a wedge block is arranged in the accommodating box, and a cross rod is fixed at the lower end of the wedge block; and the seventh gear that can move down with the sliding shaft to be meshed with the sixth gear is vertically arranged below the sixth gear, the seventh gear is coaxially provided with fan blades, and the fan blades are coaxially arranged on a transmission shaft. According to the scheme, when the remote controller is inserted into the accommodating box, the fan blades can rotate to clean the set-top boxthrough a blowing mode.