Four sampling techniques, solid-phase microextraction (SPME), supercritical fluid extraction (SFE), steam distillation (SD), and solvent extraction (SE), were compared for the analysis of volatile constituents from a traditional Chinese medicine (TCM) of the dried ripe fruit of Fructus Amomi (Sha Ren). A total of 38 compounds were identified by gas chromatography/mass spectrometry. Different SFE and SPME parameters (modifier content, extraction pressure, and temperature for SFE and fibers, extraction temperature, and time for SPME) were studied. The results by SFE and SPME were compared with those obtained by conventional SD and SE methods. The results showed that SFE and SPME are better sample preparation techniques than SD and SE. Due to SFE's requirement for expensive specialized instrumentation, the simplicity, low cost, and speed of SPME make it a more appropriate technique for extraction of volatile constituents in TCMs.