Involved is a method for controlling the pest Sesamia inferens, comprising a step of contacting Sesamia inferens with Cry1F protein. Sesamia inferens is controlled by the Cry1F protein having pesticidal activity against Sesamia inferens, which is produced in the plants. Compared with the agricultural control, chemical control and biology control currently used in prior art, the present invention can protect the whole plant during whole growth period from the harm of Sesamia inferen. Furthermore, it causes no pollution and no residue and provides a stable and thorough control effect. Also it is simple, convenient and economic.