With global increases in human impacts, invasive species have become a major threat to ecosystems worldwide. While they have been traditionally viewed as harmful, invasive species may facilitate the restoration of degraded ecosystems outside their native ranges. In New England (USA) overfishing has depleted salt marsh predators, allowing the herbivorous crab Sesarma reticulatum to denude hundreds of hectares of low marsh. Here, using multiple site surveys and field caging experiments, we show that the subsequent invasion of green crabs, Carcinus maenas, into heavily burrowed marshes partially reverses decades of cordgrass die-off. By consuming Sesarma, eliciting a nonlethal escape response, and evicting Sesarma from burrows, Carcinus reduces Sesarma herbivory and promotes cordgrass recovery. These results suggest that invasive species can contribute to restoring degraded ecosystems and underscores the potential for invasive species to return ecological functions lost to human impacts.