A method for manufacturing an optical module equipped with an optical
element includes the steps of: (a) preparing a support member for
supporting an optical element; (b) providing a spacer on the supporting
member; (c) pressing the spacer to cause a plastic deformation therein;
(d) bonding the optical element and the spacer; (e) providing a sealing
member on an upper surface of the supporting member; (f) disposing a lid
member for sealing the optical element above the sealing member and
affixing the lid member to the supporting member; and (g) affixing a case
with a lens onto the supporting member, wherein, in the step (g), the
case with the lens is affixed to the supporting member such that the lens
is disposed on an optical path of light oscillated by the optical
element, and the case with the lens is disposed opposite in an optical
axis direction of light passing through the lens to and in contact with
the supporting member.