In order to investigate the influence of variable voltage and variable frequency (VVVF) regulation on the cavitation performance of the axial-flow pump, numerical simulation and experiments were used to analyze the cavitation performance of an axial-flow pump under different VVVF modes. The VVVF modes were uniform acceleration with constant acceleration, variable acceleration with increasing acceleration, variable acceleration with decreasing acceleration, and its corresponding deceleration scheme. Furthermore, a comprehensive performance test rig was built for the pump to carry out cavitation visualization tests which verified the accuracy of numerical simulation. For the uniform acceleration scheme with constant acceleration, the change of flow field inside the impeller was stable, the expansion rate of cavitation was slow, and the growth rate of the cavitation volume was the slowest. For the variable acceleration scheme with decreasing acceleration, the cavitation extended rapidly due to the large initial velocity. For the variable acceleration scheme with increasing acceleration, cavitation extension was the slowest. The growth rate of the cavity volume of the two variable acceleration schemes was faster than that of the uniform acceleration scheme, and the changing trend was consistent. This feature indicates that the impeller rotation speed has a significant impact on cavitation, and excessive rotation speed will rapidly extend the cavitation. By monitoring the influence of cavitation on pressure distribution under VVVF, it was shown that the three acceleration schemes all produce large pressure fluctuation. For the uniform acceleration scheme with constant acceleration, the fluctuation range of pressure was more balanced, and the pressure dropped slowly. For the acceleration scheme with higher acceleration, the pressure fluctuation amplitude increased in the late stage of acceleration and the pressure decline speed accelerated. For the acceleration scheme with decreasing acceleration, the pressure showed a downward trend with violent fluctuations in the early stage and gradually tended to be flat in the late stage.