The invention discloses a nitrogen and phosphorus removal integrated device, which comprises a pre-anoxic pond, an anaerobic pool, an anoxic pond, an aerobiotic pond, a sediment pond, and a sludge separator; the sludge separator comprises a sludge separator main body, a stirring motor, a stirring shaft, and a spiral blade; the spiral blade is arranged on the stirring shaft, and the screw space ofthe spiral blade is gradually reduced from the mud inlet side to the mud outlet side. When sludge moves forwards in the sludge separator main body, the inner part of the sludge separator main body generates great inner pressure along with gradually reduced screw space of the spiral blade, and the sludge volume is continuously reduced; for the gas density is much less than that of the sludge floc,gas is discharged from an overflow opening to the aerobiotic pond; thus the oxygen deficiency environments of the pre-anoxic pond, the anaerobic pool, and the anoxic pond are guaranteed during the degasing process, the sludge settling performance is improved; the sludge expansion, floating and bubble generation are controlled, and effluent quality is optimized.