The present invention relates to a medical bed which prevents pressure ulcers from developing in patients who have been ill in bed for a long time by varying a pressed body portion that is closely contacted with a mattress through: partitioning a bed mattress contacting the patient; and periodically changing the height of the partitioned mattress.