The invention discloses a fighting behavior recognition method and device, a storage medium and an electronic device. The method comprises the steps: calculating optical flow data according to a (t-1)-th frame of image and a t-th frame of image in a target video, and determining whether candidate areas of fighting behaviors exist in the t-th frame of image or not through head and shoulder detection tracking data, wherein t is a positive integer greater than 1; under the condition that it is determined that the candidate area exists in the t-th frame of image, inputting the image sequence of the candidate area in the t-th frame of image and the image sequence of the same area of the L frames of images before the t-th frame of image into a target neural network, and outputting a recognitionresult; under the condition that the recognition result determines that the fighting behavior exists in the candidate area, transmitting early warning information, carrying out the pre-detection operation on fighting behaviors in a video, extracting candidate areas, and then carrying out the secondary filtering on the candidate areas to obtain final fighting areas, and feeding back alarm information, so the technical problem of relatively low accuracy of fighting behavior identification in the prior art is solved.