Interleukin-4 (IL4) is a pleiotropic cytokine involved in host protection from gastrointestinal nematodes. Here, we review the structure, function, and evolutionary history of IL4. Cumulative evidence indicates that over 100 million years of eutherian mammalian evolution, IL4 has experienced multiple episodes of positive selection. We argue that IL4 may have evolved in conflict with pathogen-derived antagonists, and therefore diversified to escape antagonism while being constrained to maintain binding to its cellular receptors. Selective pressure driving IL4 diversification may have arisen from ancient episodes of conflict with parasitic worm-derived IL4 antagonists. Descendants of such antagonists may still equip the armamentarium of contemporary gastrointestinal nematodes.