The invention relates to a detergent, particularly an apple detergent. The apple detergent is prepared from the following raw materials in parts by weight: (6-aminohexyl)carbamic acid, 3,7-dimethyl-3-octanol, 3,7-dimethyl-1,6-octadiene-3-ol acetate, 2-hydroxy-4-isopropyl-2,4,6-cycloheptatriene-1-one, 1,3-butanediol dimethylacrylate, 1-(3,4-dimethoxybenzyl)-6,7-dimethoxyisoquinoline hydrochloride, glycollic aldehyde dimethyl acetal and disodium 2-oxo-1,5-glutarate dihydrate. The apple detergent is free of toxic substances, and can not hurt the human body. The detergent has favorable cleaning effect, can effectively remove organic phosphorus pesticides, pyrethrin pesticides, heavy metals (lead and cadmium) and other harmful substances attached to the apple surface, and ensures the edible safety of the cleaned apple.