A numerical investigation is conducted to study the propulsive performance of the semi-active flapping foil of the wave glider, where the heaving smotion is fully prescribed, and the pitching motion is determined by the hydrodynamic force and torsion spring. A mesh for two-dimensional NACA0012 foil with the Reynolds number Re = 42000 is produced, and a dynamic mesh and sliding interface are used in the computation. The influences of reduced frequency, spring stiffness, and critical pitching amplitude on the hydrodynamic characteristics of semi-active flapping foil are systematically investigated. We find that there is a critical reduced frequency: When the reduced frequency is lower than the critical value, the propulsive performance of flapping foil can be improved exponentially, and when the reduced frequency is higher than the critical value, the semi-active flapping foil cannot provide an effective thrust. For a greater reduced frequency, there is an optimal spring stiffness value, which corresponds to the maximum value of the output power coefficient. For a lower reduced frequency, the mean value of the output power coefficient monotonically decreases as the spring stiffness increases. We also notice that the propulsive efficiency of flapping foil monotonically decreases as the spring stiffness increases. Finally, we find that the appropriate critical pitching amplitude can improve the propulsive performance of semi-active flapping foil, especially for greater heaving amplitudes.