Endosomes are central stations for converging proteins from biosynthetic pathways and endocytic routes. Many endosomal proteins are sorted to the plasma membrane or the Golgi despite the lysosome being the primary endosomal fate. SNX5 and SNX6 are now revealed to decode a conserved bipartite signal to mediate protein sorting to the Golgi or the plasma membrane.