An all-in-one sewage treatment machine comprises a frame body, a first filtering device, a second filtering device, a third filtering device, an oil absorption sponge device, a stirring device, a collection chamber, a centrifugation device and a water outlet device, wherein the frame body comprises an upper frame body and a lower frame body; a water inlet pipe and an annular groove are arranged on the upper frame body; the first filtering device comprises a first filtering screen, a first rotating shaft, a fixing frame, a positioning rod, a first gear, a second gear, a second rotating shaft, a first motor and a first support; the second filtering device comprises first inclined plates, first filtering plates and a first oil absorption sponge; a third filtering device comprises a first supporting column, second inclined plates, second filtering plates and a second oil absorption sponge; the oil absorption sponge device comprises a third oil absorption sponge, a first fixed block, a second fixed block and a third fixed block; the centrifugation device comprises an enclosed ring, a centrifugation frame, a fixing ring, a fourth rotating shaft and a third motor. The machine can completely filter impurities in sewage, and is good and obvious in decontamination effect.