A study simulating the final stages of terrestrial planet formation shows that ‘hit-and-run’ encounters play a significant role in the acquisition of water by large protoplanets, like those that grew into Mars and Earth. The results will be presented by Christoph Burger at the European Planetary Science Congress (EPSC) 2018 in Berlin.