PROBLEM TO BE SOLVED: To provide a technique for performing excellent imaging in contact with an object.SOLUTION: An imaging unit is an imaging unit for imaging the object and includes a contact part which comes into contact with the object and has an opening for photographing in a part of a contact surface and in which at least a part of the contact surface surrounding the opening is flat and a light-shielding part which covers the periphery of the opening for photographing. The contact part and the light-shielding part comprise a member having a light-shielding effect and shield light from other than a light source for imaging illuminating the object located in the opening.【課題】被写体に当接して良好な撮像を行う技術を提供する。【解決手段】被写体を撮像するための撮像ユニットであって、被写体に当接し、当接面の一部に撮影用の開口を有し、当該開口を囲む当接面の少なくとも一部を平坦とした当接部と、前記撮影用の開口の周囲を覆う遮光部と、を備え、前記当接部及び前記遮光部が遮光性の部材から成り、前記開口に位置する被写体を照明する撮像用の光源以外からの光を遮蔽する撮像ユニット。【選択図】図4