The utility model belongs to the technical field of protective devices for beds, and particularly discloses a liftable and foldable
bed guardrail, which comprises a U-shaped roll-over stand, a
bed guardrail and a lifting device, the upper ends of the two vertical rods are rotationally connected with the two ends of the overturning frame through joint connecting assemblies correspondingly; the joint connecting
assembly comprises a first joint piece fixedly connected to the lower end of the overturning frame, a second joint piece fixedly connected to the upper end of the vertical rod and rotationally connected with the first joint piece, and a
joint locking assembly arranged in the joint connecting
assembly, and the
joint locking assembly is used for locking the first joint piece and the second joint piece to prevent the overturning frame from overturning outwards relative to the vertical rod; the cross rod is connected to the lower parts of the two vertical rods; the telescopic
pipe is inserted into the lower part of the vertical rod; the lifting assembly is connected between the cross rod and the vertical rod and used for driving the cross rod to move up and down along the telescopic
pipe and locking the position. According to the device, stable locking and flexible overturning of the overturning frame are achieved through the joint connecting assembly, the height is adjusted through the lifting assembly, and safety and practicability are both considered.