A study reveals that our moments of mental wandering could prepare the brain to learn more effectively. Far from being wasted time, this passive exploration would build internal models of the world.