Comorbidity studies show that children with ADHD have a higher risk of being overweight and obese than healthy children. This study aimed to assess the genetic alternations that differ between and are shared by ADHD and excessive body weight (EBW). The sample consisted of 743 Polish children aged between 6 and 17 years. We analyzed a unique set of genes and polymorphisms selected for ADHD and/or obesity based on gene prioritization tools. Polymorphisms in the KCNIP1, SLC1A3, MTHFR, ADRA2A, and SLC6A2 genes proved to be associated with the risk of ADHD in the studied population. The COMT gene polymorphism was one that specifically increased the risk of EBW in the ADHD group. Using the whole-exome sequencing technique, we have shown that the ADHD group contains rare and protein-truncating variants in the FBXL17, DBH, MTHFR, PCDH7, RSPH3, SPTBN1, and TNRC6C genes. In turn, variants in the ADRA2A, DYNC1H1, MAP1A, SEMA6D, and ZNF536 genes were specific for ADHD with EBW. In this way, we confirmed, at the molecular level, the existence of genes specifically predisposing to EBW in ADHD patients, which are associated with the biological pathways involved in the regulation of the reward system, intestinal microbiome, and muscle metabolism.