What regulates the fasting-refeeding switch? Unexpectedly, we found a linker histone regulated by nutrients and mTOR signaling, that promotes resilience during fasting and restoration upon refeeding. Its regulation is evolutionarily conserved, including in fasted human patients.