when taken by mouth: basil is likely safe when consumed in food amounts. when taken by mouth as a medicine, basil is possibly unsafe. basil herb and basil oil contain estragole. estragole is a chemical that might increase the risk of getting liver cancer.