Modelling suggests that the Solar System may have passed through a cold dense cloud 2–3 Myr ago, in agreement with geological evidence from 60Fe and 244Pu isotopes, putting Earth in direct contact with the dense interstellar medium with potentially substantial impacts on its climate.