The top 10 key nodes in the PPI network suggested that the mechanism of the four Chinese medicinals in the treatment of insomnia is related to genes such as ESR1, AKT1, SRC, AR, MAPK1, TP53, NR3C1, CREBBP, and EP300. Here, TP53 is linked to insomnia measurement.