Current knowledge regarding the long-term humoral response of people infected with human immunodeficiency virus to the third dose of inactivated coronavirus disease (COVID-19) vaccine is incomplete. As a result, concerns remain about the safety and efficacy of the vaccination. To improve our understanding of the safety and immunogenicity of the COVID-19 inactivated vaccine booster in people living with HIV (PLWH), a prospective study was conducted on participants who had not yet received a third dose of the COVID-19 inactivated vaccine, had no history of SARS-CoV-2 infection, and had received a second dose of the vaccine more than six months prior. The primary safety outcomes included the incidence of adverse reactions, changes in CD4+T-cell count, viral load, blood routine examination, liver and kidney function examination, blood sugar, and blood lipid examination. The pseudovirus-neutralizing antibody responses to the D614G variant, Delta variant, and Omicron variants BA.5 and BF.7 were evaluated before vaccination, 14 days, 28 days, 3 months, and 6 months after vaccination to evaluate the immune response of PLWH to the injection of inactivated vaccine booster and the safety of the vaccine. In conclusion, COVID-19 vaccine booster shots were effective in PLWH, resulting in an increase in the number of CD4+T-cells, neutralizing antibodies that lasted up to six months, and higher levels of neutralizing antibodies lasting approximately 3 months. However, the vaccine protection against the two variants of BA.5 and BF.7 was significantly lower than that of D614G and Delta.