The analysis of multiple SIV vaccine regimens in macaques leads to the identification of a key two-amino-acid signature that confers resistance to neutralizing antibodies; a similar mechanism of immune escape is shown to operate in HIV and may explain the limited efficacy seen in HIV vaccine trials.