We numerically study the fluid–structure interaction of a free-stream flow across a hydrofoil pitching at its leading edge with superimposed traveling wave-based surface undulations. We utilize an in-house code that employs the sharp interface immersed boundary method and consider a constant pitching amplitude θ0 = 5°, a constant local amplitude-to-thickness ratio AL=0.15, and wave number K = 20 of surface undulation. We compare the effect of surface undulation on a pitching hydrofoil with that of a hydrofoil undergoing pure pitching or experiencing pure surface undulation. The findings reveal that surface undulation on the pitching hydrofoil increases thrust on the hydrofoil. The onset of asymmetry in the vortex street occurs at a lower pitching Strouhal number (St) due to the early formation of a vortex dipole. In addition to the presence of an asymmetric inverse von Kármán vortex street, higher pitching frequencies reveal re-deflection of the asymmetric inverse von Kármán vortices. We quantified dynamics of vortex dipole to explain the occurrence of asymmetric and re-deflected reverse von Kármán vortex street. Furthermore, the analysis reveals an optimum combination of St and phase speed that yields higher propulsive efficiency, as both motions compete in generating thrust. A linearly superimposed scaling analysis for the time-averaged thrust of the combined motion is also presented. The computations and scaling are found to be in good agreement.