[Objective] This study aimed to compare the contents of total alkaloids in different solvent extracts from climbing groundsel herb produced in Guizhou Province and their antibacterial activity. [Method] The content of total alkaloids was measured by UV spectrophotometry, and Oxford cups were used to investigate the antibacterial activity of each solvent extract. [Result] There was a good linear correlation between the absorbance measured by the UV spectrophotometer and the content of total al- kaloids within the concentration of 0.011 0-0.054 8 mg/ml at 207 nm, and the re- gression equation was Y=23.654X+0.021, R=0. 999 7 and the average recovery rate was 99.2%. The contents of total alkaloids in 60% ethanol extract, 95% ethanol and water ethanol were 38.71, 52.25 and 60.50 mg/g, respectively. The 60% ethanol ex- tract had strong antibacterial activity against Streptococcus pneumoniae, Staphylo- coccus aureus and Escherichia coil; the water extractive had stronger antibacterial activity against Escherichia colr, 95% ethanol extract had weak antibacterial activity, with no inhibition of Pseudomonas aeruginosa. [Conclusion] This method is accurate, simple, with good repeatability, which can be used for the determination of alkaloids content of the climbing groundsel herb; there is no positive correlation between the content of total alkaloids in different solvent extracts of climbing groundsel herb and their antibacterial activity.