The application of an Au-Fe nanoalloy is determined by its internal phase structure. Our experimental and theoretical findings explain how the prevalence of either a core-shell or a disordered solid solution structure is ruled by the target composition and the particle diameter. Furthermore, we found metastable phases not predefined by the bulk phase diagram.