The mechanocatalytic formation of carbonaceous films at the interface between sliding metallic contacts is simultaneously advantageous for reducing friction and adhesion in several tribological applications and detrimental for electrical contacts as they can induce device failure by increasing the contact resistance. Yet, remarkably little is still known about the chemistry, structural and mechanical properties, and tunability of these interfacial layers. In this study, we performed contact pressure-dependent tribological experiments in dry nitrogen containing trace organics on four, nanocrystalline Pt–Au alloys ([Au] from 0 at.% to 10 at.%) – a promising class of alloys for ultralow wear and electrical contact applications. The ex-situ, multi-technique characterization results did not only provide insights into the chemical nature and mechanical behavior of the mechanocatalytic, carbon-rich films formed on Pt–Au surfaces, but also revealed the interplay between catalytic and mechanochemical tribofilm formation controlled by the composition-dependent electronic structure of the Pt–Au substrate and the applied contact pressure. The results of this work provide guidelines for tailoring nanocrystalline alloys to control their mechanocatalytic activity on the basis of variations of the alloy mechanical properties and element's electronic structure with the alloy stoichiometry.