An ophthalmic imaging apparatus includes an OCT optical system that detects an interference signal between measurement light with which a subject eye is irradiated and reference light, and acquires OCT data of the subject eye by processing the interference signal, a scanner that scans with the measurement light on a scanning line on the subject eye, and a processor. The processor determines whether or not the OCT data acquired on the scanning line is proper, controls the scanner based on a determination result to change the scanning line for the measurement light to the next scanning line, and interpolates an alternative to OCT data determined not to be proper, based on OCT data corresponding to scanning lines around a scanning line on which the OCT data determined not to be proper is acquired.