Jurnal Kesehatan Vol. No. December 2025, pp. p-ISSN: 1979-7621, e-ISSN: 2620-7761. DOI: 10. 23917/jk. Relationship between Livestock Pen Sanitation. Fly Density. Well Conditions, and Diarrhea Incidence in Aek Banir Village. Panyabungan District Dinda Putri Hamdani1. Sri Malem Indirawati2* Prodi Kesehatan Masyarakat. Fakultas Kesehatan Masyarakat. Universitas Sumatera Utara How to Cite: Hamdani. , & Indirawati. Relationship between Livestock Pen Sanitation. Fly Density. Well Conditions, and Diarrhea Incidence in Aek Banir Village. Panyabungan District. Jurnal Kesehatan, 18. , 312Ae325. https://doi. org/10. 23917/jk. Article Information Article History: Submission: 05 July 2025 Revision: 22 August 2025 Accepted: 11 September 2025 Keywords: Diarrhea, livestock sanitation, fly density ABSTRACT Introduction: Inadequate livestock pen sanitation has been demonstrated to increase fly populations in the surrounding environment, thereby elevating the risk of diarrhea transmission among communities living in proximity to the Additionally, wells constructed without adherence to proper construction standards have been associated with an elevated risk of water contamination, which, in turn, can lead to an increased incidence of diarrhea. The objective of this study is to ascertain the correlation between livestock pen sanitation, fly density, and well conditions with diarrhea incidence in the community of Aek Banir Village. Panyabungan Sub-District. Method: A quantitative approach with a cross-sectional design was utilized, involving 40 livestock owners as the sample, selected through total sampling. The collection of data was executed through the utilization of observation sheets, questionnaires, and fly grills. The analysis of the data was conducted using the chi-square test and Fisher's Exact Test. Results: The results indicated that 60. 0% of livestock pens did not meet sanitation standards, 52. 5% exhibited high fly density, 0% of wells were in poor condition, and 55. 0% of livestock owners had experienced diarrhea. The chi-square test with Fisher's Exact Test indicated a significant relationship between livestock pen sanitation, fly density, and well conditions with the incidence of diarrhea. Conclusion: The present study posits that there is a relationship between livestock pen sanitation, fly density, and well conditions with diarrhea incidence in the community of Aek Banir Village. Panyabungan Subdistrict. Corresponding Authors: (*) Prodi Kesehatan Masyarakat. Fakultas Kesehatan Masyarakat. Universitas Sumatera Utara. Jl. Dr. Mansyur No. Padang Bulan. Medan 20155. Indonesia Email: srimalem@usu. INTRODUCTION Diarrhea is a prevalent public health problem, particularly in developing countries. The disease under consideration is typified by the passage of loose or watery stools three or more times a day. Such an occurrence is generally attributed to bacterial, viral, or Journal Page: https://journals2. id/index. php/jk Jurnal Kesehatan p-ISSN: 1979-7621, e-ISSN: 2620-7761 parasitic infections that result from unsanitary environmental conditions. (WHO, 2. According to data from the World Health Organization (WHO), diarrhea is the second leading cause of death among children, responsible for more than 505,000 deaths annually. Beyond its impact on children, diarrhea also exerts a significant influence on the overall health of the community, particularly in regions characterized by constrained access to clean water and adequate sanitation. This condition is also observed in Indonesia, where diarrhea is the third most prevalent infectious disease, with the highest incidence rates. According to the following source:Profil Kesehatan Indonesia . The occurrence of diarrhea cases remains a recurrent phenomenon, with frequent reports being received from health service facilities. In North Sumatra Province, data from the Badan Pusp Statistik . documented 4,143 cases of diarrhea in Mandailing Natal Regency. Panyabungan District was identified as the area with the highest number of cases, with a total of 2,005 cases. A high incidence of diarrhea has been reported in Aek Banir Village, a village within Panyabungan District, with a total of 1,083 cases documented in 2023 alone. Environmental factors play an important role in the spread of diarrheal diseases. Poor livestock pen sanitation contributes to the increase in diarrhea cases. The accumulation of animal waste and pens built too close to residential areas increase the risk of environmental contamination and disease transmission. Research by Ramadhani et al. showed that farmers working in livestock pens with poor sanitation experienced cases of diarrhea. In addition, high fly density resulting from inadequate livestock waste management serves as a major vector for diarrhea transmission. The condition of wells that do not meet health standards also contributes to the risk. the poorer the well construction, the higher the possibility of coliform bacterial contamination, which can cause diarrhea Syafarida et al. , . Diarrhea remains one of the most serious public health challenges, especially in developing countries such as Indonesia. This disease is characterized by the passage of loose or watery stools more than three times a day and is generally caused by bacterial, viral, or parasitic infections closely associated with unhygienic environmental conditions. According to (WHO, 2. diarrhea is the second leading cause of death among children worldwide, with more than 505,000 deaths annually. Based on Profil Kesehatan Indonesia . , diarrhea ranks third among infectious diseases with high incidence rates continuously reported in various health care facilities. Mandailing Natal Regency in North Sumatra Province, particularly the Panyabungan District, has been identified as a region with a high incidence of diarrhea. According to data from Badan PUSAT Statistik . Panyabungan District recorded the highest number of cases, with 2,005 cases, while Aek Banir Village, which is part of this district, reported 1,083 cases in 2023. Preliminary surveys indicate that the environment in this village does not meet health standards. Most livestock pens are built in close proximity to houses, with a distance of less than 10 meters, and lack adequate sanitation. Additionally, the fly density around the pens is quite high, with a mean of 6Ae20 flies per pen. Furthermore, it has been determined that the wells are in substandard condition and do not meet the requisite health standards. Based on these issues, it is necessary to conduct an analytical study on livestock pen sanitation, fly density, and well conditions in relation to the incidence of diarrhea among residents of Aek Banir Village. Panyabungan District. The purpose of this study is to determine the relationship between livestock pen sanitation, fly density, and well conditions with the incidence of diarrhea among the community in Aek Banir Village. Panyabungan District. Relationship between Livestock Pen Sanitation. Fly Density. Well Conditions, and Diarrhea Incidence in Aek Banir Village. Panyabungan District (Dinda Putri Hamdani & Sri Malem Indirawat. A p-ISSN: 1979-7621, e-ISSN: 2620-7761 LITERATURE REVIEW Livestock pen sanitation plays a significant role in maintaining environmental cleanliness around residential areas. Pens that are rarely cleaned, have improper waste disposal, or have wet and poorly maintained floors can become sources of environmental contamination (Dinas Peternakan, 2. Furthermore, pens built too close to residential homes increase the likelihood of water and food contamination, which can trigger various diseases, including diarrhea. According to Syafitri and Indirawati . , poor livestock pen sanitation that fails to meet health standards can increase the fly population in surrounding areas, potentially becoming a vector for disease transmissionAiespecially in residential areas located near livestock pens. The components of pen sanitation, as stated in the Regulation of the Minister of Agriculture of the Republic of Indonesia No. 70 of 2015 concerning Animal Facilities, include the construction of the pen building, the adequacy of feed and drinking facilities, the condition of the pen floor and roof, the waste collection system, waste treatment facilities, and the cleanliness of the surrounding environment. Fly density around residential areas is also an important factor contributing to the transmission of diarrhea. Flies can act as mechanical vectors, carrying various pathogenic microorganisms from livestock feces to food or beverages consumed by humans (Fatrisia et al. , 2. High fly density is commonly found in environments with poor sanitation, which increases the likelihood of disease transmission. Therefore, fly control efforts through improved sanitation and proper waste management are essential to reduce this The quality of water sources, particularly wells, is another crucial factor influencing the risk of diarrhea. Wells that are not constructed according to health standardsAisuch as being too close to livestock pens, having cracked or non-waterproof walls, or lacking protective structuresAiare highly susceptible to contamination by pathogenic bacteria (Syafarida et al. , 2. Using contaminated well water for daily consumption increases the risk of diarrhea, especially in rural areas. Diarrhea continues to be a major public health issue, particularly in developing countries where access to clean water and adequate sanitation facilities remains limited. The disease is characterized by the passage of loose or watery stools three or more times per day and can lead to severe dehydration (WHO, 2. Contaminated environments and unsafe water sources are the main factors contributing to the high incidence of diarrhea. Therefore, improving environmental sanitation quality plays a vital role in preventing this Findings from several previous studies indicate that the combination of poor livestock pen sanitation, high fly density, and inadequate well conditions significantly increases the risk of diarrhea in communities (Saidi et al. , 2. Hence, improving livestock pen sanitation, controlling fly vectors, and providing clean water that meets health standards are key integrated strategies needed to reduce the incidence of diarrhea in affected populations. METHOD The type of research used in this study was an analytical survey with a crosectional design. The population in this study consisted of residents who owned cattle pens, totaling 40 farmers, who also served as the research samples. The samples were taken using a total sampling technique, in which the entire population under study was included as the therefore, the sample size did not require separate calculation. The study was conducted in Aek Banir Village. Panyabungan District, from March to April 2025. The independent variables in this study were livestock pen sanitation, fly density, and well Jurnal Kesehatan. Vol. No. December 2025: 312 Ae 325 Jurnal Kesehatan A p-ISSN: 1979-7621, e-ISSN: 2620-7761 conditions, while the dependent variable was the incidence of diarrhea. The cross-sectional design was used to observe the cause-and-effect relationship between livestock pen sanitation, fly density, well conditions, and diarrhea incidence, with data collected at a single point in time. The data collection methods used in this study consisted of two data sources Primary data, which included observation sheets, questionnaires, and fly grills. Secondary data, which included records of diarrhea case reports obtained from relevant institutions, namely Puskesmas Panyabungan Jae. Observation sheets were used to assess livestock pen sanitation and well conditions, questionnaires were used to evaluate diarrhea incidence, and fly grills were used to measure fly density. The data analysis was carried out in two stages Univariate analysis was used to describe the frequency distribution and percentage of each variable. Bivariate analysis was performed using the Chi-square test, with FisherAos Exact Test as an alternative, to determine the relationship between the independent variables . ivestock pen sanitation, fly density, and well condition. and the dependent variable . iarrhea incidenc. The analysis was conducted at a 95% confidence level with a significance value of = 0. RESULTS AND DISCUSSION Aek Banir Village is one of the areas located in Panyabungan Subdistrict. Mandailing Natal Regency. North Sumatra Province. Aek Banir Village is situated on the outskirts of Panyabungan City, with a total area of approximately A40,000 hectares. The total population is recorded at 3,062 people, consisting of 1,446 males and 1,596 females, distributed among 763 households. The majority of the residents earn their livelihood as In addition to agriculture, some of the community members are engaged in livestock farming. There are 40 livestock farmers in Aek Banir Village. An overview of the respondentsAo characteristics based on age, education, and duration of livestock farming can be seen in Table 1. Table 1. Respondent Characteristics Respondent Characteristics Age . Education Completed Elementary School Duration of Livestock Farming . Frequeny . Percentage (%) It is known that in terms of age, the majority of respondents . 5%) are between 30Ae49 years old, with the youngest age group being 25Ae29 years . 0%) and the oldest being 50Ae55 years . 5%). Based on the education level, all respondents were found to have completed elementary school as their highest level of education. Meanwhile, in terms of livestock farming experience, 52. 5% of respondents have been raising livestock for 1Ae4 years, 37. 5% for 5Ae8 years, and 10. 0% for 9Ae12 years (Table . The livestock pen sanitation variable includes the distance between the pen and the farmerAos house as well as the cleanliness of the pen. The following section presents the details of the observation results regarding livestock pen sanitation (Table . Based on Relationship between Livestock Pen Sanitation. Fly Density. Well Conditions, and Diarrhea Incidence in Aek Banir Village. Panyabungan District (Dinda Putri Hamdani & Sri Malem Indirawat. A p-ISSN: 1979-7621, e-ISSN: 2620-7761 Table 2 regarding livestock pen sanitation parameters, several aspects have not yet met the required standards. A total of 30 livestock pens was not equipped with a drainage system. As many as 34 pens do not have floors that slope toward the drainage channel. Additionally, 28 pens lack facilities for collecting liquid and solid waste. Moreover, 36 pens produce strong odors, and 28 pens are still unclean, with garbage found around the pen Table 2. Distribution of Livestock Pen Sanitation Yes Livestock Pen Cleanliness The pen structure is strong and easy to clean Feeding and watering facilities are easy to clean The pen is equipped with a well-functioning drainage system or ditch The pen floor is made of cement and waterproof The pen floor is not slippery The pen floor slopes toward the drainage channel The pen floor is clean from animal waste The pen floor is clean from feed residues The pen roof is made of strong and leak-proof materials The pen has facilities for collecting liquid and solid waste The pen has facilities for livestock waste treatment Clean water sources are available for pen sanitation Adequate cleaning equipment for the pen is available The pen does not produce a strong odor The area around the livestock pen is clean and free from garbage The data show that the majority of livestock pens in the study area do not meet the sanitation standards, with 60% categorized as not eligible, while only 40% fulfill the required sanitation criteria. This finding indicates that more than half of livestock owners maintain pens with substandard hygiene conditions, which may contribute to environmental contamination and increase the risk of vector-borne diseases (Table . Table 3. Distribution of Livestock Pen Sanitation. Distance from Houses, and Fly Density Categories Distribution of Livestock Livestock Pen Sanitation Categories Eligible Not eligible Distance Between Livestock Pen and House Eligible (Ou10 mete. Not eligible (<10 mete. Fly Density Low Moderate High Frequency . Percentage (%) Regarding the distance between livestock pens and residential houses, it was found that 65% of livestock owners have pens located less than 10 meters from their homes, failing to meet the minimum distance requirement. Only 35% of respondents comply with the recommended standard (Ou10 meter. This condition suggests a potential risk of disease transmission from livestock to humans, as closer proximity facilitates the spread of pathogens and odors, and may attract flies to domestic areas (Table . Jurnal Kesehatan. Vol. No. December 2025: 312 Ae 325 Jurnal Kesehatan A p-ISSN: 1979-7621, e-ISSN: 2620-7761 Furthermore, observations of fly density around the farmersAo kitchen areas reveal that more than half . 5%) fall into the high-density category . Ae20 flie. , while 32. 5% are in the moderate category, and only 15% are classified as low. The high fly density levels likely correlate with inadequate livestock pen sanitation and the short distance between pens and residential areas, both of which provide favorable breeding conditions for flies (Table . Table 4. Distribution of FarmersAo Well Conditions Well Condition Well walls are made of concrete and watertight Minimum wall depth is 300 cm from the well floor surface Well walls are plastered and tightly sealed Well rim height is at least 80 cm above the floor surface The well rim is plastered on both the inside and outside The well rim is clean and free from cracks or damage The well floor is made of cement and watertight The well floor extends at least 1 meter from the well wall The well floor surface slopes toward the drainage channel There are no cracks on the well floor The bucket rope is securely hung and does not touch the ground There is a wastewater drainage channel around the well The wastewater drainage channel functions properly There is no standing water around the well The distance between the well and the livestock pen . ollution sourc. is Ou10 meters Yes The well condition variable in this study was determined through direct observation of the wellsAo conditions. The distribution of the farmersAo well conditions can be seen in Table 4. Several aspects were found not to meet the established standards. A total of 30 wells had rims that were not clean or showed cracks. Twenty-seven wells still had standing water around them. In 26 wells, the wall depth had not yet reached 300 cm. Additionally, 23 wells were located less than 10 meters from pollution sources such as livestock pens. Twenty-two wells were not equipped with wastewater drainage channels. Meanwhile, in 21 wells, the inner and outer parts of the well rim had not been plastered, and an equal number of wells had floor surfaces that were not sloped toward the drainage The following section presents detailed observation results based on well condition categories. Based on the data presented in Table 5, it can be seen that half of the farmersAo wells . %) are categorized as eligible, while the remaining 50% are not eligible according to sanitation standards. This finding suggests that the overall well condition among farmers is still inadequate, with a significant portion failing to meet environmental health requirements such as sufficient distance from contamination sources and proper structural In terms of health outcomes, the data show that 55% of respondents experienced diarrhea, while 45% did not. The relatively high proportion of diarrhea cases indicates the potential impact of poor environmental sanitation, particularly related to water sources. Wells that are not properly constructed or maintained may serve as pathways for pathogenic contamination, especially from livestock waste or domestic sewage. Relationship between Livestock Pen Sanitation. Fly Density. Well Conditions, and Diarrhea Incidence in Aek Banir Village. Panyabungan District (Dinda Putri Hamdani & Sri Malem Indirawat. A p-ISSN: 1979-7621, e-ISSN: 2620-7761 Table 5. Distribution of FarmersAo Well Conditions and Diarrhea Incidence Distribution of Livestock Well Condition Categories Eligible Not eligible Diarrhea Incidence Diarrhea No Diarrhea Frequency . Percentage (%) Table 6. Relationship Between Environmental Sanitation Factors and Diarrhea Incidence Among Farmers in Aek Banir Village. Panyabungan District Environmental Sanitation Factors Livestock Pen Sanitation Categories Eligible Not eligible Fly Density Low Moderate High Well Condition Categories Eligible Not eligible Diarrhea Incidence Among Farmers Diarrhea No Diarrhea Total P-value <0. <0. <0. The results of FisherAos Exact Test showed that environmental sanitation factorsAi specifically livestock pen sanitation, fly density, and well conditionAihad a statistically significant relationship with diarrhea incidence among farmers . < 0. 0001 for all variable. Among the 24 farmers whose livestock pen sanitation did not meet standards, 22 . experienced diarrhea, while only 2 . 3%) did not. In contrast, none of the 16 farmers whose livestock pens met sanitation standards experienced diarrhea. Similarly, fly density showed a strong association with diarrhea incidence: all 21 farmers in areas with high fly density reported diarrhea, compared to only 1 farmer . 7%) in the moderate density group and none in the low-density group. The condition of wells also demonstrated a significant effect. among farmers using wells that did not meet health standards, 19 . 0%) had diarrhea, while only 1 . 0%) did not. Conversely, of those with wells meeting standards, 17 . did not experience diarrhea. These findings indicate that poor sanitation in livestock pens, high fly populations, and unsafe water sources substantially increase the risk of diarrheal Therefore, improving livestock pen hygiene, controlling fly breeding sites, and ensuring clean water sources are critical measures for preventing diarrhea among rural farming communities. Livestock Pen Sanitation in Aek Banir Village. Panyabungan District Livestock pen sanitation is an important aspect of creating a healthy environment and preventing the spread of environmentally related diseases. However, based on the results of this study involving 40 respondentsAo livestock pens, 24 pens . 0%) were categorized as not meeting the required standards, while 16 pens . 0%) met the standards. Most of the livestock pens were not equipped with proper drainage systems. The absence of a drainage system causes livestock waste to accumulate inside the pen instead of being effectively channeled to a designated storage area. Field observations showed that Jurnal Kesehatan. Vol. No. December 2025: 312 Ae 325 Jurnal Kesehatan p-ISSN: 1979-7621, e-ISSN: 2620-7761 unmanaged waste often overflows from the pens, contaminating the surrounding environment such as yards and water channels. This condition generates unpleasant odors that can affect comfort and health. These findings are supported by a study conducted by Chayati et al. , which stated that inadequate waste disposal systems and poor livestock waste management negatively impact not only human health but also environmental quality. This highlights the importance of proper waste management as a crucial effort to maintain environmental health and prevent disease transmission. Livestock waste can produce methane gas (CHCE) and serve as a breeding ground for both pathogenic and non-pathogenic microorganisms such as Escherichia coli. Salmonella sp. and Shigella, which are commonly found around livestock areas. The presence of such waste poses health risks to both farmers and nearby residents. Therefore, to minimize these risks, proper livestock pen sanitation and personal hygiene among farmers are essential to prevent disease transmission (Fawaid, 2. The study also revealed that most of the observed livestock pens remained in unclean conditions and did not meet proper sanitation standards. Poor pen hygiene contributes to the spread of various diseases. This finding aligns with research by Harianja et al. , which found that settlements located close to livestock pens with inadequate sanitation tend to have a higher risk of diarrhea compared to those maintaining proper livestock sanitation practices. Distance Between Livestock Pens and Farmers Residences in Aek Banir Village. Panyanbungan District Based on the study results, the majority of farmers . 0%) placed their livestock pens less than 10 meters from their homes. This condition indicates that most farmers have not met the ideal distance standard to properly separate residential areas from livestock Field measurements showed that some pens were directly attached to the walls of the houses, with the closest distance being 0 meters, causing a strong odor from livestock waste to spread inside the farmersAo homes. This finding is consistent with the study by Simamora et al. , which showed that placing livestock pens too close to residential areas can produce unpleasant odors from cattle waste, leading to discomfort for residents and reflecting substandard environmental sanitation conditions. This statement is also supported by Welfian and Purwaningsih . , who noted that one of the serious impacts of having livestock pens close to houses is the potential health risk for both residents and surrounding communities. In addition, livestock pens can become breeding grounds for various microorganisms such as germs, bacteria, and viruses. Livestock pens located too close to residential areasAiespecially those within a distance of less than 10 metersAican contribute to health problems such as diarrhea. Residential environments that do not maintain the recommended distance between homes and livestock pens tend to have a higher potential for diarrhea incidence (Harianja et al. Fly Density in Aek Banir Village. Panyabungan District Livestock activities in Aek Banir Village, which are carried out near residential areas without adequate consideration of livestock pen sanitation, have led to an increase in fly populations around the area. The results of the study showed that the majority of farmers experienced high fly density, with 21 farmers . 5%) categorized as high, 13 farmers . 5%) as medium, and only 6 farmers . 0%) as low. Relationship between Livestock Pen Sanitation. Fly Density. Well Conditions, and Diarrhea Incidence in Aek Banir Village. Panyabungan District (Dinda Putri Hamdani & Sri Malem Indirawat. A p-ISSN: 1979-7621, e-ISSN: 2620-7761 This condition is closely related to the suboptimal management of livestock pens. Livestock manure that is left to accumulate both inside and outside the pens without proper management is the main factor contributing to the high fly density. This finding is consistent with the research of Syafitri and Indirawati . , which showed that poor pen sanitation contributes to increased fly density in the homes of residents living near livestock Proper livestock waste management plays an important role in controlling fly When waste is not properly managed, it creates an environment that is highly conducive to fly breeding. Livestock manure serves as a primary source that attracts flies to reproduce. An increased fly population heightens the risk of disease transmission, such as diarrhea, among the community (Drajad et al. , 2. High fly density is not limited to the livestock pens themselves. The close proximity between livestock pens and houses allows flies to easily enter residential areas. Kitchens or food storage areas are particularly vulnerable, as the smell of food attracts flies. The presence of flies in kitchens poses a serious health risk because they can transfer harmful microorganisms from waste to food that will be consumed. This is supported by Ariansyah et al. , who stated that high fly density around livestock pens or residential areas significantly increases the risk of diarrhea. Well Conditions in Aek Banir Village. Panyabungan District Based on the results of the study, several issues were identified regarding the condition of the respondentsAo wells. Although the well walls were watertight, many did not reach the required depth of 3 meters and lacked concrete retaining walls, leaving the soil directly exposed. This increases the risk of contamination, as wells without impermeable walls allow pollutants from the surrounding soil to seep into the water. Harmful substances such as household waste and livestock manure can penetrate the well walls and contaminate the groundwater. This finding is supported by Syafarida et al. , who stated that well water contamination does not depend solely on the amount and proximity of pollution sources around the well, but is also strongly influenced by the quality and structural integrity of the well itself. The key construction elements that determine water safety include the condition of the well walls, the well rim, the floor surface, and the wastewater drainage Another important component of well condition is the well floor. The study found that four wells did not meet the construction standards Ai these wells had only earthen Additionally, 21 wells . 5%) had floors that did not slope toward the drainage channel, and stagnant water was observed around several wells. Cracks on the well floor, or the absence of a solid floor, can allow bacteria to enter the well through the movement of contaminated water (Syafarida et al. , 2. Measurement results also showed that 23 wells . 5%) did not meet the safe distance requirement from livestock pens. This condition increases the likelihood of water contamination by microorganisms, particularly Escherichia coli. colibacteria originating from livestock waste can spread when manure is left to accumulate, and if the distance between livestock pens and the water source is less than 10 meters, the bacteria can migrate into the water supply. Consumption of contaminated water poses a significant risk of diarrhea (Qorni et al. , 2. To meet environmental health standards, the safe distance between wells and potential pollution sources must be at least 10 meters. If the distance is less than 10 meters. Jurnal Kesehatan. Vol. No. December 2025: 312 Ae 325 Jurnal Kesehatan p-ISSN: 1979-7621, e-ISSN: 2620-7761 the well is categorized as not meeting the established health and safety criteria. (Kementerian Pekerjaan Umum dan Perumahaan Rakyat 2. Incidence of Diarrhea Among Residents of Aek Banir Village. Panyabungan District The results of the study show that the incidence of diarrhea among livestock farmers in Aek Banir Village is relatively high, reaching 55% of all respondents. This indicates that more than half of the farmers experience digestive health problems, particularly diarrhea. Field observations revealed that most livestock pens were not equipped with adequate waste management systems. This situation creates a damp and unhygienic environment that promotes the growth of pathogenic microorganisms and the proliferation of disease vectors such as flies. Such conditions pose a significant risk to the surrounding communityAos health, especially by increasing the likelihood of gastrointestinal diseases. This finding is consistent with the study of Harianja et al. , which showed that livestock pens with poor sanitation standards have a significant association with diarrhea incidence, particularly in residential areas close to livestock activities. Another contributing factor to the increase in diarrhea cases is the high fly density in farmersAo kitchen areas, which was found in this study to have a significant relationship with diarrhea incidence. All farmers living in environments with high fly density reported experiencing diarrhea, strengthening the assumption that flies act as vectors in transmitting disease-causing agents. The condition of wells as the primary water source also plays an important role in the analysis of diarrhea cases. Field findings revealed that many wells owned by farmers did not meet sanitation standards. This issue is exacerbated by the short distance between wells and livestock pens, increasing the likelihood of waste contamination. Poor well construction quality and substandard locations significantly raise the risk of pathogenic bacteria entering drinking water sources. This is supported by Nurhalimah and Putri . , who stated that inadequate physical well conditions and improper locations can increase the concentration of coliform bacteria, which play a key role in the occurrence of diarrhea in communities living near livestock areas. Relationship Between Livestock Pen Sanitation and the Incidence of Diarrhea Among Residents of Aek Banir Village. Panyabungan District The study obtained an p-value of 0. 000, which is statistically significant at the 0. This conclusion was reached through a thorough statistical analysis that utilized the chi-square test and Fisher's exact test as an alternative. This finding suggests a substantial association between the condition of livestock pen sanitation and the prevalence of diarrhea among the population of Aek Banir Village. The present findings underscore the pivotal role of livestock sanitation in determining the prevalence of diarrhea within a The sanitation of livestock enclosures constitutes a pivotal element in the prevention of the transmission of diseases of a environmental nature. Nonetheless, the results of the observations conducted on 40 livestock pens indicated that 24 pens . 0%) were classified as not meeting sanitation standards. In this group, 22 respondents . 7%) experienced diarrhea, while only 2 respondents . 3%) did not. Conversely, 16 pens . 0%) satisfied the sanitation standards, and no respondents in this category reported experiencing diarrhea. The findings indicate a robust correlation between the quality of pen sanitation and the prevalence of diarrhea within the community. Livestock pens that are not designed according to sanitation standards have a high potential to become breeding grounds for disease-causing agents. Solid waste such as Relationship between Livestock Pen Sanitation. Fly Density. Well Conditions, and Diarrhea Incidence in Aek Banir Village. Panyabungan District (Dinda Putri Hamdani & Sri Malem Indirawat. A p-ISSN: 1979-7621, e-ISSN: 2620-7761 manure that is left to accumulate can serve as a medium for microorganisms like Escherichia coli and Salmonella sp. The study by Gunawan. Kholik, and Agustin . identified the presence of E. coli through sample testing of cow feces, while Muzadin. Ferasyi, and Fakhrurrazi . confirmed the presence of Salmonella sp. in cow feces. These findings suggest that livestock waste not only poses environmental contamination risks but can also serve as a direct source of infectious disease transmission to humans. This result aligns with the study by Nurochmah and Rachma . , which found a significant relationship between livestock pen sanitation and diarrhea incidence in Sruni Village. Musuk District. Boyolali Regency, with a p-value = 0. 000 < = 0. Similarly. Kurnia et al. reported a statistically significant association . -value = 0. < = 0. between pen sanitation conditions and the occurrence of diarrhea, further reinforcing the findings of this study. Relationship Between Fly Density and the Incidence of Diarrhea Among Residents of Aek Banir Village. Panyabungan District Based on data analysis using the chi-square test with FisherAos Exact Test as an alternative, the results showed a p-value = 0. < 0. This indicates a significant relationship between the level of fly density and the incidence of diarrhea among the residents of Aek Banir Village. In other words, high fly density plays a significant role in the occurrence of diarrhea cases within the community. The high population of flies in farmersAo kitchen areas is largely attributed to poor livestock pen sanitation, which contributes to an increase in diarrhea incidence. This condition is also influenced by the proximity between the livestock pens and the farmersAo The research data showed that all respondents whose kitchen environments had a high fly density experienced diarrhea, while respondents living in areas with low fly density did not experience diarrhea at all. These findings clearly demonstrate the role of flies as a potential vector in transmitting pathogens that cause gastrointestinal diseases such as diarrhea. This finding is consistent with the study conducted by Karimuna et al. , which found a significant association between fly density and diarrhea incidence in residential areas near the fish auction site in Kendari City, with a p-value = 0. 000 < 0. Similarly. Jannah and Maftukhah . reported a meaningful relationship between fly density and diarrhea incidence . -value = 0. in residential areas surrounding poultry farms in Rambang District. Muara Enim. These studies support the conclusion that poor environmental sanitation and high fly density are closely linked to the spread of diarrheal diseases in communities living near livestock or waste-producing environments. The Relationship Between Well Conditions and the Incidence of Diarrhea Among the Community in Aek Banir Village. Panyabungan District Based on data analysis using the chi-square test with the Fisher Exact Test as an alternative, a A-value of 0. < 0. was obtained. This finding indicates a significant relationship between well conditions and the incidence of diarrhea among the community. In other words, the condition of the wells plays a significant role in influencing the occurrence of diarrhea cases in the area. Field findings show that the residents of Aek Banir Village do not treat or purify their water before using it for daily needs such as cooking, drinking, and washing. Wells that are not constructed according to sanitation standards Ai for example, lacking protective barriers against contamination or being located too close to livestock pens Ai make the water highly susceptible to contamination by diarrhea-causing microorganisms such Jurnal Kesehatan. Vol. No. December 2025: 312 Ae 325 Jurnal Kesehatan p-ISSN: 1979-7621, e-ISSN: 2620-7761 as Escherichia coli and Salmonella sp. When contaminated water is consumed without prior purification or treatment, the risk of disease transmission increases directly through the consumption of unhygienic water. This studyAos results are consistent with the findings of Triana and Lilia . , who also demonstrated a significant relationship between well conditions and the incidence of diarrhea, with a A-value = 0. 000 < p = 0. Similar results were reported by Simanullang and Nanda . , who found a significant relationship between well conditions and diarrhea cases among the community in Ujung Teran Village, with a A-value = 0. Researh Limitations In conducting this study, the researcher encountered several limitations, particularly in the aspect of communication. Some respondents initially assumed that the data collection activity was related to social assistance or government programs, which made them less open in providing information. The researcher had to provide persuasive and repeated explanations to help respondents understand that this research was purely academic in nature and not associated with any aid or government program. CONCLUSION The findings of the study indicate a substantial correlation between the sanitation of livestock enclosures, the density of flies, and the quality of wells with the occurrence of diarrhea among the population of Aek Banir Village. Panyabungan District. A total of 60% of livestock pens did not meet sanitation requirements, 52% of livestock owners' kitchens had high fly density, and 50% of wells failed to meet environmental health standardsAi corresponding with a high diarrhea incidence rate of 55%. The primary objective of this study is to ascertain the extent to which wells and livestock activities contribute to the risk of diarrheal disease. Poor sanitation practices in livestock enclosures can serve as a source for the dissemination of pathogens. High fly density in kitchen areas can act as a vector for diarrhea-causing agents, and inadequate physical and sanitary well conditions may facilitate disease transmission through contaminated water. These findings underscore the significance of enhancing livestock pen sanitation, implementing fly vector control measures, and upgrading well infrastructure to meet health standards as effective preventive measures to reduce diarrhea cases within the ACKNOWLEDGEMENT The researcher would like to express sincere gratitude to the Aek Banir Village Government and the Panyabungan Jae Community Health Center (UPT Puskesma. for granting permission and providing assistance during the data collection process. REFERENCES