This paper presents an algorithm for detecting the small infrared target under complex background. An method, Local Mutation Weighted Information Entropy (LMWIE), is proposed to suppress background. Then, enhance targets’ gray value by calculating the local energy. For the problem that the gray value of noises is enhanced with the gray value improvement of targets, image segmentation bases on the adaptive threshold. Experiment results indicate that it is a robust and effective small target detection algorithm.