A convalescent bed for safely restraining a bedridden patient includes a bed frame with a mattress that is raised and lowered by a hydraulic or electric lifting arm. The bed frame includes a pair of opposing guard rails one of which includes pivotally connected panels that may be deployed when the mattress is in the lowered position thereby providing a ramp on which a patient safely lands in the event he or she rolls off the mattress while receiving treatment.