The function of M6PR begins in the Golgi apparatus, where it identifies enzymes tagged with M6P. The receptor-enzyme complex is then transported to endosomes, where a low pH environment facilitates the release of the enzyme. The receptor is recycled back to the Golgi or sent to the plasma membrane to capture more enzymes.