The active ingredients of the JPXK recipe were quercetin, isorhamnetin, luteolin, berberine, kaempferol, etc. Potential hub targets were ESR1, JUN, SRC, PIK3R1, FOS, MAPK1, AKT1, RELA, and MAPK3. The main pathways of the JPXK recipe in treating T2DM included the MAPK signaling pathway, cAMP signaling pathway, tumor necrosis factor signaling pathway, Toll‐like receptor signaling pathway, etc. Molecular docking results showed that quercetin and luteolin combined best with the hub gene. The gene discussed is AKT1; the disease is type 2 diabetes mellitus.