This document describes a method for sampling and analysis of volatile organic compounds (VOCs), including siloxanes, terpenes, organic sulfur compounds, in natural gas and biomethane matrices, using thermal desorption gas chromatography with flame ionization and/or mass spectrometry detectors (TD-GC-FID/MS).