Physicists have simulated the spontaneous transition of turbulence at the edge of a fusion plasma to the high-confinement mode that sustains fusion reactions. The research was achieved with the extreme-scale plasma turbulence code XGC.