A global study shows a strong positive impact of agroforestry on biodiversity—but restoration measures are not a substitute for forest conservation.