The present invention relates to the composition to control Drosophila suzukii comprising 9-tricosene and method thereof. The compound 9-tricosene can be used alone or mixed with other compounds in order to control Drosophila suzukii in a more efficient manner. In addition, this present invention provides the specific spraying methods with 9-tricosene.