The present invention relates to dispenser for producing a foam without requiring the use of liquefied gas, from an outlet. The dispenser (20) comprises a receptacle (37) for holding a surfactant solution (21), means for supplying a gas (23), means for conveying said surfactant solution in said receptacle and said gas along a flow path towards said outlet, wherein said conveying means comprises a conduit having a foaming section (25) for generating said foam from said surfactant solution (21) and said gas (23); and wherein said foaming section (25) has internal dimensions adapted to provide a foam having a quality characterised by predefined limits.