An ophthalmic imaging apparatus includes an illumination unit configured to illuminate a fundus of an eye to be examined an imaging unit configured to obtain a fundus image by capturing the illuminated fundus a detection unit configured to detect flare in an edge portion of the fundus image based on a photometric value of light from the fundus a control unit configured to control correction processing for the fundus image for adjustment of a light amount at the edge portion of the fundus image in accordance with a flare detection result obtained by the detection unit and a correction unit configured to perform the correction processing for the fundus image in accordance with the control.