The invention discloses a moving object extraction method based on superpixel division and an optical flow method, and mainly solves the problems of more noises, high-frequency information loss, inaccurate boundary and the like of the existing moving object extraction method. The implementation steps of the method are as follows: (1), inputting an image, and pre-dividing the image into a superpixel set S to obtain a mark sheet I 2; (2), taking images of two adjacent frames in a video sequence and determining a rough position of a moving object by a Horn-Schunck optical flow method; (3), using the optical flow method to obtain the speed u in the horizontal direction and the speed v in the vertical direction, wherein V is speed amplitude of the optical flow method; (4) performing median filtering, Gauss filtering, binarization operation and morphology opening and closing operation on the optical flow result V to obtain V4; (5) using a superpixel division result to further correct the optical flow result, and extracting to obtain the accurate moving object. Superpixels belonging to a moving area are extracted accurately. Simulation experiments show that compared with the prior art, the moving object extraction method has the advantages of simple operation, small noise, clear boundary and the like, and can be used for extracting the moving object in the video sequence.