An optical module (100) includes a lens barrel (10), a lens (201), a
filter (40), and a groove (105). The lens is engagingly received in the
lens barrel. The filter is engagingly received in the lens barrel with an
adhesive. The groove is defined in the lens barrel. The groove is
adjacent to an outer periphery of the filter to receive the adhesive so
as to prevent it from infiltrating into the lens.