Recent changes in Brazilian legislation reduced the width of riparian forest buffer needed to be preserved in private properties from 30 to 15m or less. The consequences of these modifications can be dramatic, mainly because riparian buffer width is an important parameter for riparian forest structure and functioning. Our study assessed whether (1) macroinvertebrate family richness and Ephemeroptera, Plecoptera, and Trichoptera (EPT) family richness decrease with reduced riparian buffer width; (2) taxonomic composition and functional feeding group (FFG) composition of macroinvertebrates vary with a reduced riparian buffer width; and (3) reduced riparian buffer width similarly influence the macroinvertebrate community in different stream substrates. We selected three fragments with different riparian buffer widths (>40, <30, and <15m) in three streams (fourth and fifth orders) in the Sinos River watershed, southern Brazil. Our results show that on all substrate types, reducing the width of the riparian buffer altered neither the macroinvertebrate richness nor EPT richness. However, EPT richness was greater in the substrates stone and gravel than leaf litter, independent of riparian buffer width. There was a significant difference in macroinvertebrate composition among riparian buffer widths. The macroinvertebrate composition and FFG differed among substrates, independent of riparian buffer width. This study showed that riparian buffer widths <15m altered the macroinvertebrate community. A width greater than 15m is necessary to maintain the composition and trophic conditions of macroinvertebrate families similar to those found in reference states of conservation.