The chromatographic conditions were optimized using headspace gas chromatography, and a simple and rapid method was established for the simultaneous determination of five residual solvents in ursodeoxycholic acid raw materials. The corresponding quality standards were revised. The results showed that the concentration of methanol ranged from 0.06mg/ml to 0.3mg/ml, and the concentrations of acetone, tert butanol, ethyl acetate, and triethylamine showed a good linear relationship with the peak area within the range of 0.1mg/ml to 0.5mg/ml (r=0.999); The quantitation limits for methanol, acetone, tert-butanol, ethyl acetate, and triethylamine were 4.2, 0.9, 1.5, 1, and 0.1 μg/ml, respectively, with detection limits of 1.2, 0.25, 0.025, 0.3, and 0.025 μg/ml, respectively. The recovery rates of each solvent ranged from 92.9% to 106.0%, with RSD% (n=9) less than 3.8%; The method exhibited good repeatability, with RSD% (n=6) less than 2.5%. Furthermore, the durability is good. The established method is simple, accurate, specific, and highly sensitive, and can be used for the simultaneous and rapid determination of five residual solvents in ursodeoxycholic acid raw materials.