In silico studies demonstrated that protopine, rutin, eschscholtzidine, boldine, and (S)‐scoulerine exhibited notable inhibitory effects on insomnia‐related DRD5, DRD4, and SERT proteins. This evidence concerns the gene DRD4 and insomnia.