The invention discloses a unit splitting modulation method for focusing light through a scattering medium and relates to the field of bioimaging. The method is characterized by including the step of finding an optimal phase and the step of quaternary splitting method modulation. In the step of finding the optimal phase, the phase change of 0-2pi is conducted on a spatial light modulator, phase modulation is conducted on incident plane waves, a CCD is adopted to receive a corresponding speckle pattern, the light intensity at the focusing position is calculated, comparison is conducted, and the phase value corresponding to the maximum light intensity is stored; In the step of quaternary splitting method modulation, a phase (optimal phase) making the output strength at the focusing position maximum is found in each unit, then the units are equally and sequentially divided into four parts, each unit adopts a previous optimized phase while continuing to search for better phase distribution, and in this way, the units can be subdivided and optimized into smaller subunits, even pixels of the spatial light modulator.