Drug inhibitor studies indicate here for the first time that protein palmitoylation plays an essential role in malaria parasite transmission, which we link by genetic studies to DHHC2; employing promoter swap methodology to modulate expression of DHHC2 during sexual development we demonstrate that DHHC2 is an essential factor for ookinete morphogenesis. This evidence concerns the gene ZDHHC2 and malaria.