Leptospirosis is a zoonotic disease caused by the Leptospira bacterium; it is common in tropical regions, with an increased risk during the rainy season and during floods. Kampung Baru Neighborhood, Block 16, Medan Maimun Subdistrict, Medan City, is an area at risk for leptospirosis infection because its geographical features include a basin-like (cauldron-shaped) topography, making it prone to flooding during rainfall. Good knowledge can prevent the disease; conversely, people with poor knowledge can lead to wider disease transmission and an increase in morbidity and mortality rates. Methods: This study is a quantitative study using a one-group pre-test and post-test design and was conducted in Kampung Baru Neighborhood, Block 16, Medan Maimun Subdistrict, Medan City. The sampling technique used consecutive sampling with 79 respondents. Data were collected through questionnaires assessing the level of knowledge and attitudes regarding leptospirosis prevention. Results: The results showed that prior to the health education session, the majority of respondents had a good level of knowledge (24.1%) and a positive attitude (36.7%), which increased to a good level of knowledge (54.4%) and a positive attitude (60.8%) after the session. The Wilcoxon test revealed a significant difference in the community’s knowledge and attitudes before and after the health education session (P-value 0.000), and the chi-square test found an association between the community’s knowledge and attitudes regarding leptospirosis prevention (P-value 0.006). Conclusion: Community health education programs can serve as an effective intervention to improve awareness and attitudes regarding leptospirosis prevention, particularly in high-risk areas.