The invention discloses a surfactant, in particular to a preparation method of a nonionic surfactant. The preparation method includes the steps of heating in an oil bath under nitrogen protection conditions, mixing and stirring in an ice water bath, alternate droplet adding of solutions, rotary evaporation, vacuum drying and the like. The prepared novel non-ionic surfactant has the characteristicsof being non-toxic, non-phosphorus, anti-static, low in foam, and the like, is simple in preparation process, simple in production process, low in cost, free of pollution and suitable for industrialscale production, can be used for cleaning of advanced instruments, and can be used as an emulsifier for pesticides and inks, and a solubilizer, a suspending agent and an anticoagulant for drugs.