Volatile compounds from oils extracted from cactus seeds (Opuntia ficus-indica) of five regions of Morocco were analyzed by dynamic headspace-GC/MS. Aroma active compounds were characterized by olfactometry. A total of 18 compounds was detected with hexanal, 2-methyl propanal, acetaldehyde, acetic acid, acetoin and 2,3-butanedione as most abundant. Olfactometric analysis showed that those compounds are aroma active; therefore, cactus seed oil flavor can be attributed to those compounds. Moreover, the effect of roasting of cactus seeds on the composition of volatile compounds in the oil was investigated. Especially the concentration of compounds known as products from the Maillard reaction increased significantly with roasting time such as furfural, furan, 3-methyl furan, 2-butanone, thiophene, 2, 3- dithiabutane, methyl pyrazine, 2-methyl pyrimidine, 2-metoxy phenol, dimethyl trisulfide and 5-methyl furfural.