Salinity is one of the most important environmental factors controlling plant growth and development. And recognizing their biochemical and physiological changes to salinity is necessary in order to reduce its negative effects. Therefore, in order to study the effect of the external application of sodium nitroprusside (SNP) and Hydrogen Peroxide in order to reduce the negative effects of salinity induced oxidative stress, the medicinal plant was grown hydroponically. This experiment was based on a factorial arrangement based on randomized complete block design with two levels of salinity (0 and 50 mM Sodium Chloride) and three levels of sodium nitroprusside hree levels of solubility Hydrogen Peroxide spraying (0, 2.5 and 5 mM) was performed with three replications. After essential oil extraction, the essential oil yield was calculated according to its content in the plant; The extracted essential oils were also measured by detection of secondary metabolites by the GC-MAS device. The highest amount of essential oil was obtained at a salinity level of 50 mM with external peroxide. Also, according to the results, methyl chavicol, linalool, and cadinol showed higher amounts than other metabolites in the treatments. The amount of melkavicle as the most important basil substance was affected by the external use of SNP and its highest rate was observed in the external appl result, we can say that exogenous application of SNP and H2O2 While positively affecting the accumulation of active ingredient of basil reduces the oxidative stress caused by salinity by increasing the accumulation of active ingredients.