The invention discloses an automatic cleaning device for an equipment cabinet of a big-data machine room. The automatic cleaning device comprises a base, a supporting frame, a rail, a slide wheel, a four-wall cleaning device, a cleaning box, a cleaning roller brush, a cleaning motor, dust collecting boxes, a fan, a belt, a belt wheel, a motor, a top cleaning device, a top cleaning box, a top cleaning roller brush, a top cleaning motor, a top dust collecting box, an automatic telescopic device, a control panel and a power supply switch button. The automatic cleaning device has the advantages that: the four walls and the top of the equipment cabinet can be automatically cleaned, so that the complete cleaning purpose is achieved; the dust collecting boxes on the four walls and the top dust collecting box can be dismounted, so that later-stage clearing is convenient; manual cleaning is avoided, and harm, on equipment, due to personnel electrification is avoided. The cleaning device is integrated, is simple and convenient in operation, liberates the labor force, and effectively saves labor cost; in a cleaning process, normal use of the equipment cabinet is not affected; and certain cleaning period can be set through later-period program.