The invention discloses a variable-rigidity swing joint. The variable-rigidity swing joint comprises a fixing frame and a swing shaft, a swing plate is arranged on one side of the swing shaft, a left side plate and a right side plate are arranged on the two sides of the swing plate correspondingly and can concentrically rotate relative to the swing shaft, an air bag I is arranged between the swing plate and the right side plate, and an air bag II is arranged between the swing plate and the left side plate; a gear I is arranged on the swing shaft, and a gear II and a gear III which are meshed with the gear I are arranged on the fixing frame; a right swing rod is fixedly connected to the gear II, a right connecting rod is hinged to the end, away from the gear II, of the right swing rod, and the end, away from the right swing rod, of the right connecting rod is hinged to the right side plate; and a left swing rod is fixedly connected to the gear III, a left connecting rod is hinged to the end, away from the gear III, of the left swing rod, and the end, away from the left swing rod, of the left connecting rod is hinged to the left side plate. The swing joint has good rigidity, the rigidity is adjustable, the mechanical structure is simple and practical, the reliability is high, and the high application value is achieved.