This invention is related to a mechanism to be used to balance the weight of a patient or a sportsman in rehabilitation or sport based equipment. The purpose of the weight balancing mechanism subject to the invention is to prevent the legs carry the entire weight of a patient or a sportsman during the walking therapy on a treadmill by carrying a portion of their weight. The other purpose of this invention is to adjust the amount of the weight need to be carried. During the phases of walking due to changing the tension of the rope, no change will be occured in the weight of the user is the final purpose of the invention. In order to reach this aim, a mechanism is developed for adjusting the tension of the rope in the light of the rope movements.