The invention discloses a dust-extraction device special for an electric control cabinet. The dust-extraction device comprises a foundation, wherein an adjusting base is fixedly connected to the center of the upper surface of the foundation, an adjusting groove is formed in the inner part of the adjusting base, an adjusting rod is slidably connected to the inner part of the adjusting groove, a movable base is fixedly connected to the upper surface of the adjusting rod, a movable groove is formed in the inner part of the movable base, a movable rod is slidably connected to the inner part of the movable groove, a sweeping base is fixedly connected to the surface of a rear end of the movable rod, a cleaning hole is formed in the outer surface of the sweeping base, a cavity is formed in the inner part of the sweeping base, bearing pedestals are fixedly arranged on both the upper surface and the lower surface of the cavity, and a sweeping head is fixedly connected to the lower surface of a rotating shaft. According to the dust-extraction device special for the electric control cabinet, the foundation can be fixed on the electric control cabinet through clamping blocks connected by threads, not only efficiency and an adaptive surface of cleaning can be greatly improved, but also safety can be effectively guaranteed.