The invention discloses a bed for people staying on a ship. The bed comprises a bed body, wherein a protection mechanism is fixed at the bottom of the bed body, the protection mechanism comprises intercepting devices, a mounting plate, a first supporting plate, an ejecting device, a locking device and a control device, the two sides of the bed body are symmetrically and fixedly provided with the intercepting devices, the intercepting devices are in transmission connection with the mounting plate, the mounting plate and the first supporting plate are both located in the middle of the bottom ofthe bed body, the mounting plate is perpendicular to the first supporting plate, the middle of the mounting plate is in clamped connection with the first supporting plate through the locking device, and the first supporting plate is fixed to the bottom of the bed body. The bed for people staying on the ship has the advantages that when the ship is subjected to vibration or tilts, intercepting plates at the two sides of the bed body can be ejected automatically to prevent the human body from being separated from the bed body, so that a guarantee is provided for the personal safety of the humanbody, and the intercepting plates are located under the edge of the bed body when not ejected through concealed design, thereby providing convenience for the human body to use the bed body.