The transmission of many parasitic worms involves aggregated movement between hosts of "packets" of infectious larvae. We use a generic metapopulation model to show that this aggregation naturally promotes the preferential spread of rare recessive genes, compared with the expectations of traditional nonspatial models. A more biologically realistic model also demonstrates that this effect could explain the rapid observed spread of recessive or weakly dominant drug-resistant genotypes in nematode parasites of sheep. This promotion of a recessive trait arises from a novel mechanism of inbreeding arising from the metapopulation dynamics of transmission.