The present invention relates to an elevator rope sway control device, which comprises a rope end bar arranged on a plurality of elevator ropes, a sway detection unit, a controller, and a rope tension controller arranged on the rope end bar. The rope tension controller includes a displacement sensor, a hydraulic cylinder group, a spring assembly, a hydraulic pump, and a valve; the hydraulic cylinder group includes two groups of hydraulic cylinders, and a check valve is arranged between the two groups of hydraulic cylinders; the swing detection unit and the control The controller is connected with the hydraulic pump, and the hydraulic pump controls the hydraulic cylinder group to apply force to the spring assembly through the valve. The excitation of the natural frequency of the plurality of ropes is mitigated by the device, so as to prevent the plurality of ropes from swaying and resonating with the building, causing damage to other components or maintaining the personal safety of passengers.