Objective:To analyze the volatile constituents in Cardamine urbaniana. Method: The volatile oil from C. urbaniana was extracted by steam distillation (SD) and solid phase micro extraction (SPME). The constituents were separated and analyzed by gas chromatography-mass spectrometry with the area normalization method to determine the relative percentage content of each component. Result: Sixty-seven compounds were isolated and 34 compounds were identified by SD that composed about 94.34% of the total volatile oil; and 62 compounds were isolated and 48 compounds were identified by SPME that composed about 98.29% of the volatile oil. Five kinds of the volatile components are identified by the two methods together and the content of 4-isothiocyanato-1-butene is highest. Conclusion: SPME and SD were applied to the extraction of different types of volatile components, combined with the two methods together to analyze the volatile components in C. urbaniana can get more comprehensive information.