The invention provides a bactericide for an intelligent closestool and relates to the field of bactericides. The bactericide comprises the following components: 4-8 parts of a diethyl ether phenolsulfonic acid ester, 6-8 parts of a surfactant, 5-10 parts of an anti-freezing agent, 1-3 parts of a stabilizer, 2-3 parts of a defoaming agent, 10-40 parts of ethanol, 2-3 parts of chitosan, 0.5-1.5 parts of propolis, 15-18 parts of 15-20% hydrogen peroxide, 10-15 parts of sodium dodecyl benzene sulfonate, 5-8 parts of sodium silicate, 10-14 parts of sodium bicarbonate, 16-20 parts of 10% sodium chloride solution, 5-8 parts of cinnamon essential oil, 15-20 parts of hydroxy-n-phenylbenzamide, 3-5 parts of lauramidopropylamine oxide, 3-6 parts of plant essence, 10-18 parts of glycerinum and 20-40 parts of deionized water. The invention provides the bactericide for the intelligent closestool, effective bacterium inhibition and killing are achieved, water scale is inhibited, cross propagation ofpathogenic bacteria is prevented, and the bactericide is simple in proportioning, low in preparation cost, convenient to use, low in preparation cost, free of maintenance, convenient to carry over, wide in application range and harmless to human bodies.