The present technique relates to a camera module and an electronic apparatus that allow a camera module to be used for various purposes. The camera module includes a first pixel array in which pixels that receive light having an R, G, or B wavelength are two-dimensionally arranged in a matrix form and a second pixel array in which pixels that receive light having a wavelength region of visible light are two-dimensionally arranged in a matrix form and a first optical unit that converges incident light onto the first pixel array and a second optical unit that converges the incident light onto the second pixel array. The present technique can be for example applied to a camera module and the like.