An imaging device includes: an image sensor; an imaging optical system; a movable mask; and a second filter. The imaging optical system forms an image of a subject on the image sensor, by using a first optical path and a second optical path involving parallax relative to the first optical path. The movable mask includes a first filter transmitting light in a first wavelength band and a light shielding section, and is movable relative to the imaging optical device. The second filter transmitting light in a second wavelength band different from the first wavelength band is provided in the second optical path.