This study was aimed to explore the application of fuzzy C-means (FCM) algorithm in MR images of acquired immune deficiency syndrome (AIDS) patients. Sixty AIDS patients with central nervous disease were selected as the research object. A method of brain MR image segmentation based on FCM clustering optimization was proposed, and FCM was optimized based on the neighborhood pixel correlation of gray difference. The correlation was introduced into the objective function to obtain more accurate pixel membership and segmentation features of the image. The segmented image can retain the original image information. The proposed algorithm can clearly distinguish gray matter from white matter in images. The average time of image segmentation was 0.142 s, the longest time of level set algorithm was 2.887 s, and the running time of multithreshold algorithm was 1.708 s. FCM algorithm had the shortest running time, and the average time was significantly better than other algorithms (P < 0.05). FCM image segmentation efficiency was above 90%, and patients can clearly display the location of lesions after MRI imaging examination. In summary, FCM algorithm can effectively combine the spatial neighborhood information of the brain image, segment the BRAIN MR image, analyze the characteristics of AIDS patients from different directions, and provide effective treatment for patients.