The formation of the endosomal lumen begins with the invagination of the plasma membrane to form a vesicle. This vesicle then fuses with early endosomes. The luminal environment is maintained by various proteins and enzymes that are involved in vesicle budding, fusion, and acidification. The proton pumps in the endosomal membrane play a critical role in maintaining the acidic pH of the lumen.