A linear free piston Stirling machine having an overstroke prevention mechanism for the power piston. A resilient member is fixed to the casing which contacts the power piston 4 when its displacement exceeds a predetermined level.