The invention relates to the field of complex network mining, in particular to a method for estimating the number of complex network communities. The method for estimating the number of community in complex network is disclosed. The complex network is denoted as graph and denoted as network G (V, E). The network G (V, E) contain m network nodes, denoted as V= (v1, v2,..., vm), wherein the ith network node (1 <= i <= m) is denoted as vi; There are n connections between nodes in the network, which are represented by n edges, denoted as E= (e1, e2, ..., en), where the first edge (1 <=l<= n) is denoted as el; the number of communities contained in the network G (V, E) and the community center nodes are determined. Without any prior information, it can fully reflect the intrinsic structural characteristics of dense network community and sparse network externality. Estimation accuracy of the number of communities in the network is high, which is conducive to improve the estimation performance of network community discovery algorithm, and has high practical value for the analysis of real network data.