A new model from researchers at the Complexity Science Hub and Santa Fe Institute outlines how organisms should optimally learn in response to environmental changes. It predicts that learning rates should scale with the square root of environmental change rates, balancing the need for adaptation with energy costs. This framework enhances our understanding of how life forms—from bacteria to mammals—navigate the challenges of constantly evolving ecosystems.