Antigenic variation is an immune evasion strategy that has evolved in viral, bacterial and protistan pathogens. In the African trypanosome this involves stochastic switches in the composition of a variant surface glycoprotein (VSG) coat, using a massive archive of silent VSG genes to change the identity of the single VSG expressed at a time. VSG switching is driven primarily by recombination reactions that move silent VSGs into specialized expression sites, though transcription‐based switching can also occur. Here we discuss what is being revealed about the machinery that underlies these switching mechanisms, including what parallels can be drawn with other pathogens. In addition, we discuss how such switching reactions act in a hierarchy and contribute to pathogen survival in the face of immune attack, including the establishment and maintenance of chronic infections, leading to host–host transmission.