Background: The incidence of diabetes mellitus (DM) and depression is increasing year by year around the world, bringing a serious burden to patients and their families. As a well-known traditional Chinese medicine (TCM), Jiao-tai-wan (JTW) has obvious hypoglycemic and antidepressant effects, but its specific targets and mechanisms are still unclear.Methods: The active compounds and corresponding targets of JTW were screened by the Traditional Chinese Medicine Systems Pharmacology Database and Analysis Platform (TCMSP) and the Bioinformatics Analysis Tool for Molecular Mechanism of Traditional Chinese Medicine (BATMAN-TCM). The GeneCards, the Online Mendelian Inheritance in Man (OMIM), the DrugBank and the Therapeutic Target Database (TTD) were used to collect targets of DM and depression. After sorting out the intersection targets of drugs and diseases, the Cytoscape software was used to perform a "Drug-Compounds-Targets-Disease (D-C-T-D)" network to analyze the active compounds of JTW, and the protein-protein interaction (PPI) network was constructed by the STRING database to screen and analyze the key target proteins. Finally, the Gene Ontology (GO) and Kyoto Encyclopedia of Genes and Genomes (KEGG) enrichment analyses of the intersection targets were carried out by the database for annotation, visualization and integrated discovery (DAVID). Results: 28 active compounds and 484 corresponding targets of JTW, 1407 DM targets and 1842 depression targets were collected by screening the above databases, and a total of 117 targets were obtained after taking the intersection. JTW plays a role in reducing blood glucose level and antidepressant mainly through active compounds such as quercetin, styrene, cinnamic acid, ethyl cinnamate, (R)-Canadine, palmatine and berberine, etc., the key targets of its therapeutic effect include insulin (INS), protein kinase B1 (AKT1), interleukin-6 (IL-6), vascular endothelial growth factor A (VEGF-A), tumor necrosis factor (TNF) and so on, mainly involved in HIF-1 signal pathway, pathways in cancer, Hepatitis B, TNF signal pathway, PI3K-Akt signal pathway and MAPK signaling pathway, etc.Conclusion: In this paper, the possible mechanism of JTW on DM and depression was explored by network pharmacology, reflecting the characteristics of multi-component, multi-target and multi-pathway, which provides a theoretical basis for the experimental research and clinical application of JTW in the future.