The invention discloses an application of Taiwanin E in preparation of herbicides. The Taiwanin E compound, a structural analog thereof and/or a pharmaceutically acceptable salt thereof is prepared asherbicides for application, and a structure of the Taiwanin E is shown in a formula I. The Taiwanin E is derived from plants, has a smooth degradation pathway in nature, and has low residue, low pollution, and high environmental protection. The invention finds for the first time that the Taiwanin E can inhibit growth of weeds, growth of roots of the weeds treated by the Taiwanin E becomes slow, afresh-weight inhibition rate is significant, and thereby normal growth of the weeds is inhibited, so that the Taiwanin E can be prepared as herbicides for application. At the same time, the TaiwaninE shows relatively good effects of inhibiting root growth on a variety of dicotyledonous, monocotyledonous and aquatic weeds, has broad-spectrum properties, and has a wide application range. Moreover,the structure of the Taiwanin E is different from existing herbicides, and can provide a template for creation of herbicides, so that the Taiwanin E has obvious significance both in theory and in practice.