Biometric sensor (100) includes a wiring board (160) light emitting elements arranged in a main surface (160a) of the (121, 122) and the light receiving element (123), the light-emitting element sealing portion (171) light-receiving element encapsulation light-shielding portion provided between the parts (172) and (173), the light blocking portion (173) through the wiring board (160) with a substrate having a light transmitting property provided in parallel with the (151), the light-emitting element sealed the main surface of the stopper portion (171), a light receiving element sealing portion (172) and a shielding portion (173) and the substrate (151) and the adhesive layer having a light-transmitting property for bonding the (180) substrate (151) It comprises a first electrocardiographic electrode (130) provided in (150a). Adhesive layer (180) and substrate (151) each of both end portions (184,185,154,155) is, when viewed from the normal direction of the main surface (160a) of the wiring board (160) (10) It is arranged so as not to overlap with the light-receiving element sealing portion (172) and sealing a light-emitting device section (171).生体センサ(100)は、配線基板(160)の主面(160a)に配置された発光素子(121,122)及び受光素子(123)と、発光素子封止部(171)と受光素子封止部(172)との間に設けられる遮光部(173)と、遮光部(173)を介して配線基板(160)と平行に設けられる透光性を有する基材(151)と、発光素子封止部(171)、受光素子封止部(172)及び遮光部(173)と基材(151)とを接着する透光性を有する接着層(180)と、基材(151)の主面(150a)に設けられる第1の心電電極(130)を備える。接着層(180)及び基材(151)それぞれの両端部(184,185,154,155)は、配線基板(160)の主面(160a)の法線方向(10)から見た場合に、受光素子封止部(172)及び発光素子封止部(171)と重ならないように配置されている。