The paper presents a novel phase-locked loop (PLL)-based resonant frequency tracking method for linear compressors with oscillatory motions. The proposed method achieves the phase-locked control between two signals by using PLL, which includes a multiplier, and a low-pass filter to obtain the phase signal difference. Consequently, based on the phase signal difference, the electrical frequency of the power supply can be adjusted through a PI (proportional-derivative) regulator such that the phase signal difference converges to 90° and the linear compressor works under the resonant frequency conditions. The analytical expression of the resonant frequency condition is proposed for the linear compressor. Then, the detailed design and procedure of the proposed method are presented. The designed method and the resonant frequency characteristics are verified by using the simulation experiment. The simulated results demonstrate that the proposed algorithm has faster response speed and higher convergence accuracy to step load change in comparison with the other commonly used algorithms.