An ophthalmic apparatus includes: an imaging optical system that includes a light projecting optical system for projecting light to an anterior chamber angle, ACA, region of a subject's eye, and a light receiving optical system including a light receiving element for receiving reflected light from the ACA region; an alignment driver configured to change a positional relationship between the subject's eye and the imaging optical system; an imaging processor configured to generate an ACA image based on a signal output from the light receiving element; and a controller configured to detect a feature point in an ACA of the subject's eye from the ACA image, and that adjust the positional relationship in accordance with a position of the feature point in the ACA image.