An ophthalmic apparatus comprises: aberration correction unit arranged to correct aberration of at least one of irradiating light directed to an eye to be examined and return light from the eye; light-receiving unit arranged to receive, as return light from the eye, the light whose aberration is corrected by the aberration correction unit and then which irradiates the eye; measurement unit arranged to measure the aberration of the return light; and control unit arranged to control the aberration correction unit based on a measurement result obtained by the measurement unit and a light reception result obtained by the light-receiving unit.