Transmembrane domains (TMDs) are known as structural elements required for the insertion into the membrane of integral membrane proteins. We have provided here an example showing that the presence of the TMD is compulsory for the productive folding pathway of a membrane-anchored glycoprotein. Tyrosinase, a type I transmembrane protein whose insertion into the melanosomal membrane initiates melanin synthesis, is misfolded and degraded when expressed as a truncated polypeptide. We used constructs of tyrosinase ectodomain fused with chimeric TMDs or glycosylphosphatidylinositol anchor to gain insights into how the TMD enables the productive folding pathway of the ectodomain. We found that in contrast to the soluble constructs, the membrane-anchored chimeras fold into the native conformation, which allows their endoplasmic reticulum exit. They recruit calnexin to monitor their productive folding pathway characterized by the posttranslational formation of buried disulfides. Lacking calnexin assistance, the truncated mutant is arrested in an unstable conformation bearing exposed disulfides. We showed that the transmembrane anchor of a protein may crucially, albeit indirectly, control the folding pathway of the ectodomain.