A cable flame-retardant combustion test device based on automatic control of a computer includes an electrical control cabinet, a power source, a test sample bracket, a burner, a fuel gas regulating valve, an air regulating valve, a voltage regulator, a voltage regulation indicator gauge, a current regulator, a current regulation indicator gauge, a phase connection/disconnection display device, a fuel gas pressure gauge, an air pressure gage, a fuel gas flow meter and an air flow meter, and is characterized by further including the computer installed with control software; the fuel gas flow meter, the air flow meter, the fuel gas pressure gauge, the air pressure gauge, the voltage regulation indicator gauge, the current regulation indicator gauge and the phase connection/disconnection display device are all provided with communication interfaces and in communication connection with the computer; both the fuel gas regulating valve and the air regulating valve are electric control valves and act as per control signals output by the computer respectively; and the voltage regulator and the current regulator act as per control signals output by the computer respectively. Through adopting the cable flame-retardant combustion test device, the testing process is automatically and precisely controlled by the computer, the testing result is more accurate and reliable, the efficiency is high, and the original testing data can be stored.