The invention discloses an integrated device for shaping and demoulding socks. The integrated device comprises a base, a transmission belt, a driver, a lifting device, a shaping box, a magnetron and a sock demoulding device, wherein the transmission belt is mounted on the base; a plurality of sock dies are mounted on the transmission belt and are sleeved by the socks; the driver is mounted on the base and connected with the transmission belt; the shaping box is mounted on the base; the side wall of the shaping box is communicated with the magnetron by virtue of a waveguide tube; a front box door and a rear box door are mounted on the front side and the rear side of the shaping box, respectively; the lifting device is mounted on the shaping box in a manner of being hinged with the front box door and the rear box door; the sock demoulding device is mounted on the base. The integrated device is simple in structure, has an energy-saving effect, is safe, has the functions of simultaneously shaping and automatically demoulding the socks, and is high in automation degree; the working efficiency is improved and the labor cost is reduced.