PROBLEM TO BE SOLVED: To provide an ophthalmic apparatus for, when the alignment based on a pupil center and a position where a tomographic image can be imaged in an excellent position are different depending on a subject, continuously performing auto-alignment in the position.SOLUTION: An initial position adjustment is performed after an initial adjustment target position on an obtained anterior eye image is matched with the optical axis of a measurement optical system, the measurement optical system is moved by a movement amount corresponding to a movement instruction when the instruction of the initial adjustment target position is received, and the initial adjustment target position on the anterior eye image is changed to the position after the movement to perform a position adjustment again.