This experiment was a network pharmacology research based on the theoretical system of traditional Chinese medicine. TCMSP database, PubChem database, RCSB database and SwissTargetPrediction database were used to study the effective chemical constituents of Ligustri lucidi Fructus and Ecliptae Herba in Erzhiwan, a traditional prescription for nourishing liver and kidney. Then using Genecards database, OMIM database, OMIM Gene Map and Metascape database to study the therapeutic targets of Osteoporosis. At last, using Cytoscape 3.6.0 software, its built-in Bisogenet and CytoNCA, AutoDockTools-1.5.6 software, PYMOL-2.2.0 software and Gromacs software, by drawing the relationship diagram between chemical components and disease targets, PPI network of disease, semi-exible molecular docking technology, evaluation and analysis of enrichment pathway, molecular dynamics simulation, to study the therapeutic mechanism of Erzhiwan on osteoporosis. It is found that the intervention and regulation of Erzhiwan on osteoporosis were mainly realized through multiple targets of active ingredients and multiple pathways, which provided support for the continued development of Erzhiwan.