Planets are thought to form in the disks of dust and gas found around young stars. But astronomers have struggled to assemble a complete theory of their origin that explains how the initial dust develops into planetary systems. A French-UK-Australian team now think they have the answer, with their simulations showing the formation of ‘dust traps’ where pebble-sized fragments collect and stick together, to grow into the building blocks of planets. They publish their results in Monthly Notices of the Royal Astronomical Society.