An endoscopic device having an optical path switching part can determine whether or not an optical path is correctly switched by image processing without physically mounting an additional optical path detecting part. The endoscopic device includes a switching part that performs switching between a first optical system and a second optical system, an image pickup device, and a controller. The controller instructs the switching part to switch an optical system, compares, after the switching instruction is given, a plurality of images generated by the image pickup device before and after the switching instruction is given, and determines on the basis of a result of the comparison whether or not the switching is performed normally by the switching part.