Here, we show that spermidine inhibits memory loss in AD worms and improves behavioral performance, e.g., locomotor capacity, in a PD worm model, both via the PINK1-PDR1-dependent mitophagy pathway. Here, PINK1 is linked to Parkinson disease.