Described is an improved method of removing lipopolysaccharide from an aqueous medium comprising gelatin and lipopolysaccharides, the method comprising the steps of providing an aqueous medium comprising gelatin and lipopolysaccharides, adding to the aqueous medium a micelle-forming surfactant, contacting the medium with a solid adsorbent, separating the solid adsorbent of from the medium and recovering the aqueous medium comprising the gelatin, wherein the method is performed at conditions below the cloud point of the surfactant.