The accurate identification of HIV-specific T cell responses is important for determining the relationship between immune response, viral control, and disease progression. HIV-specific immune responses are usually measured using peptide sets based on consensus sequences, which frequently miss responses to regions where test set and infecting virus differ. In this study, we report the design of a peptide test set with significantly increased coverage of HIV sequence diversity by including alternative amino acids at variable positions during the peptide synthesis step. In an IFN-gamma ELISpot assay, these "toggled" peptides detected HIV-specific CD4(+) and CD8(+) T cell responses of significantly higher breadth and magnitude than matched consensus peptides. The observed increases were explained by a closer match of the toggled peptides to the autologous viral sequence. Toggled peptides therefore afford a cost-effective and significantly more complete view of the host immune response to HIV and are directly applicable to other variable pathogens.