The invention discloses a magic cube. The magic cube includes square surfaces and connection parts, the six square surfaces constitute a regular hexahedron structure, and the connection parts are fixed to the square surfaces and used for being connected with a first cooperation part and a second cooperation part. The invention further discloses an automatic recovery device which includes a liftingplatform, a protective box body, a lifting mechanism, recovery mechanisms, a height adjustment mechanism and a magic cube body. A sealed inner cavity is formed in the protective box body, a taking and placing opening used for being penetrated by the magic cube body is formed in the protective box body and communicated with the inner cavity, the lifting platform is used for bearing the magic cube,the lifting platform is positioned below the taking and placing opening, and the recovery mechanisms are mounted in the inner cavity and fixed to the periphery of the lifting platform. The height adjusting mechanism is mounted in the inner cavity, the lifting mechanism and the height adjusting mechanism are connected with the lifting platform separately, and the height adjusting mechanism is usedfor making the recovery mechanisms adapt to the square surfaces at different altitudes. The magic cube can be automatically and effectively recovered, the structure is simple, the size is small, theapplicability is high, the recovery speed can be increased, and the safety protection performance can be improved.