The present invention relates to a rotary compensator, especially a rotary compensator with flexible rotation and high pressure resistance, comprising a first pipeline, a rotary compensator, a second pipeline, a moving base, a fixed base and a rotating sleeve. The first Both ends of a pipeline are equipped with a rotary compensator, the rotary compensator includes a rotary sleeve and a sealing seat, and the end of the rotary sleeve close to the sealing seat is placed inside the rotary sleeve, and the interior of the rotary sleeve is provided with The inner cylinder, the reinforcing rib is fixedly installed between the inner cylinder and the rotating sleeve, the end of the sealing seat away from the rotating sleeve is installed through a small head, and a sealing block is arranged between the small head and the rotating sleeve , the sealing seat is covered with a sealing gland, and a seal is installed between the sealing gland and the rotating sleeve, and the sealing gland, the sealing block, the sealing seat and the rotating sleeve are enclosed A sealed cavity is provided, and the overall device of the present invention has simple structure, good rotation flexibility, and has a certain popularization effect.