In the food industry, the surfaces of processing equipment are considered to be major factors in the risk of food contamination. The cleaning process of solid surfaces is essential, but it requires a significant amount of water and chemicals. Herein, we report the use of foam flows based on alkyl polyglucosides (APGs) to remove spores of Bacillus subtilis on stainless-steel surfaces as the model-contaminated surface. Sodium dodecyl sulfate (SDS) was also studied as an anionic surfactant. Foams were characterized during flows by measuring the foam stability and the bubble size. The efficiency of spores’ removal was assessed by enumerations. We showed that foams based on APGs could remove efficiently the spores from the surfaces, but slightly less than foams based on SDS due to an effect of SDS itself on spores removal. The destabilization of the foams at the end of the process and the recovery of surfactant solutions were also evaluated by using filtration. Following a life cycle assessment (LCA) approach, we evaluated the impact of the foam flow on the global environmental footprint of the process. We showed significant environmental impact benefits with a reduction in water and energy consumption for foam cleaning. APGs are a good choice as surfactants as they decrease further the environmental impacts.