Objective To investigate the key active components of Epimedium for the treatment of bladder cancer and its mechanism of action.Methods Employing the pharmacology database and analytical platform of the traditional Chinese medicine system to examine the active components and targets of herba epimedium,,and then utilized R to identify the GSE13507 and GSE37815 differential genes.Subsequently,we examined the correlation between the drugs and the prognosis of bladder cancer by consulting the clinical data in the TCGA and GEO databases.The UALCAN database was employed to examine the relationship between CCNB1 expression and the clinical and pathological data of bladder cancer.Ultimately,TIMER was employed to examine the correlation between CCNB1 expression,immune cell infiltration,and patient prognosis in bladder cancer.Results A total of 17 active ingredients and 11 drug disease targets were screened.The active ingredients with the most targets were quercetin,lignans and kaempferol,and the targets with the most active ingredients were GSK3B and CCNB1.The presence of GSK3B did not correlate with the overall survival of bladder cancer patients,while CCNB1 exhibited a high expression in bladder cancer tissues and a negative correlation with the prognosis of bladder cancer patients.The prognosis of patients deteriorates as the level of CD8+T cell infiltration increases.Conclusion CCNB1 is the main target of Epimedium.Epimedium has the ability to control the infiltration of CD8+T-cells by focusing on CCNB1,thereby influencing the outlook of individuals with bladder cancer.