CD40 and attention deficit-hyperactivity disorder: This study provides genetic evidence supporting a protective role of CD40 in ADHD and highlights a putative immunometabolic pathway linking CD40 to neurodevelopmental outcomes.