Flies cohabit with humans, particularly in areas with poor sanitation, producing health problems. Flies serve as vectors for spreading a variety of harmful bacteria, either directly or through food. This research aims to use an ex post facto approach to determine the amount of diversity and distribution patterns of flies in Gampong Jawa, Banda Aceh City, Indonesia. Furthermore, this study can be used as a reference for the sorts of diseases distributed in the community and a factor in fly population control models for the prevention of infectious diseases in the area. The parameters chosen were the diversity index and the fly distribution pattern. Based on the results obtained, the diversity index tended to be low. The moderate diversity index was reached only in clusters 2 (1.02) and 3 (1.08) in the first-day morning, cluster 2 (1.2) in the second-day morning, cluster 3 (1.18) in the morning, and cluster 4 (1.01) in the afternoon of the third-day observation. In terms of distribution pattern parameters, the results obtained for uniform and clumped distribution patterns are the same when seen from the four clusters observed. According to the findings of this study, the fly diversity index in Gampong Jawa is still low, and the distribution pattern is homogeneous and clumped. As a result, to avoid pathogen transmission, a fly control model must be developed.