MOCVD (Metal Organic Chemical Vapor Deposition) is a key means of heterojunction semiconductor material epitaxy, the uniformity of its epitaxial layer thickness will directly affect the yield of the product, especially the vertical cavity surface emitting devices, which have a higher requirement for thickness uniformity. For the multi-MO nozzle vertical reaction cavity MOCVD, this paper combines theory and experiment to give an effective method to improve the epitaxial layer thickness uniformity by adjusting the flow rate of each MO nozzle. Firstly, each MO source nozzle is equivalent to an evaporation surface source, and an equivalent height is introduced to cover the relevant epitaxial parameters of MOCVD and the quantitative relationship between the epitaxial layer thickness and the flow rate of each MO source nozzle is established by taking three MO source nozzles as an example. After that, the model parameters were extracted by fitting using the least squares method based on the experimentally measured epitaxial layer thickness distribution results. Finally, based on the extracted model parameters, a method to optimize the epitaxial layer thickness uniformity is given. Accordingly, the AlGaAs resonant cavity structure, which is easy to accurately test the thickness, was designed and epitaxially grown using the EMCORE D125 MOCVD system, and the statistical results of the mapping reflection spectra of the 4-inch epitaxial wafers were that the average wavelength of the cavity mode was 651.89 nm, with a standard deviation of 1.03 nm, and thickness uniformity of 0.16% was achieved. At the same time epitaxial growth of GaInP quantum well structure, 4-inch epitaxial wafers mapping Photoluminescence spectrum statistics for the average peak wavelength of 653.3 nm, the standard deviation of only 0.46 nm, and peak wavelength uniformity of 0.07%. Whether it is the cavity mode wavelength or quantum well peak wavelength uniformity, it fully meets the requirements of vertical cavity surface emitting devices. The method of adjusting epitaxial layer thickness uniformity proposed in this paper is simple, effective, and fast, and it can be further extended to vertical reaction cavity MOCVD systems with more than four MO nozzles.