Volatile oil in Ramat () was extracted by the method of water vapor distillation and its chemical components was identified by gas-chromatography coupled with mass spectrometry (GC-MS). The volatile oil are evaluated for antibacterial activity against , and . Effects of surfactant, temperature, pH and ultraviolet light on antibacterial activity stability of volatile oil were analyzed too. Total 56 compounds were identified in volatile oil. The main constituents in volatile oil were monoterpenes and sesquiterpenes compounds, including hydrocarbons, esters, aldehydes, ketones, phenols and organic acids.-curcumene was the most abundant volatile component (12.55%). The volatile oil showed promising antibacterial activity against 5 selected strains. The inhibitory effect on exhibited maximum inhibition zone diameter 20.43 mm, and showed 12.29 mm. The volatile oil treated with surfactant Tween 20 showed the strongest antibacterial activity, followed by Tween 80 and the SDS lowest, which showed the lowest. pH also had different effect on antibacterial activity stability of the volatile oil. No significant difference effect on antibacterial activity stability of volatile oil was observed with temperature and UV treatment.