To develop a solid phase extraction-high performance liquid chromatography method for determination of dehydroacetic acid,benzoic acid,sorbic acid in cake and pastry.The experimental conditions were on Linear relationships in the range from 0.02 to 0.15mg·mL of either of the 3 compounds were obtained with correlation coefficients(r)larger than 0.997.and average RSD of 1.0%~2.5%,The average recovery ratio of 96.2%~102.1 %.This method is simple,rapid,accurate,and is suitable for the quality contro1.