The upper and lower limb rehabilitation system is a comprehensive exercise training system for the entire upper and/or lower limbs (including shoulders, elbows, wrists, fingers, hips, knees, ankles, and related muscle groups) by using motors to drive patients or patients to actively train their limbs in a circular motion along a fixed axis. By passively moving the joints of the limbs, stretching the soft tissues around the joints, preventing and treating joint contractures, thereby increasing and maintaining joint mobility.