Based on the PPI network, MCODE and KEGG results, nine insomnia-related targets were selected: ADORA1, AKT1, BCL2, FOS, HSP90AA1, JUN, MAPK3, TNF, TP53, and molecular docking was performed with five compounds: 5-HTP, vitamin B6, l-theanine, GABA, and melatonin. The gene discussed is MAPK3; the disease is insomnia.