The aim of the study was to study the timing and frequency of community — acquired pneumonia in HIV-infected people, depending on the level of immunodeficiency and viral load.Materials and methods. Based on the materials of the Perm regional center for the fight and prevention of AIDS and infectious diseases, medical documentation was studied for 396 patients with HIV-associated pneumonia who died in 2014–2018 the frequency of community-acquired pneumonia (EAP) was estimated depending on the level of immunodeficiency and viral load.Results and discussion. It turned out that in most cases, EAP in relation to HIV infection is a secondary disease. The average duration of EAP after HIV infection was 4,6±3,7 years. With increasing immunodeficiency and viral load, the incidence of VP increases. Most often, VP is registered with CD4+ lymphocytes less than 200 cells/μl and viral load of 10 000–100 000 copies/ml.