The emergence and spread of anthelmintic resistance represent a major challenge for treating parasitic nematodes, threatening mass-drug control programs in humans and zoonotic species. Currently, experimental evidence to understand the influence of management (e.g., treatment intensity and frequency) and parasite-associated factors (e.g., genetic variation, population size and mutation rates) is lacking. To rectify this knowledge gap, we performed controlled evolution experiments with the model nematode Caenorhabditis elegans and further evaluated the evolution dynamics with a computational model. Large population size was critical for rapid ivermectin resistance evolution in vitro and in silico. Male nematodes were favored during resistance evolution, indicating a selective advantage of sexual recombination under drug pressure in vitro. Ivermectin resistance evolution led to the expected emergence of cross-resistance to the structurally related anthelmintic moxidectin but unexpectedly also to the structurally unrelated anthelmintic emodepside that has an entirely different mode of action. In contrast, albendazole, levamisole, and monepantel efficacy were not influenced by the evolution of Ivermectin resistance. We conclude that combining computational modeling with in vitro evolution experiments to test specific aspects of evolution directly represents a promising approach to guide the development of novel treatment strategies to anticipate and mitigate resistance evolution in parasitic nematodes.