The invention relates to a preparation method of oligochitosan. The oligochitosan is prepared through degradation of chitosan under hydraulic cavitation of chitosan solution. The preparation method comprises the following steps: dissolving the chitosan, carrying out hydraulic cavitation and degradation, adding alkali solution into the chitosan solution after degradation to adjust the pH, washing precipitates, carrying out vacuum drying and the like. The process of hydraulic cavitation and degradation comprises the following steps: placing the chitosan solution into a storage tank, maintaining a constant temperature through a circulating water tank, delivering the chitosan solution to a cavitation device for cavitation and degradation through a pump, adjusting the pressure of the upstream inlet with a valve V1, a valve V2, a valve V3 and a valve V4, restoring the pressure and flow of the downstream, monitoring the pressure and flow with a pressure gauge and a flow meter, making the solution after cavitation and degradation flow back to the storage tank, controlling the temperature to be 25-80 DEG C through the circulating water tank, and carrying out the circulating process in the hydraulic cavitation device for 0.5-20 hour(s) until the oligochitosan satisfies the requirements for the relative molecular mass. The method has the advantages of simple and convenient operation, low energy consumption, high efficiency and the like.