A classic example of a mutualism is the one between fig plants (Ficus) and their specialized and obligate pollinating wasps. The wasps deposit eggs in fig ovules, which the larvae then consume. Because the wasps derive their fitness only from consumed seeds, this mutualism can persist only if the wasps are prevented from laying eggs in all ovules. The search for mechanisms that can limit oviposition and stabilize the wasp–seed conflict has spanned more than three decades. We use a simple foraging model, parameterized with data from two Ficus species, to show how fig morphology reduces oviposition rates and helps to resolve the wasp–seed conflict. We also propose additional mechanisms, based on known aspects of fig biology, which can prevent even large numbers of wasps from ovipositing in all ovules. It has been suggested that in mutualistic symbioses, the partner that controls the physical resources, in this case Ficus, ultimately controls the rate at which hosts are converted to visitors, regardless of relative evolutionary rates. Our approach provides a mechanistic implementation of this idea, with potential applications to other mutualisms and to theories of virulence.