In contrast to textbook ideas of pure cultures and defined strains, genetic variation is a fact of life in the microbial world. It not only allows pathogens to establish themselves in their chosen host, but also allows them to resist that host's subsequent attempts to evict them. Here we review some of the mechanisms that bring about this variation, and some of the functional consequences that result from it.