These findings provide a novel therapeutic strategy for cocaine addiction through targeting ER stress and ATF4‒SPTLC1 axis. This evidence concerns the gene ATF4 and cocaine dependence.