This paper presents the effect of insecticides on the composition of the surface compounds of one of the most harmful insects, Tenebrio molitor, by analysis using GC–MS. As a result of the use of insecticides, the composition of the chemical compounds on the surface of insects changes, depending on the insecticides used. The most numerous groups of the marked compounds were fatty acids, alkanes, esters and sterols. The content of the identified compounds in the larvae increased at both 24 and 48 h after the application of insecticides, in comparison with the control samples. The content of identified compounds in the samples taken from the females increased 24, 48 and 72 h after the application of insecticides in comparison with the control samples. By contrast, in samples prepared from males, the content of identified compounds decreased 24 h after the application of insecticides, compared with the control samples. The highest content of chemical compounds was for fatty acids and alkanes after the use of insecticides. The content of fatty acids after the application of the insecticide with deltamethrin was 62.1 ± 3.3–466.9 ± 5.9 μg/g, and after the application of the insecticide with cyfluthrin was 49.9 ± 1.9–458.3 ± 4.2 μg/g. However, the content of alkanes after the use of deltamethrin was 115.6 ± 4.2–4672.0 ± 32.1 μg/g, and after the use of cyfluthrin was 189.4 ± 3.8–3975.0 ± 10.2 μg/g.