Provided are an imaging module for an endoscope that favorably blocks incidence of flare light to an imaging element and an electronic endoscope device including the same. The imaging module for an endoscope includes an objective lens optical system a transparent optical member 56 an imaging element 58 that is of a microlens non-mounting type an adhesive layer and a light shielding mask 121 for a measure against flare that is interposed between a light emission surface 56a and a light incidence surface, is formed with an opening 121a, which matches an image circle that passes through the objective lens optical system and the transparent optical member 56 and is formed on the light incidence surface of the imaging element 58 and has a smaller diameter than the image circle, and is provided immediately before the light incidence surface of the imaging element 58.