This study documents the defensive function of flavored humor secreted by the abdominal glands of Carabus lefebvrei pupae. The morphology and the ultrastructure of these glands were described and the volatile compounds of glands secretion were identified by gas chromatography/mass spectrometry. The ultrastructure analysis shows an acinose complex formed by about 50 clusters. Each cluster has 20 glandular units and the unit-composed of one secretory and one canal cell lying along a duct-belongs to the class 3 cell type of Quennedey (1998). In the cytoplasm, the secretory cell contains abundant rough endoplasmatic reticula, glycogen granules, numerous mitochondria, and many well-developed Golgi complexes producing electron-dense secretory granules. Mitochondria are large, elongated, and often adjoining electronlucent vesicles. The kind and the origin of secretory granules varying in size and density were discussed. The chemical analysis of the gland secretion revealed the presence of a mixture of low molecular weight terpenes, ketones, aldehydes, alcohols, esters, and carboxylic acids. Monoterpenes, especially linalool, were the major products. We supposed that ketones, aldehydes, alcohols, esters, and carboxylic acids have a deterrent function against the predators and monoterpenes provide a prophylaxis function against pathogens.