Eight swainsonine (SW)-degrading bacteria were isolated from the soil where locoweed was buried for 6 months and one of the strains (YLZZ-2) was selected for further study. Based on morphology, physiologic tests, 16S rDNA sequence, and phylogenetic characteristics, the strain showed the greatest similarity to members of the order Stenotrophomonap and the closest to members of the Stenotrophomonas maltophilia group. The ability of the strain to degrade SW, as sole carbon source, was investigated under different culture conditions. The preferential temperature and initial pH value for the strain were 25～35 °C and 6.0～9.0, respectively. The optimal temperature for the strain was 30 °C and the optimal pH value was 7.0. There was positive correlation between degradation rate and inoculation amount. The growth of stain YLZZ-2 and degradation rate were fast, and YLZZ-2 could completely degradate 400 mg/L swainsoine within 24 h. There was a linear relationship between the growth of stain YLZZ-2 and degradation of swainsonine. These results highlight the potential of this bacterium to be used in detoxifying of SW in livestock consuming locoweed.