The therapeutic efficacy and molecular mechanisms of traditional Chinese medicines (TCMs), such as Liuwei Dihuang pills (LWDH pills), in treating osteoporosis (OP) remain an area of active research and interest in modern medicine. This study investigated the mechanistic underpinnings of LWDH pills in the treatment of OP based on network pharmacology, bioinformatics, and in vitro experiments. The active ingredients and targets of LWDH pills were retrieved through the TCMSP database. OP-related targets were identified using the CTD, GeneCards, and DisGeNET databases. The STRING platform was employed to construct a protein-protein interaction (PPI) network, and core targets for LWDH pills in treating OP were identified. The GO functional and KEGG pathway enrichment analyses for potential targets were performed using the R package "clusterProfiler". A "drug-target" network diagram was created using Cytoscape 3.7.1 software. The viability of MC3T3-E1 cells was evaluated using the CCK-8 method after treatment with various concentrations (1.25%, 2.5%, 5%, and 10%) of LWDH pill-medicated serum for 24, 48, and 72 h. Following a 48 h treatment of MC3T3-E1 cells with LWDH pill-medicated serum, the protein levels of collagen Ⅰ, RUNX2, Wnt3, and β-catenin were quantified using the Western blot analysis, and the activity of alkaline phosphatase (ALP) was measured. A total of 197 putative targets for LWDH pills for OP treatment were pinpointed, from which 20 core targets were singled out, including TP53, JUN, TNF, CTNNB1 (β-catenin), and GSK3B. The putative targets were predominantly involved in signaling pathways such as the Wnt signaling pathway, the MAPK signaling pathway, and the PI3K-Akt signaling pathway. The intervention with LWDH pill-medicated serum for 24, 48, and 72 h did not result in any notable alterations in the cell viability of MC3T3-E1 cells relative to the control group (all p > 0.05). Significant upregulation in protein levels of collagen Ⅰ, RUNX2, Wnt3, and β-catenin in MC3T3-E1 cells was observed in response to the treatment with 2.5%, 5%, and 10% of LWDH pill-medicated serum in comparison to that with the 10% rabbit serum group (all p < 0.05). Furthermore, the intervention with LWDH pill-medicated serum resulted in the formation of red calcified nodules in MC3T3-E1 cells, as indicated by ARS staining. LWDH pills may upregulate the Wnt/β-catenin signaling pathway to elevate the expression of osteogenic differentiation proteins, including collagen Ⅰ and RUNX2, and to increase the ALP activity in MC3T3-E1 cells for the treatment of OP.