Inactivating mutations in ASMase cause Niemann–Pick disease, and its inhibition is also beneficial in models of depression and cancer. Here, SMPD1 is linked to major depressive disorder.