The genotoxic effects of heterocyclic compounds were evaluated on the basis of genetic and toxicological characteristics of a biological model of Drosophila melanogaster. Analysis of the viability parameters (fertility, progeny mortality) showed that of 6 tested substance, substance No. 3 exhibited minimum toxicity. After application of substances No. 1 and No. 5 in the studied concentrations, the number of survived flies was insufficient for further analysis, which attested to high toxicity of these substances. The intensity of apoptosis was studied in response to substances Nos. 2, 4, and 6. Substance No. 4 proved to be optimal by the parameter toxicity/apoptosis (low toxicity/high apoptosis), while substance No. 3 exhibited low toxicity, which manifested in low apoptosis intensity.