PROBLEM TO BE SOLVED: To provide a thin-diameter optical unit 1 for endoscopes facilitating the manufacture and having a light-shielding function.SOLUTION: An optical unit 1 for endoscopes includes: optical elements 10-30 including respectively optical paths 11-31 and peripheral parts 12-32 and spacers 50A and 50B disposed between the optical elements 10-30 respectively. The peripheral parts 12-32 include through grooves T10-T30, and the trough grooves T10-T30 are so disposed that light-shielding walls 61-63 disposed therein and composed of a light-shielding material prevent external light from rectilinearly entering the optical paths 11-31. The peripheral parts 12-32 comprise inner peripheral parts 12A-32A inside the through grooves T10-T30, outer peripheral parts 12B-32B outside thereof, and connecting parts 12C-32C for connecting the inner peripheral parts 12A-32A and the outer peripheral parts 12B-32B.SELECTED DRAWING: Figure 3COPYRIGHT: (C)2018,JPO&INPIT【課題】製造が容易な遮光機能を有する細径の内視鏡用光学ユニット1を提供する。【解決手段】内視鏡用光学ユニット1は、光路部11~31と周辺部12~32とをそれぞれが含む光学素子10~30と、光学素子10~30の間に、それぞれ配設されたスペーサ50A、50Bと、を具備し、周辺部12~32に貫通溝T10~T30があり、貫通溝T10~T30が中に配設された遮光材料からなる遮光壁61~63により、外光が光路部11~31に直進入射しないように配置されており、周辺部12~32が、貫通溝T10~T30の内側の内周部12A~32Aと、外側の外周部12B~32Bと、内周部12A~32Aと外周部12B~32Bとをつないでいる接続部12C~32Cと、からなる。【選択図】図3