In this paper, due to factors such as imaging devices and imaging environment, medical images may experience halos, blurring, and unclear contrast. A medical image restoration method based on neighborhood registration is proposed to address this issue. In this repair method, the image is first processed into blocks, then the blocks that need to be repaired are determined. Afterward, based on the surrounding neighborhood information of the image block to be repaired, the image information within the optimal neighborhood block is repaired and replaced. The experimental results show that the repair method based on the best neighborhood registration has completed medical image restoration, with significantly higher repair quality than the reference method. The repaired image results have a high RSNR.