The invention discloses a household water pipe cleaning agent and a preparation method thereof. The raw materials of the household water pipe cleaning agent include saponin extract, sodium lauryl sulfate, p-aminobenzoic acid, ammonia water, sodium bicarbonate, and potassium hydrogen tartrate , polyepoxysuccinic acid, sodium sulfite phosphine carboxylic acid, polycarboxylate superplasticizer, phosphonocarboxylic acid polymer, Belsperse 164 dispersant, dimethyl methanol, amino ether betaine, urotropine, stannous octoate, surface Active agent, mineral spirits D, aluminum naphthenate, sodium chloride, lipase, tetradecyldimethylbenzyl ammonium chloride, triethanolamine oleate soap, ferric citrate, polyether and water. The raw materials of the invention are environmentally friendly and non-toxic, have a wide range of sources and low prices, and can be stored for a long time. Well, the biological slime, breeding fungus, and bacteria caused by it should be cleaned thoroughly and cleanly.