A limit switch wherein a switch mechanism and plunger for operating the mechanism are assembled together to a switch body having pull-out terminals to form an integral switch assembly which is housed in a housing from its open bottom inserting the plunger through a guide cylinder on the top of the housing. The plunger biased normally outward is operably coupled through an actuator to a movable contactor against a contactor turning spring force biasing the actuator normally inward. The switch assembly is fixed to the housing with the plunger retreated inward by a predetermined amount where the contactor is once turned over, the amount thus determining a retreating stroke of the plunger for the mechanism operation through the actuator to turn over the movable contactor.