Device for solid-phase microextraction and analysis of substances to be analyzed, in particular in a gas chromatograph, with at least one collector, which is made of sorbent and/or adsorbent material and is placed on a rod-like support, and with at least one sample container, which is sealed with a pierceable partition wall and into which the collector is introduced piercing the partition wall for a sampling time, wherein the sealing of the sample container is assembled from the pierceable partition wall and a clamping ring, which can be mounted on the sample container and presses the partition wall together with a sealing element onto an upper rim of the sample container, and which comprises a socket in which a fitting of a transport adapter which is attached to a handling end of the rod-like support can be anchored detachably and with sealing surface pressure after the collector is inserted into the sample container following piercing the partition wall.