The invention relates to wireless fidelity (WIFI) network optimization based on a complex environment. The WIFI network optimization is characterized by comprising a step S01 of detecting the field intensity signal to noise ratio of a to-be-optimized area, and if the measured field intensity is smaller than 100dBM, adding covering points, adding mounted type access point (AP) devices or using high-power AP devices for hot spot areas where signal coverage does not meet an index; a step S02 of detecting the same adjacent channel interference of the to-be-optimized area, and if a detected interference source is between 0dBm and 80.00dBm, performing frequency point adjustment, adopting no more than 3 common-frequency APs to perform networking, and enabling upstream throughput of each AP to be larger than 4M access bandwidth; for a high-business-volume area, starting a 5.8GHz frequency band to close AP automatic frequency regulation and automatic power control switches to give priority to access to an indoor system, and adopting a channel multiplexing technology to allocate channels. The WIFI network optimization can be achieved, a wireless access device can cover all areas expected to be covered, and the capability of adequately bearing an expected load is provided.