The prevalence of communicable diseases in Indonesia is still high and causes morbidity and mortality in several Indonesian provinces. This cross-sectional study classified provinces based on the prevalence of seven communicable diseases: acute respiratory infections (ARI), pneumonia, diarrhea, filariasis, malaria, hepatitis, and tuberculosis (TB). The study analyzed the 2018 Indonesian Basic Health Research data. It is essential to categorize these diseases to identify regions with low, moderate, and high prevalence and the factors that affect them to facilitate the treatment of these diseases. Grouping provinces and influenced factors were analyzed using K-means, ANOVA, and stepwise regression. The results revealed that Group 1 shows a high prevalence, except for hepatitis and diarrhea. Group 2 demonstrates a moderate prevalence, excluding hepatitis and diarrhea, while Group 3 has a low prevalence. Improved access to primary healthcare services reduced the prevalence of pneumonia and TB, while using insecticide-treated mosquito nets for less than three years increased the prevalence of ARI and pneumonia. Adequate bedroom lighting reduced the prevalence of ARI, whereas being underweight in individuals over 18 increased it. In individuals aged 16–18 with short stature, there was an increase in the prevalence of hepatitis and malaria. Regularly draining the bathtub once a week and ensuring proper bedroom ventilation reduced the incidence of diarrhea. Using improved long-lasting insecticidal nets (LLINs) for mosquitos led to a decrease in filariasis cases. Specific factors influence each communicable disease and necessitate a multisectoral approach for effective treatment.