A test method for eliminating software abnormalities of gas water heaters, characterized in that: 1. Building a communication platform; 2. Establishing a database, and writing test regulations into the database; 3. Turning on the upper computer and connecting to the database; 4. Writing the software failure rate reference value β, select the regulations and the number of tests n; 5. Determine whether the number of tests j is greater than or equal to n, if yes, go to step 7; ; Seven, statistical failure rate k; Eight: output test results: a, failure rate k=0%, software is normal; b, failure rate k=100%, software failure; c, failure rate 0%≤k≤β and every If the faults are the same, there are other abnormal conditions; d, the failure rate is 0%≤k≤β and each fault is different, then start troubleshooting from the software; e, β≤k≤100%, then start troubleshooting from the software. The invention has the advantages of reducing the range of possible failures of the gas water heater, thereby shortening the test period and improving the test efficiency, which is of great significance to the entire development and design process of the gas water heater.