A technique involving the use of light pulses to prevent seizure-like activity in neurons could one day become a new, non-invasive treatment for epilepsy.