Image pickup unit 40 for the endoscope of this invention, reflecting the luminous flux of the optical image which incidence is done in optical lens group, 43 the optical path the dioptric system which is converted 44 (45) with, is connected by dioptric system 44, just image sensor 46 of the bear condition which has the light absorbent element 46a which the optical image image formation is done and image sensor 46 and specified distance in order to be able to provide the air gap 51 which is alienated, excludes the composition plane of image sensor 46 of dioptric system 44, opposing to the surface around the longitudinal direction at least, in order to cover, distribution facilities to be done, shade the incidence of harmful light to light absorbent element 46aComponent 50 which was formed from the metal thin film which it does and, possessing, preventing enlargement, it makes the structure which prevents the possibility of electrostatic destruction to the image sensor, to the light absorbent element of the image sensor shading, can unnecessary light acquire satisfactory image.本発明の内視鏡用撮像ユニット40は、光学レンズ群43に入射する光学像の光束を反射して光路変換する屈折光学系44(45)と、屈折光学系44に接合され、光学像を結像する受光素子46aを備えたベア状のイメージセンサ46と、イメージセンサ46と所定の距離だけ離間した空隙51が設けられるように屈折光学系44のイメージセンサ46との接合面を除く、少なくとも長手方向回りの面に対向して覆うように配設され、受光素子46aへの有害光の入射を遮光する金属薄膜から形成された遮光部材50と、を具備して、大型化を防止して、イメージセンサへの静電破壊の可能性を防止した構造とし、イメージセンサの受光素子へ不要な光を遮光して良好な映像を取得することができる。