The invention provides a method for preventing and controlling balsam pear drosophila melanogaster by using a photosynthetic high-fat film agent. The photosynthetic high-fat film agent is included, and is prepared from, by weight, 150 parts of a dodecyl alcohol, 150 parts of a cetyl alcohol, 30 parts of a repellent, 8 parts of an emulsifier, 3 parts of a co-emulsifier, 40 parts of a thickener and800 parts of water; after being diluted with water by using the photosynthetic high-fat film agent, balsam pears are sprayed. The method can effectively reduce the invasion of the drosophila melanogaster, the time for the repellent to remain on the balsam pears can achieve a sustained effect, and the effect of preventing the drosophila melanogaster is increased.