Drug repositioning is gaining attention as a method for developing new drugs due to its low cost, short cycle time, and high success rate. One important approach is to explore new uses for already marketed drugs. In this study, we utilized the strategy of drug repositioning, focusing on the Dan-Lou tablet. We predicted the efficacy of Dan-Lou tablet against non-small cell lung cancer based on gene expression similarity and verified it by in vitro experiments. Next, we performed further analysis and validation using network pharmacology, molecular docking and molecular dynamics. Based on the results, it was concluded that Dan-Lou tablet mainly acted through nine compounds, Quercetin, Luteolin, Scoparone, Isorhamnetin, Eugenol, Genistein, Coumestrol, Hederagenin, Succinic Acid, and mainly targeted CCL2, FEN1, TPI1, RMI2 by six pathways. This discovery not only provides a new idea for the development of Dan-Lou tablet but also provides useful predictive information for clinical treatment. The method we adopted has great development prospects as a way to predict the efficacy of new drugs and their main mechanisms of action, and it has a positive impact on the research and development of new drugs using drug repositioning and the modernization of traditional Chinese medicine.