The invention is applicable to the field of automatic frequency modulation technology improvement, and provides a method for locking a CPU turbo to the highest frequency, which comprises the followingsteps: S1, starting a BIOS to run for CPU self-inspection and initialization; S2, reading a CPU register to judge whether the CPU supports the turbo technology, if yes, executing the next step, and if not, not locking the operation and ending the operation; S3, acquiring CPU data information according to the turbo technology, and setting turbo frequency multiplication parameter values; and S4, the operating system selecting the power management mode according to the characteristics supported by the operating system, so that the CPU can continuously operate at the highest frequency. And through a software strategy, an overclocking function is realized, and the CPU performance is maximized. The number of cores is automatically detected, and the maximum frequency multiplication coefficient is automatically matched, the maximum frequency multiplication coefficient is set, a performance control interface of an operation system is adjusted, enabling the CPU to continuously operate at the highest frequency. Under the premise of realizing overclocking, each index of the CPU is within a specified range, and the stable operation of the system is guaranteed.