HLA-DQA1*0102-DQB1*0602 is associated with protection against type 1 diabetes (T1D). A similar allele, HLA-DQA1*0102-DQB1*0604, contributes to T1D susceptibility in certain populations but differs only at seven amino acids from HLA-DQA1*0102-DQB1*0602. Five of these polymorphisms are found within the peptide-binding groove, suggesting that differences in peptide binding contribute to the mechanism of their association with T1D. In this study, we determine the peptide-binding motif for HLA-DQA1*0102-DQB1*0604 allelic protein (DQ0604) in comparison to the established HLA-DQA1*0102-DQB1*0602 (DQ0602) motif using binding assays with model peptides from T1D autoantigens and homology modeling using the coordinates of the DQ0602-hypocretin 1–13 crystal structure. The peptide binding preferences were deduced with a peptide from insulin that bound both with a 2- to 3-fold difference in avidity using the same amino acids in the peptide as anchors. Peptide binding differences directly influenced by the polymorphisms in or nearby pockets 1, 6, and 9 were observed. In pocket 1, DQ0604 was better able to accommodate aromatic residues due to the β86 and β87 polymorphisms. A negatively charged amino acid was preferred by DQ0604 in pocket 6 due to the positively charged β30His. In pocket 9, DQ0604 preferred aromatic amino acids due to the β9 and β30 polymorphisms and had low tolerance of acidic residues. β57Val in DQ0604 functions differently than β57Ala, in that it pushes α76Arg outside of the pocket, preventing the formation of a salt bridge with an acidic amino acid in the peptide. This study furthers our understanding of the structure-function relationships of MHC class II polymorphisms.