An analysis of rare genetic variants identifies three genes—MAP1A, ANO8 and ANK2—that have a role in attention deficit hyperactivity disorder (ADHD) and investigates the potential underlying biological mechanisms. Here, ANK2 is linked to attention deficit-hyperactivity disorder.