Provided are an imaging unit and an endoscope with reduced diameters and high moisture resistance. An imaging apparatus 100 includes a lens unit 40 in which a plurality of optical elements 40a-1 to 40a-3 including one or more wafer-level lenses and a spacer 40b are laminated, an imaging element 51 configured to receive light incident from the lens unit 40, perform photoelectric conversion on the light, and generate an image signal, and a moisture-proof member 54 that is bent and arranged so as to come in contact with at least a part of side surfaces of the lens unit 40 to prevent moisture from entering a gap between the optical element 40a and the spacer 40b and the like.