A camera module that can obtain a clear image even in the case where dust
is generated inside the camera module due to a shock applied thereto is
provided. The camera module includes a base and a cover attached to the
base so as to define a space therebetween in which the holder can be
displaced. The base has an upper surface which faces the cover, and the
upper surface of the base includes a concaved dust collecting portion and
a dust falling preventing wall formed on the upper surface so as to
surround an entire circumference of an opening of the base, and wherein a
surface of the concaved dust collecting portion includes a dust sticking
layer to which fallen dust is adapted to stick, whereby when dust is
generated in the space between the cover and the base and such dust is
fallen onto the upper surface of the base, it is possible to prevent such
dust from entering into the opening by the dust falling preventing wall
and such dust is stuck to the dust sticking layer of the dust collecting
portion provided on the upper surface of the base.