Abstract: The invention relates to a device for generating and metering foam, especially foamed soap. To prevent further dispensing of drips of residual foam in a foam outlet channel after the quantity required has been supplied, the device is constructed in such a way that the underpressure subsisting on the return stroke of a piston in an air chamber is effective in the foam outlet channel and sucks residual foam back.