A hospital bed contains: a body, a headboard, a footboard, a holding frame, at least one peripheral frame, and a drive unit. The headboard is disposed on one of two short peripheries of the body, and the footboard is mounted on the other of the two short peripheries of the body. The holding frame is fixed on the body and includes at least two tabs, and each of the at least one peripheral frame includes a coupling part and two connectors connected with two sides of the coupling part respectively, and each of the two connectors has a movable post, an accommodation stem, and a resilient element fitted on the movable post and moving between the movable post and the at least two tabs. The drive unit is mounted on the holding frame so as to control a rotation angle of the holding frame.