The peptide-loading complex (PLC) is a transient, multisubunit membrane complex in the endoplasmic reticulum that is essential for establishing a hierarchical immune response. The PLC coordinates peptide translocation into the endoplasmic reticulum with loading and editing of major histocompatibility complex class I (MHC-I) molecules. After final proofreading in the PLC, stable peptide-MHC-I complexes are released to the cell surface to evoke a T-cell response against infected or malignant cells. Sampling of different MHC-I allomorphs requires the precise coordination of seven different subunits in a single macromolecular assembly, including the transporter associated with antigen processing (TAP1 and TAP2, jointly referred to as TAP), the oxidoreductase ERp57, the MHC-I heterodimer, and the chaperones tapasin and calreticulin. The molecular organization of and mechanistic events that take place in the PLC are unknown owing to the heterogeneous composition and intrinsically dynamic nature of the complex. Here, we isolate human PLC from Burkitt's lymphoma cells using an engineered viral inhibitor as bait and determine the structure of native PLC by electron cryo-microscopy. Two endoplasmic reticulum-resident editing modules composed of tapasin, calreticulin, ERp57, and MHC-I are centred around TAP in a pseudo-symmetric orientation. A multivalent chaperone network within and across the editing modules establishes the proofreading function at two lateral binding platforms for MHC-I molecules. The lectin-like domain of calreticulin senses the MHC-I glycan, whereas the P domain reaches over the MHC-I peptide-binding pocket towards ERp57. This arrangement allows tapasin to facilitate peptide editing by clamping MHC-I. The translocation pathway of TAP opens out into a large endoplasmic reticulum lumenal cavity, confined by the membrane entry points of tapasin and MHC-I. Two lateral windows channel the antigenic peptides to MHC-I. Structures of PLC captured at distinct assembly states provide mechanistic insight into the recruitment and release of MHC-I. Our work defines the molecular symbiosis of an ABC transporter and an endoplasmic reticulum chaperone network in MHC-I assembly and provides insight into the onset of the adaptive immune response.