Reduced invertebrate abundance and diversity are common responses to metals contamination in mining-impacted streams. The resulting changes in community composition may have implications for metals accumulation and transfer through the food web. We investigated how changes in invertebrate community composition (abundance, species richness, and food web complexity) influence metals bioaccumulation and exposure risk to upper trophic levels along a contamination gradient in the upper Blackfoot River Basin, Montana. Invertebrate species richness exhibited the strongest decline with increasing sediment metals concentrations, driven by the loss of metals-sensitive taxa. These changes in invertebrate community composition resulted in a decline in the proportion of invertebrates in the scraper functional feeding group, likely influencing dietary metals exposure to the invertebrate community. Additionally, invertebrates with a strong propensity-to-drift increased with sediment contamination, potentially facilitating metals transfer to fish and higher trophic levels through predation. Using invertebrate exposure values (invertebrate abundance × metals concentrations), we found that moderately contaminated sites in our study area produced both the highest invertebrate exposure values and the highest fish tissue metals concentrations. Considering both changes in invertebrate community composition and metal concentrations is an important step towards understanding and evaluating potential toxic effects to upper trophic levels in mining-impacted streams.