An apparatus and a method for measuring blood flow of vessels are provided by the disclosure, which include the following. A light source, a light splitting module, a reference arm module, a sample arm module, a probing module, and a control system are arranged in an optical path the sample arm module includes a scanning unit and a rotatable optical-path shifting device a probe light is obtained from the light splitting module after splitting, and a main light of the probe light is on a rotating shaft of the scanning unit the probe light is reflected by the scanning unit for scanning to the optical-path shifting device, and when the optical-path shifting device is in a first position and in a second position respectively, the probe light scans a vessel in fundus to obtain a first phase shift signal and a second phase shift signal of the vessel measured finally, blood flow rate and blood flow of a single-vessel and total blood flow of all the vessels near an optic disc are determined according to formulas. The apparatus and the method of the disclosure avoid high-frequency background Doppler appearing in an original Doppler image of the vessel acquired so that extra work and error caused by removing high-frequency background Doppler can be omitted.