The comparison of filtering elements of the mouth apparatus of larvae and the distribution of species along ecological profiles allow us to note that the trophic specialization of black fly larvae depends on the ecological niche and availability of the food resource of a certain size category.