The catalytic chaperone tapasin assists peptide loading onto MHC-I molecules for antigen presentation and immune recognition. Here, the authors present crystal structures that provide insights into the molecular mechanism of tapasin-mediated peptide exchange.