Ruderman-Kittel-Kasuya-Yosida interaction [1][2][3] is an indirect magnetic coupling between localized spins in a non-magnetic host mediated by conduction electrons. In diluted systems it is often the dominating magnetic interaction and has played a key part in the development of giant magnetoresistance devices 4,5 , drives ferromagnetism in heavy rare-earth elements 6 as well as in diluted magnetic semiconductors 7 and gives rise to complex magnetic phases such as spin glasses 8 . For bulk systems, an isotropic and continuous model of Ruderman-Kittel-KasuyaYosida interaction is often sufficient. However, it can be misleading in magnetic nanostructures consisting of separate magnetic atoms adsorbed on the surface of a non-magnetic material. Here, an atomically precise map of the magnetic coupling between individual adatoms in pairs is measured and directly compared with first-principles calculations, proving that Ruderman-Kittel-Kasuya-Yosida interaction is strongly directional. By investigating adatom triplets of different shapes we demonstrate that the map can serve to tailor the magnetism of larger nanostructures.Ruderman-Kittel-Kasuya-Yosida (RKKY) interaction is ubiquitous in solid-state systems containing diluted magnetic moments in a conducting non-magnetic host. It becomes dominant whenever there is a sufficiently strong exchange coupling between the localized moments and the conduction electrons. Then, the spins of the conduction electrons, which are on average unpolarized, are forced into a preferred direction in the vicinity of each moment. This preferential direction oscillates with increasing distance from the moment. A second localized moment will interact with this spin-density oscillation and perceive either a ferromagnetic or an antiferromagnetic coupling to the first, depending on their distance. Therefore, RKKY interaction is also called indirect magnetic exchange. The first indications of indirect magnetic exchange through conduction electrons came with the research on diluted bulk alloys, where a dependence of the interaction strength on the distance between the moments with an oscillation period of half the Fermi wavelength was proposed in an isotropic and continuous model [1][2][3] . Direct experimental evidence for RKKY-like coupling of magnetic layers through transition-metal layers was obtained by spatial-averaging techniques [9][10][11][12] . There have been theoretical [13][14][15] and experimental 16 hints that accurate RKKY models have to take into account the topology of the Fermi surface and the discrete distribution of magnetic moments on the atomic lattice, but a direct experimental proof was hampered by the spatial averaging, which provides only fragmentary information on the distribution. However, as magnetic devices are becoming smaller and approaching the limit of nanostructures built by separate atoms, knowledge of the RKKY interaction on the atomic scale is essential.By using scanning tunnelling spectroscopy, it became possible to investigate magnetic interactions in atom ...