In an ophthalmic apparatus, reflected light from an eye to be examined, illuminated by an observation light source emitting continuous light, is split by a light splitting unit to enter an optical viewfinder, and a fundus image where an examiner can observe the fundus is provided by the optical viewfinder. An imaging unit sets the light quantity of the observation light source by using a moving image obtained by imaging the split and reflected light. After completing the setting of the light quantity, the imaging unit moves the light splitting unit from an optical axis, illuminates the fundus by driving the imaging light source, and obtains a still image.