INTRODUCTION: Insomnia is common in children and adolescents with autism spectrum disorder (ASD) and/or attention deficit and hyperactivity disorder (ADHD), with significant implications for quality of life and prognosis. Although non-pharmacological interventions represent the first-line approach, they are not always effective. Therefore, it is important to determine when a pharmacological treatment can be indicated and which compound to prefer based on evidence of efficacy and safety.