An endoscope includes an optical module, the optical module including an optical element including a light emitting surface, an external electrode being disposed, out of a first region and a second region obtained by dividing the light emitting surface substantially in half, only in the first region, a wiring board including a first main surface where the optical element and a bonding electrode are disposed, a bonding wire connecting the external electrode and the bonding electrode to each other, a ferrule into which the optical fiber is inserted, a frame including an upper plate where the ferrule is disposed, including a side plate fixed to the first main surface, including an inner section housing the optical element and a side surface including an opening, and a transparent resin disposed in the inner section, wherein the upper plate is inclined at a predetermined inclination angle to the first main surface.