This study was conducted in 2016-2017 to provide the basic ecological data needed to establish environmental conditions for the cultivation of wild vegetables. It used TWINSPAN to classify the vegetation structure of natural habitats of wild vegetable nationwide and DCCA ordination to analyze the correlation between the by community structure and environmental factors. We performed TWINSPAN on 100 taxa with high importance values in 91 plots of major habitats of wild vegetables. The vegetation was classified into Cirsium setidens and Synurus deltoides group, Ligularia fischeri and Hemerocallis fulva group, Adenophora divaricata var. manshurica group, Platycodon grandiflorum and Aster scaber group, Aralia elata and Pteridium aquilinum group, and Pimpinella brachycarpa and Osmunda japonica group communities. We then performed DCCA ordination of 11 communities classified by TWINSPAN and 11 environmental factors. The results showed that the altitude had the strongest correlation with the vegetation. The Cirsium setidens, Synurus deltoids, and Lifularia fischeri communities were distributed in areas with similar environmental factors such as high altitude, gentle slope, and nutrient. The Aralia elata and Osmunda japonica communities were distributed in the location environment with low altitude, pH, O.M, T-N, $Ca^{2+}$, and C.E.C. The Hemerocallis fulva community was distributed in the location environment with moderate northeastern and northwestern slope, low altitude and pH, and high $P_2O_5$, whereas the Adenophora divaricata var. manshurica community was distributed in the location environment with gentle southeastern and southwestern slope, high altitude and pH, and low $P_2O_5$, which was the opposite tendency of the location environment from Hemerocallis fulva community. The Platycodon grandiflorum community was distributed in the location environment with gentle southwestern slope, low altitude, pH, O.M, T-N, $P_2O_5$, $Ca^{2+}$, and C.E.C., and high $Mg^{2+}$. The Pteridium aquilinum community was distributed in the location environment with southwestern slope, low altitude, O.M, T-N, C.E.C, $P_2O_5$, $Ca^{2+}$, and $K^+$. The Aster scaber and Pimpinella brachycarpa communities were widely distributed in many plots with various location environments.