A method of headspace solid-phase microextraction (HS-SPME) coupled to gas chromatography/mass spectrometry (GC/MS) for detection volatile and semi-volatile constituents in landfill leachate was developed. Results was obtained under the conditions of mixing (1 200 r/min) at room temperature for 5 minutes, headspace extraction 60 minutes with two fibers of 100 μm and 7 μm non-bonding polydimethylsiloxane (PDMS). 8 kinds of volatile components are detected, mainly ketones, phenols and alcohols.