In an electric-circuit-containing box including an upper case having a side provided with a hole and a lower case having a side provided with a projection to be fitted in the hole,
moisture is prevented from entering the box from the hole of the upper case by a capillary phenomenon. A recess separate from an inside surface of an upper case is provided around a projection of a side of a lower case. Thus, a specified interval is ensured between the periphery of the projection of the side of the lower case and the hole of the upper case. Accordingly, even if
moisture attached to an upper part of the upper case flows to the vicinity of the hole 1b along an outside surface of the upper case, there does not occur a state that the
moisture passes through between both the cases from the hole by the capillary phenomenon and enters inner spaces of both the cases and in which a board and electronic parts are contained.