An ophthalmic apparatus capable of alignment in total automation and manual alignment with an examinees eye comprising an examination unit, a main base, a mobile base on which the unit is mounted and moved horizontally on the main base through operation of a control member and a unit detecting an alignment state of the examination unit with the eye, characterized by further comprising driving mechanisms moving the examination unit vertically and horizontally with respect to the mobile base, a device switching a mode between a manual mode of performing alignment of the examination unit with each eye in sequence through the operation and a fully automatic mode of performing the alignment through driving of the driving mechanisms, and a control unit controlling the driving based on the detection result which starts in the fully automatic mode the driving based on a predetermined trigger signal so as to perform the alignment.