A multifunctional crib, comprising a left support mechanism and a right support mechanism, wherein the left support mechanism and the right support mechanism are symmetrical to each other, each of the left support mechanism and the right support mechanism comprises a support base, a support tube, an inner sleeve, a left housing, a right housing and a connecting rod; the support tube is provided on a top portion of the support base; the inner sleeve is provided in the support tube; the left housing is provided on a top portion of the inner sleeve; the right housing is provided at a right side of the left housing; the connecting rod is provided beneath the right housing; the inner sleeve is height-adjustable relative to the support tube; the left housing and the right housing are configured to rock relative to each other; a portion of the support base is retractable; an upper enclosure frame is provided between the right housing of the left support mechanism and the right housing of the right support mechanism; and a support frame is provided between a bottom portion of the connecting rod of the left support mechanism and a bottom portion of the connecting rod of the right support mechanism, wherein a left end surface of the left housing is provided with a second slot, and a left end surface of the right housing is provided with a third slot; a right end of the left housing is provided with two symmetrical rocking limiting slots, and the third slot is internally provided with two symmetrical rocking limiting rods; each of the two symmetrical rocking limiting rods is corresponding to each of the two symmetrical rocking limiting slots, and each of left ends of the two symmetrical rocking limiting rods is located in each of the two symmetrical rocking limiting slots; the second slot is internally provided with a second movement slot, and the third slot is internally provided with a third movement slot; the left end surface of the left housing is covered with a first end cover adapted to the second slot; a left end surface of the first end cover is provided with a first sliding slot; the first sliding slot is internally provided with a first sliding button, wherein the first sliding button is slidable left and right; the second movement slot is internally provided with a first movable member, and the third movement slot is internally provided with a second movable member; a plurality of first abutting posts are evenly distributed at a right end surface of the first movable member, and the second movement slot is internally provided with a plurality of post slots, wherein the plurality of first abutting posts extend into the plurality of post slots, respectively; a plurality of second abutting posts are evenly distributed at a left end surface of the second movable member; each of the plurality of second abutting posts is corresponding to each of the plurality of first abutting posts and each of the plurality of post slots, and left ends of the plurality of second abutting posts respectively protrude into the plurality of post slots to abut against the plurality of first abutting posts; the third movement slot is internally provided with a fourth spring abutting against a right end surface of the second movable member; and the first sliding button is connected to the first movable member, and the first sliding button is configured to be fixed to the first end cover after sliding; characterized in that a right end surface of the first sliding button is provided with a driving portion; the driving portion is provided with a through slot penetrating vertically; an unlocking button passes through the first sliding button; a left end of the unlocking button protrudes out of the first sliding button, and a right end of the unlocking button is located in the through slot and provided with a vertical plate; top and bottom surfaces of the vertical plate are respectively provided with first clamping portions; the through slot is internally provided with a fifth spring abutting against the vertical plate; a right end surface of the driving portion defines a first inclined surface; a left end surface of the first movable member is provided with a fourth movement slot; an end surface of the fourth movement slot defines a second inclined surface attached to the first inclined surface; a right end of the driving portion is located in the fourth movement slot; a front end of the second inclined surface is provided with a limiting portion; a right end surface of the first end cover is provided with two abutting portions arranged vertically; the two abutting portions are corresponding to the first clamping portions on the top and bottom surfaces of the vertical plate, respectively; and each of the first clamping portions abuts against two sides of each of the abutting portions.