The invention relates to an device for euthanizing an animal, comprising an euthanasia chamber for receiving the animal, a foam generator for filling the euthanasia chamber with a gas filled foam, and a gas source for providing a gas to the foam generator, wherein the foam generator comprises a container that bounds a liquid chamber that is at least partly filled with a mixture containing liquid water and a foaming agent, and at least one bubble blower that is vertically guided inside the liquid chamber, wherein the bubble blower comprises at least one gas nozzle above its bottom end, wherein the bubble blower has buoyancy when the internal gas chamber is filled with the gas to float in the mixture, wherein afloat the gas nozzle extends at least partly below the surface of the mixture.