Objective To understand the influencing factors for the occurrence of AIDS⁃related high⁃risk sexual behavior of the rural elderly in Guangxi. Methods The rural elderly (age ≥50 years) from 5 districts and counties in Guangxi were selected as the research subjects by employing the convenient sampling method. Questionnaire investigation was performed to collect research subjects' general demographic information, social support states, AIDS knowledge awareness rate, service history of AIDS prevention, history of addictive substance abuse, and occurrence status of high⁃risk sexual behavior, etc. The multivariate Logistic regression model was used to analyze the influencing factors for the occurrence of AIDS⁃related high⁃risk sexual behavior of the rural elderly in Guangxi. Results A total of 1288 rural elderly were finally investigated, with 512 (39.75%) reporting AIDS⁃related high⁃risk sexual behavior within the past year. The incidence rate in the male elderly was 2.04 times higher than that in the female elderly. The male elderly being married, with junior high school or higher educational level, and with AIDS knowledge unacquaintance were related to the low occurrence risk of AIDS⁃related high⁃risk sexual behavior, whereas Han nationality, presence of addictive substance abuse history were related to the high occurrence risk of AIDS⁃related high⁃risk sexual behavior (P<0.05). The female elderly with medium level or higher social support level, AIDS knowledge unacquaintance were related to the low occurrence risk of AIDS⁃related high⁃risk sexual behavior, while the female elderly with occupations of housewife or job⁃waiting was related to the high occurrence risk of AIDS⁃related high⁃risk sexual behavior (P<0.05). Conclusion The incidence rate of AIDS⁃related high⁃risk sexual behavior of the rural elderly in Guangxi is relatively high. More attention should be paid to the elderly with lower educational level, the male elderly with a history of addictive substance abuse, and the female elderly with occupations of housewife or job⁃waiting, etc. It is suggested that community participation and peer education should be used to help the rural elderly establish correct sexual concepts, reduce high⁃risk sexual behavior and reduce the risk of HIV infection.