Provided are an imaging unit and an endoscope which can realize further miniaturization. An imaging unit 40 includes: an image sensor 44 that generates an image signal by receiving light and performing photoelectric conversion and a relay member 46 that includes silicon substrates 461, 462, and 463 provided on a back surface side of the image sensor 44 opposite to a light receiving surface of the image sensor 44, planar type electronic devices 4611, 4621, and 4631 being formed on the silicon substrates 461, 462, and 463, and relays the image sensor 44 and a signal cable 48 that transmits the image signal.