Here, we use the rodent malaria parasite Plasmodium berghei to conduct a series of experiments to investigate how RNS and TNF-α influence mating success and ookinete production and develop theoretical models that predict the evolution of sex allocation strategies, given the effects observed in our experiments. The gene discussed is TNF; the disease is malaria.