Today, as people's living standard grows better and better, the people’s indoor living environment is also demanding higher and higher. In particular, the concentration of indoor air VOCs is of even greater concern. Given that the traditional system developed for testing indoor air quality has some defects such as monomer node, single detection target and high user threshold, this paper applies wireless sensor network to the test system for indoor air VOCs. The results show that users can easily access the detection results via the Web, and the whole system features wireless, networking, multiple nodes, simple operation and low cost. The holistic equipment works in good condition and never fails. In a specific environment, compared with the traditional wireless sensor network, the detection control system devised herein reaches a constant value in a shorter time. With the test of the system functions, it is proved that the system can work in a truly and stably manner and has a high detection precision.