Shifting brain glucose levels act as a metabolic switch that directs OPC proliferation and myelin formation, revealing a mechanism with developmental and clinical implications.