OBJECTIVE: To optimize the extraction technology of garlic oil. METHODS: Using extraction rate of garlic oil as index, based on single factor test, Box-Behnken response surface method was used to optimize conditions of steam distillation method for the extraction of garlic as fermentation time, solid to liquid ratio, fermentation temperature and the verification test were made for the optimized technology. RESULTS: The optimal extraction technology was as follows as fermentation time of 4.5 h, solid to liquid ratio of 1 ∶ 7, fermentation temperature of 55 ℃. The average extraction rate of garlic oil in verification test was 0.32% (RSD=1.43%,n=3); the relative error between the measured value and predicted value was 0.06%. CONCLUSIONS: Box-Behnken response surface method is simple, reasonable and feasible to optimize the extraction technology of garlic oil, which can provide a scientific basis for industrial production.