Problem to be solved: to provide an optical device capable of enhancing the adhesion strength between two optical members, an endoscope having this optical device, an endoscope apparatus having this endoscope, and a method of manufacturing an optical device.The endoscope 1 comprises a prism 48 having a light emitting surface 48c, and a cover glass 53 of an imaging element 51 having a light emitting surface 48c and a surface 53a adhered by an adhesive. The light emitting surface 48c and the surface 53a of the cover glass 53 each include an effective region through which light effective in light is transmitted, and an uneffective region other than the effective region, and the surface roughness of at least a portion of the non effective region is larger than the surface roughness of the effective region.Diagram【課題】2つの光学部材同士の接着強度を高めることのできる光学装置、この光学装置を備える内視鏡、及びこの内視鏡を備える内視鏡装置と、光学装置の製造方法を提供する。【解決手段】内視鏡1は、光出射面48cを有するプリズム48と、光出射面48cと接着剤によって貼り合わされた表面53aを有する撮像素子51のカバーガラス53と、を備える。光出射面48cとカバーガラス53の表面53aは、それぞれ、光学的機能が有効な光が透過する有効領域と、この有効領域以外の非有効領域と、を含み、非有効領域の少なくとも一部の領域の表面粗さが有効領域の表面粗さよりも大きくなっている。【選択図】図4