A control system for an air purifier comprises a single-chip microcomputer, a humidifier, a buzzer, a lamp tube driving circuit, an ultraviolet lamp, a frequency converter, an alternating current motor, an infrared remote control, a humidity sensor, an air quality sensor, an infrared sensor, an LCD display screen, a key and a direct current power supply. The humidifier and the buzzer are respectively connected with the single-chip microcomputer. The infrared remote control, the lamp tube driving circuit and the frequency converter are respectively connected with the single-chip microcomputer. The ultraviolet lamp is connected with the lamp tube driving circuit, and the alternating current motor is connected with the frequency converter. The humidity sensor, the air quality sensor, the infrared sensor and the key are respectively connected with the single-chip microcomputer, the LCD display screen is connected with the single-chip microcomputer, and 220V alternating current is supplied to the frequency converter and the ultraviolet lamp and is supplied to the single-chip microcomputer after being converted through the direct current power supply. The control system can monitor indoor air quality conditions in real time and have response sensitivity, is provided with a friendly human-computer interaction interface and has functions of automatic startup and shutdown, selection of various working modes and various operation modes.