Efficient egress of major histocompatibility complex (MHC) class I molecules from the endoplasmic reticulum (ER) depends on peptide binding. For MHC class II molecules, invariant chain (Ii) promotes ER exit of newly assembled, peptide-free dimers. This raises the question of whether a mechanism exists elsewhere in the cell that dictates selective expression of peptide-associated class II molecules. We report here that dissociation of MHC class II-Ii complexes at low pH and physiological temperature leads to inclusion of empty class II in protein aggregates, and that this aggregation is specifically prevented by peptide binding. Combined with data showing that antigen exposure increases cell surface class II expression on living cells by a post-translational mechanism, these results provide evidence for peptide-dependent intracellular editing of class II dimers, which limits surface expression of empty molecules unsuitable for antigen-specific T-cell activation.