A number of studies have reported that lavender essential oil may be beneficial in a variety of conditions, including insomnia, alopecia (hair loss), anxiety, stress, and postoperative pain. However, most of these studies have been small. Lavender is also being studied for antibacterial and antiviral properties.