An improved solid phase extraction (SPE)-high performance liquid chromatography method was established to determine 15 carbonyl compounds, namely, formaldehyde (FOR), acetaldehyde (ACETA), acrolein (ACR), acetone (ACETO), propionaldehyde (PRO), crotonaldehyde (CRO), butyraldehyde (BUT), benzaldehyde (BEN), isovaleraldehyde (ISO), n-valeraldehyde (VAL), o-methylbenzaldehyde (o-TOL), m-methylbenzaldehyde (m-TOL), p-methylbenzaldehyde (p-TOL), n-hexanal (HEX), and 2,5-dimethylbenzaldehyde (DIM), in soil. The soil was ultrasonically extracted with acetonitrile, and the extracted samples were derivatized with 2,4-dinitrophenylhydrazine (2,4-DNPH) to generate stable hydrazone compounds. The derivatized solutions were cleaned using an SPE cartridge (Welchrom® BRP) packed with N-vinylpyrrolidone/divinylbenzene copolymer. Separation was performed on an Ultimate® XB-C18 column (250 mm×4.6 mm, 5 μm), isocratic elution was performed with acetonitrile-water (65∶35, v/v) as the mobile phase, and detection was performed at a wavelength of 360 nm. The 15 carbonyl compounds in the soil were then quantified using an external standard method. The proposed method improves the sample processing method described in the environmental standard HJ 997-2018: Soil and sediment-Determination of carbonyl compounds-High performance liquid chromatography. A series of experiments revealed the following optimal conditions for soil extraction: acetonitrile as the extraction solvent, extraction temperature of 30 ℃, and extraction time of 10 min. The results showed that the purification effect of the BRP cartridge was significantly better than that of the conventional silica-based C18 cartridge. The 15 carbonyl compounds showed good linearities, and all correlation coefficients were above 0.996. The recoveries ranged from 84.6% to 115.9%, the relative standard deviations (RSDs) ranged from 0.2% to 5.1%, and the detection limits were 0.02-0.06 mg/L. The method is simple, sensitive, and suitable for the accurate quantitative analysis of the 15 carbonyl compounds in soil specified in HJ 997-2018. Thus, the improved method provides reliable technical support for studying the residual status and environmental behavior of carbonyl compounds in soil.