The invention discloses a control system for preventing insects and moisture of a wardrobe, and the system comprises a moisture-proof system for dehumidifying the wardrobe body, and comprises a heat generating device, a gas drying filter plate, a first humidity sensor, a second a humidity sensor, a temperature sensor, a first electronically controlled valve, a second electronically controlled valve, an ultraviolet lamp, a stainless steel protection mesh coated with titanium dioxide, and a suction fan, wherein the stainless steel protection mesh wraps the ultraviolet lamp; a control system which comprise a controller and a memory, wherein the controller is electrically connected with the memory, the heat generating device, the first humidity sensor, the second humidity sensor, the first electronically controlled valve, the second electronically controlled valve, the temperature sensor and the suction fan, so as to control the drying inside the wardrobe. The system expels insects in thewardrobe, is quick in drying and has no bacteria breeding in the wardrobe.