The invention diWscloses a method for detecting infrared small targets under a cloud background based on temperate filtering and false alarm rejection. The method comprises the following steps: firstly, obvious noises are removed from an image through maximum median filtering to complete image preprocessing; secondly, Robinson template filtering is used to suppress the background and highlight targets; thirdly, cloud partitioning of the original image is carried out, binarization processing of a result obtained after the Robinson template filtering is carried out through a low threshold in a cloud partition, and binarization processing of the result obtained after the Robinson template filtering is carried out through a high threshold in a non-cloud partition; finally, a plurality of ''false target points'' generated by a same target are further removed from the binarization results to complete ''coarse detection'', and time domain processing is continued for adjacent frame images that have gone through space domain processing to complete ''fine detection'', so that the detection of the infrared small targets is achieved. The method provided by the invention has the advantage that the constant false alarm rejection algorithm is added in interframe track correlation, so that the detection false alarm rate is greatly reduced.