Pollinators are currently facing dramatic declines in abundance and richness across the globe. This can have profound impacts on agriculture, as 75% of globally common food crops benefit from pollination services. As many native bee species require natural areas for nesting, restoration efforts within croplands may be beneficial to support pollinators and enhance agricultural yields. Yet, restoration can be challenging to implement due to large upfront costs and the removal of land from production. Designing sustainable landscapes will require planning approaches that include the complex spatiotemporal dynamics of pollination services flowing from (restored) vegetation into crops. We present a novel planning framework to determine the best spatial arrangement for restoration in agricultural landscapes while accounting for yield improvements over 40 years following restoration. We explored a range of production and conservation goals using a coffee production landscape in Costa Rica as a case study. Our results show that strategic restoration can increase forest cover by approximately 20% while doubling collective landholder profits over 40 years, even when accounting for land taken out of production. We show that restoration can provide immense economic benefits in the long run, which may be pivotal to motivating local landholders to undertake conservation endeavours in pollinator-dependent croplands.