An image capturing module is used in an endoscope. The image capturing module comprises an image capturing portion having opposed surfaces defined by respective photodetection and reverse surfaces. The reverse surface includes external electrodes disposed thereon. A layered optical portion having a front surface to which light is applied and a rear surface that is opposite of the front surface. The layered optical portion having a plurality of optical members layered together. A layered device having a first principal surface with joint electrodes disposed thereon. A second principal surface opposes the first principal surface. The first principal surface is bonded to the reverse surface. The joint electrodes are joined to the external electrodes. The layered device includes a plurality of semiconductor devices layered together in which the first principal surface is larger in area than the photodetection surface and smaller in area than the rear surface.