In silico studies demonstrated that protopine, rutin, eschscholtzidine, boldine, and (S)‐scoulerine exhibited notable inhibitory effects on insomnia‐related DRD5, DRD4, and SERT proteins. Here, SLC6A4 is linked to insomnia.