Objective: take ginger as raw material,extract flavonoid and determine its content by means of Soxhlet extraction.Methods: through the testing of Soxhlet extraction time,ethanol concentration,solid-liquid ratio,extraction temperature to determine the best single factor level and response surface optimization experiment and determine the optimum conditions for ethanol as extracting solvent to extract flavonoid compounds in ginger.Then take the ultraviolet spectrophotometric method to determine the flavonoid content.Results: the best extraction technology: Soxhlet extraction time of 4.02 h,ethanol concentration of 66.4%,extraction temperature of 96.65 ℃,solid-liquid ratio of 1∶39.9.In the best extraction conditions,take the ultraviolet spectrophotometer,the recovery rate is 98.98%,the precision is 3.3%,flavonoid content in ginger is 1.611 mg/g.Conclusion: the response surface optimization processing method is of strong reliability,UV spectrophotometric method for the determination of flavonoid content in ginger is more accurate and feasible.