Conservation and restoration of riparian vegetation in agricultural landscapes has had mixed success at protecting in‐stream habitat, potentially due to the mismatch between watershed‐scale impacts and reach‐scale restoration. Prioritizing contiguous placement of small‐scale restoration interventions may effectively create larger‐scale restoration projects and improve ecological outcomes. We performed a multi‐site field study to evaluate whether greater linear length of narrow riparian tree corridors resulted in measurable benefits to in‐stream condition. We collected data at 41 sites with varying upstream tree cover nested within 13 groups in rangeland streams in coastal northern California, United States. We evaluated the effect of riparian tree corridor length on benthic macroinvertebrate communities, as well as food resources, water temperature, and substrate size. Sites with longer riparian corridors had higher percentages of invertebrates sensitive to disturbance (including clingers and EPT taxa) as well as lower water temperatures and less fine sediment, two of the most important aquatic stressors. Despite marked improvement, we found no evidence that macroinvertebrate communities fully recovered, suggesting that land use continued to constrain conditions. The restoration of long riparian corridors may be an economically viable and rapidly implementable technique to improve habitat, control sediment, and counter increasing water temperatures expected with climate change within the context of ongoing land use.