Space-based infrared target detection can provide full-time and full-weather observation of targets, thus it is of significance in space security. However, the presence of stars in the background can severely affect the accuracy and real-time performance of infrared dim and small target detection, making star suppression a key technology and hot spot in the field of space target detection. The existing star suppression algorithms are all oriented towards the detection before track method and rely on the single image properties of the stars. They can only effectively suppress bright stars with a high signal-to-noise ratio (SNR). To address this problem, we propose a new method for infrared dim star background suppression based on recursive moving target indication (RMTI). Our proposed method is based on a more direct analysis of the image sequence itself, which will lead to more robust and accurate background suppression. The method first obtains the motion information of stars through satellite motion or key star registration. Then, the advanced RMTI algorithm is used to enhance the stars in the image. Finally, the mask of suppressing stars is generated by an accumulation frame adaptive threshold. The experimental results show that the algorithm has a less than 8.73% leakage suppression rate for stars with an SNR ≤ 2 and a false suppression rate of less than 2.3%. The validity of the proposed method is verified in real data. Compared with the existing methods, the method proposed in this paper can stably suppress stars with a lower SNR.