The volatile compounds in raw, conventionally roasted and microwave roasted black cumin (Nigella sativa L.) seeds at 0.45 kW for 2, 4, and 8 min, were analyzed by headspace-SPME gas chromatography-mass spectrometry. Among the 38 volatile compounds identified, the major compounds were thymoquinone and p-cymene in all samples. The levels of these compounds decreased with roasting. However, concentrations of pyrazines and furans increased significantly as a result of roasting and these compounds may affect the flavor of roasted black cumin seeds. Methyl pyrazine and 2,5-dimethylpyrazine were major pyrazines, formed at high concentration in seeds roasted for 8 min and in conventional roasting.