Previous research indicates elevated levels of clinically significant traits and symptoms of autism spectrum disorder and attention-deficit hyperactivity disorder (ADHD) in children with chronic pain, but associations with functioning and depression are yet unclear. The current study examined the relationships of autistic traits and ADHD symptoms with pain interference, depression, and health-related quality of life, as well as the mediating roles of insomnia and psychological inflexibility, in…