A modular foam spray gun is illustrated in which a third hose is attached to the gun for the application of either a liquid or a gas, the spray gun having a transverse channel positioned at a rear of the housing of the gun for securedly affixing the separable module to the housing of the spray gun.