IntroductionAgricultural drainage ditches are essential for maintaining flow efficiency and are often managed by brushing (i.e., vegetation clearing along ditch banks) and dredging. These maintenance practices not only impact flow but also the ditches’ capacity to process and assimilate agricultural chemicals. However, the influence of ditch management on microbial activities, essential in processing and transforming these contaminants, remains underexplored.MethodsWe conducted a four-year surface water sampling campaign in two long-established (over 40 years) agricultural drainage ditches situated in eastern Ontario, Canada. One drainage ditch underwent intensive bank brushing and channel dredging, while the other remained unmanaged. We assessed the impact of these contrasting ditch management practices on the diversity and compositional structure of surface water microbiome communities, with a particular focus on the distribution of genes associated with nitrogen (N) cycling, using shotgun metagenomics sequencing and an assembly-based metagenome approach.Results and discussionFrom 117 surface water samples, we reconstructed 157 metagenome-assembled genomes (MAGs), predominantly from the Patescibacteria superphylum. Brushing alone, conducted about 10 months prior to dredging, had an insignificant impact on the aquatic microbial community. However, dredging led to a significant reduction in community diversity and abundance of genes affiliated with denitrification, dissimilatory nitrate reduction to ammonia, and complete nitrification through comammox. Ditch management resulted in noticeable shifts in the microbial community, evidenced by the enrichment of taxa in Polaromonas, Emticicia, Flectobacillus, and Patescibacteria in the water of the managed ditch sites. The metagenomes of these taxa harbor genes involved in various nitrogen biotransformation pathways. Interestingly, following dredging, the levels of ammonia and ammonium, nitrite, and total Kjeldahl N in the managed ditch did not increase, but significantly decreased; likely due to ditch substrate removal and potentially increased flow efficiency and dilution. Being one of the few studies conducted to date, this study provided unique insights into the consequences of drainage ditch management on freshwater microbiomes involved in N cycling.