Our sun is a chaotic place, simmering with magnetic energy and constantly spewing out particles. Sometimes the sun releases solar flares and coronal mass ejections--huge eruptions of charged particles--which contribute to space weather and can interfere with satellites and telecommunications on Earth. While it has long been hard to predict such events, new research has uncovered a mechanism that may help forecasting these explosions.