An ophthalmologic apparatus capable of performing suitable examination according to the state of the eye is provided. An ophthalmologic apparatus of an embodiment includes an examination optical system, a drive part, two or more imaging parts, an analyzer, and a controller. The examination optical system is used to examine an eye. The drive part moves the examination optical system. The two or more imaging parts substantially simultaneously photograph the anterior segment of the eye from different directions. The analyzer analyzes photographic images captured by the two or more imaging parts to obtain the three-dimensional position of the eye, and displacement information indicating the displacement direction and displacement amount of the eye due to eye movement. The controller performs a first alignment process of controlling the drive part based on the three-dimensional position to move the examination optical system and a second alignment process of controlling the drive part based on the displacement information to move the examination optical system.