A camera module is provided to prevent curling and twisting of a housing member, by attaching and joining the housing member to a substrate, which has stepped portions at edge portions thereof. A substrate(10) is formed in a square-shaped plate. A plurality of pads are formed on an upper surface of the substrate. Stepped portions are formed at respective edges of the substrate. A housing(40) is disposed above the substrate. A lens barrel(50) is inserted into an upper side of the housing. A plurality of lenses(L) are deposited in a multi-stage within the lens barrel. Each of the stepped portions is composed of a vertical face and a horizontal face.