Essential oil of star anise as well as phenylpropanoids and sesquiterpenes, for example, trans-anethole, eugenol, β-eudesmol, farnesol, β-caryophyllene and β-caryophyllene oxide, which are present in many essential oils, were examined for their antiviral activity against herpes simplex virus type 1 (HSV-1) in vitro. Antiviral activity was analyzed by plaque reduction assays and mode of antiviral action was determined by addition of the drugs to uninfected cells, to the virus prior to infection or to herpesvirus-infected cells. Star anise oil reduced viral infectivity by >99%, phenylpropanoids inhibited HSV infectivity by about 60–80% and sesquiterpenes suppressed herpes virus infection by 40–98%. Both, star anise essential oil and all isolated compounds exhibited anti-HSV-1 activity by direct inactivation of free virus particles in viral suspension assays. All tested drugs interacted in a dose-dependent manner with herpesvirus particles, thereby inactivating viral infectivity. Star anise oil, rich in trans-anethole, revealed a high selectivity index of 160 against HSV, whereas among the isolated compounds only β-caryophyllene displayed a high selectivity index of 140. The presence of β-caryophyllene in many essential oils might contribute strongly to their antiviral ability. These results indicate that phenylpropanoids and sesquiterpenes present in essential oils contribute to their antiviral activity against HSV.