The optical module comprises a ferrule, an optical fiber inserted into the
ferrule, an optical communication functional unit for making the optical
communication with the optical fiber, and a resin molded portion covering
a part of the ferrule and the optical communication functional unit. The
ferrule is provided with one or more concave grooves in a region exposed
from the resin molded portion. Since this concave portion serves as a
resin reservoir at the time of molding, the resin is prevented from
adhering and covering on the outer surface of ferrule exposing from the
resin molded portion.