An ophthalmologic apparatus includes a focusing lens provided in an optical path connecting a subject's eye and an imaging unit, a diopter correction lens provided in the optical path to be insertable and removable, and a position determination unit configured to determine a position of the focusing lens on the optical path in a state where the diopter correction lens is inserted, based on an in-focus state where the diopter correction lens is not inserted.