The MHC class II antigen processing pathway provides a mechanism to selectively present peptides generated in the endosomal compartments of antigen presenting cells to CD4+ T cells. Transport of newly synthesized class II molecules to the endosomal pathway requires the function of an accessory protein, invariant chain, which contains a region that interacts directly with the class II peptide binding site. Release of invariant chain and peptide loading by class II molecules are facilitated by a second accessory protein, HLA-DM. This MHC-encoded membrane protein catalyzes peptide exchange reactions, influencing the repertoire of peptides that are available for recognition by T cells.