The present invention discloses method for moving target detection and tracking in a complex scene. The method comprises two steps of multiple moving target detection and multiple moving target tracking: in the multiple moving target detection, a background model based on self adapting nonparametric kernel density estimation is established with the aim at the monitoring of the complex scene, therefore the disturbance of the movement of tiny objects can be effectively suppressed, the target shadow is eliminated, and the multiple moving target is detected; in the multiple moving target tracking, the target model is established, the moving state of the target is confirmed through ''matching matrix'', and corresponding tracking strategy is adopted according to the different movement condition of the target. Target information is ''recovered'' through the probabilistic reasoning method, and the target screening degree of the target is analyzed with the aim at the problem that multiple targets screen mutually. The algorithm of the present invention can well realize the moving target tracking, obtains the trace of the moving target, and has good real time and ability of adapting to the environmental variation. The present invention has wide application range and high accuracy, therefore being a core method for intelligent vision monitoring with versatility.