AbstractAimWe studied the distribution of freshwater macroinvertebrate taxa and traits to distinguish ecological gradients among the mining‐controlled and natural headwaters, and rural and urban economic activity influences.LocationIn 2016’s dry season, macroinvertebrate samples were collected at 40 locations in the Mashcon watershed, northern Peruvian Andes. Six locations were in the headwaters directly influenced by mining, eight near‐pristine tributary headwaters, 14 agricultural locations at midstream and 12 urban locations downstream.MethodsEight traits (five biological and three ecological) were selected according to data availability, and modalities scores were assigned using the weighted and the dominant‐trait approaches. The traits relative abundances and abiotic conditions were compared among watershed sections. The ecological interpretability of the ungrouped data was verified with a distance‐based redundancy analysis.ResultsThe high‐altitude mining section had fewer taxa types and abundance, and distinct body forms distributions and prevalent body sizes in macroinvertebrate communities, relatable to the control of the mining headwaters. Physiological and ecological traits (respiration, mobility and attachment, food sources, feeding habits, saprobity and pH preferenda) differed among traits quantification approaches and were less informative at high altitudes. The ecological conditions from the near‐pristine tributaries recovered in the vegetated midstream section, to again be affected in the downstream urban section.Main ConclusionsOur results suggest the presence of ecological impairment despite the excellent physicochemical quality of the water discharged by the mine. The obtainment of autecological information at a higher taxonomic resolution, e.g. for ubiquitous taxa like Acari and Chironomidae, would be needed to advance the freshwater quality assessment of ecologically and hydrogeochemically complex Andean mining ecosystems.