In conclusion, according to bioinformatics and network pharmacology studies, the main targets of gastrodin for ADHD treatment might be DRD2, DRD4, CHRNA3, CYP1A1, TNF, IL6, and KCNJ3, which were preliminarily verified by molecular docking. This evidence concerns the gene DRD2 and attention deficit-hyperactivity disorder.