The invention relates to a rehabilitation device, in particular to a rehabilitation device for a patient with a leg fracture. The rehabilitation device for the patient with the leg fracture aims at achieving the technical purposes that the vertical swinging range of the leg is conveniently adjusted and the fatigue of medical staff can be relieved. The rehabilitation device for the patient with theleg fracture includes a base, a cavity, a u-shaped compression cylinder, a large piston, a small piston, a movable rod, a pedal, a slide rail, a sliding block, a horizontal spring, connecting rods, amoving rod, a support plate and the like; the cavity is formed in the middle of the base, the u-shaped compression cylinder is installed at the inner bottom of the cavity, a proper amount of liquid is contained in the u-shaped compression cylinder, the large piston is arranged on the right side of the u-shaped compression cylinder, and the small piston is arranged on the left side of the u-shapedcompression cylinder. By reducing the stepping distance of the pedal, the vertical swinging range of the shank can be reduced, and therefore the vertical swinging range of the leg can be adjusted according to demand. Moreover, the medical staff have no need to manually move the leg of the patient with the leg fracture, and therefore the fatigue of the medical staff can be relieved.