An apparatus for producing a plastic foam by extruding a melt of a thermoplastic synthetic resin containing a blowing agent and foaming and solidifying it, said apparatus comprising an extruder having a discharge end with an extrusion die thereat, a shaping device secured to the discharge end of the extruder and extending away from said die in the direction of extrusion, said die on the extruder opening into the inlet of the shaping device, said shaping device having a metallic body and a plate of a fluorocarbon resin on at least a part of the inside surfaces of the metallic body, one of said body and said plate having recesses therein and the other of said body and said plate having projections thereon interfitted with said recesses, the inner surfaces of said recesses and the exterior surfaces of said projections being spaced from each other when the plate is unheated, said spaces being sufficiently large to just accommodate the resin plate at the temperature of extrusion molding, whereby when said plate is heated during extrusion said projections fit in said recesses for holding said plate securely on said shaping device.