A casing 3 of the power supply unit 1 includes: a case body 3 a which is molded by resin into a box shape and which has an opened depth in a front direction; and a front cover 3 b which is engaged and communicated with the front face of the case body 3 a and which is made of resin such as polycarbonate.