The present invention provides a deodorization sterilization foam liquid used in washroom which belongs to chemical technical field, and is used for solving problems of large water consumption, poor effects on deodorization and killing venomousness germina. The foam liquid is composed of components by weight part as follows: 12.0-17.5 parts anionic surfactant, 3.5-8.0 parts nonionic surfactant, 3.3-7.5 parts defoamer, 1.2-4.5 parts buffer, 0.8-2.0 parts perfume; anionic surfactant is one or more of alkyl sodium sulfonate, alpha-olefin sulfonates, sodium dodecyl sulfate, polyoxyethylene fatty alcohol sodium sulfate, nonionic surfactant is one of fatty acid alkanolamide and amine oxide, defoamer is one of isopropanol and ethanol, buffer is one of citric acid and disodium hydrogen phosphate. Or fungicidal preservative, cationic alkyl glycoside are added. The foam liquid has reasonable prescription, gathers in integral whole of sterilization, deodorization, clean, contaminant separation and froth, and is suitable for various washroom, especially for various environmental protection water saving type washroom.