A motorized bed includes a bottom bracket, a frame and a lifting device. The lifting device includes two drive mechanisms, two linkages and two connecting units. Each of the drive mechanisms includes a retractable push member. Each of the linkages includes a first link pivotally connected with the frame and the push member of one of the drive mechanisms and two second links pivotally connected with the first link. Each of the connecting units includes a transverse lever and two locking levers. Each of the locking levers of each of the connecting units has a first end pivotally connected with the transverse lever, a mediate portion pivotally connected with one of the second links of one of the linkages and a second end pivotally connected with the bottom bracket.