Electric box and ducted air conditioner with same

The utility model provides an electric box and a ducted air conditioner with the same. The electric box is in a hexahedron shape and comprises a box body and a box cover, wherein the box body forms a hexahedral bottom side and a hexahedral back side, the box cover forms a hexahedral front side, a hexahedral top side and two opposite hexahedral lateral sides, the electric box further comprises a buckle which is positioned at the upper edge of the back side, and a clamp tongue matched with the buckle is arranged on the top side. The ducted air conditioner comprises the electric box. The electric box is in the hexahedron shape and simple in structure. The box body and the box cover are located and fixed through the buckle, so that the electric box is simple in location mode, convenient to use, simple in operation and capable of reducing the number of screws, improving production efficiency and reducing cost.