The present invention relates to an autonomous mobile foam-producing unit for cleaning, specifically said unit allows the cleaning and sanitization of agricultural and livestock areas. The invention also enables to generate a large quantity of foam quickly and ejected with high pressure, preventing in turn a water hammer or Zhukowski pulse. The present invention is also autonomous, including power systems based on gasoline or diesel engines with the ability to be adapted to batteries and solar cells.