Abstract:water inrush is very important for the safe mining of coal mine. Based on the study of hydrogeological data of Zhangji Mine and according to the different characteristics of hydrochemical ions in different aquifers, six conventional ions, Ca2+, Mg2+, K+, Na+, HCO3- , SO42-, Cl-are selected. Eight factors including pH value and TDS are added as discriminant factors. Based on Fisher discriminant method and centroid distance analysis theory, water inrush from Zhangji Mine is established by SPSS software. The function model of water source discrimination was established, and the discriminant analysis of 8 water samples randomly sampled was carried out. It can be concluded that factor analysis is effective for the establishment of model training samples; with the increase of discriminant factors, the misjudgment rate of samples decreases, and the accuracy rate increases from 90.625% to 96.875%. Due to the influence of structural conditions and other factors, there are some errors in the water samples to be judged. Because the method of establishing function model is simple and accurate, it is feasible to distinguish the type of water inrush source.