A clinical trial inspired and guided by optogenetics experiments in rodents reports the outcome of targeted transcranial magnetic stimulation in patients suffering from cocaine addiction.