BackgroundLivestock keeping is one of the potential factors related to malaria transmission. To date, the impact of livestock keeping on malaria transmission remains inconclusive, as some studies suggest a zooprophylactic effect while others indicate a zoopotentiation effect. This study assessed the impact of livestock management on malaria transmission risks in rural Tanzania. Additionally, the study explored the knowledge and perceptions of residents about the relationships between livestock keeping and malaria transmission risks in a selected village.MethodsIn a longitudinal entomological study in Minepa village, South Eastern Tanzania, 40 households were randomly selected (20 with livestock, 20 without). Weekly mosquito collection was performed from January to April 2023. Indoor and outdoor collections used CDC-Light traps, Prokopack aspirators, human-baited double-net traps, and resting buckets. A subsample of mosquitoes was analysed using PCR and ELISA for mosquito species identification and blood meal detection. Livestock's impact on mosquito density was assessed using negative binomial GLMMs. Additionally, in-depth interviews explored community knowledge and perceptions of the relationship between livestock keeping and malaria transmission risks.ResultsA total of 48,677 female Anopheles mosquitoes were collected. Out of these, 89% were Anopheles gambiae sensu lato (s.l.) while other species were Anopheles funestus s.l., Anopheles pharoensis, Anopheles coustani, and Anopheles squamosus. The findings revealed a statistically significant increase in the overall number of An. gambiae s.l. outdoors (RR = 1.181, 95%CI 1.050–1.862, p = 0.043). Also, there was an increase of the mean number of An. funestus s.l. mosquitoes collected in households with livestock indoors (RR = 2.866, 95%CI: 1.471–5.582, p = 0.002) and outdoors (RR = 1.579,95%CI 1.080–2.865, p = 0.023). The human blood index of Anopheles arabiensis mosquitoes from houses with livestock was less than those without livestock (OR = 0.149, 95%CI 0.110–0.178, p < 0.001). The majority of participants in the in-depth interviews reported a perceived high density of mosquitoes in houses with livestock compared to houses without livestock.ConclusionDespite the potential for zooprophylaxis, this study indicates a higher malaria transmission risk in livestock-keeping communities. It is crucial to prioritize and implement targeted interventions to control vector populations within these communities. Furthermore, it is important to enhance community education and awareness regarding covariates such as livestock that influence malaria transmission.