In order to prevent inaccurate position detection caused by overlapping between a position alignment index and an optic papilla of a fundus in position alignment between an eye to be inspected and an apparatus when a fundus image is photographically captured, an ophthalmologic apparatus includes: a projection unit configured to project a plurality of alignment indices onto an eye to be inspected; an optic papilla position detection unit configured to detect an optic papilla position of the eye to be inspected; and an alignment detection unit configured to detect a positional relation between the eye to be inspected and an apparatus main body from a reflection image of the alignment index, wherein the alignment detection unit performs alignment detection by selecting a reflection image of at least one of the reflection images of the plurality of alignment indices depending on the optic papilla position.