Lung cancer (LC) remains the leading cause of cancer-related death. We identified potential therapeutic targets and traditional Chinese medicine (TCM) compounds for LC treatment. GSE43346 and GSE18842 were derived from the Gene Expression Omnibus (GEO) database and used to identify differentially expressed genes (DEGs). Gene Ontology and Kyoto Encyclopedia of Genes and Genomes pathway enrichment analyses were performed using The Database for Annotation, Visualization and Integrated Discovery (DAVID). Protein–protein interactions were analyzed using STRING and Cytoscape software. Hub gene expression was validated using Gene Expression Profiling Interactive Analysis and the Human Protein Atlas. Kaplan–Meier survival analysis was conducted to evaluate the prognostic value of hub genes in patients with LC. Therapeutic TCM compounds were screened using the Comparative Toxicogenomics Database, and DEGs were largely enriched in biological processes, including cell division and mitotic nuclear division, such as the cell cycle and p53 signaling pathways. Elevated expression of hub genes was observed in LC samples. Overexpression of CDC20, CCNB2, and TOP2A is an unfavorable prognostic factor for postprogressive survival in patients with LC. Paclitaxel, quercetin, and rotenone have been identified as active substances in TCM. CDC20, CCNB2, and TOP2A are novel hub genes associated with LC. Paclitaxel, quercetin, and rotenone can be used as therapeutic agents in TCM.