The invention relates to an oscillating type propeller which is applicable to an underwater vehicle for an underwater robot. The oscillating type propeller comprises a propeller and an oscillating mechanism, wherein the oscillating mechanism is connected with the propeller by an oscillating shaft arranged in the oscillating mechanism, the oscillating mechanism comprises a case, the oscillating shaft, a mounting flange, a driving mechanism and an end cover, the mounting flange is arranged at one end of the case, the end cover is mounted at the other end of the case, the oscillating shaft is arranged in the case and extends out of the end cover, the driving mechanism is penetrated through the case, is arranged on the case and is connected with the oscillating shaft in the case, the mountingflange and the end cover respectively form tight coupling with the case, the end cover and the oscillating shaft, and a closed cavity is formed in the case. By using the driving mechanism to drive the oscillating shaft to rotate, the invention can realize the free real-time on-line adjustment on the position and the angle of the propeller in the range of the plane perpendicular to the oscillatingshaft +/- 90 degrees, thereby changing the power output characteristics of the underwater vehicle, greatly improving the moving performance controllability and adaptability to complicated underwater environment of the underwater vehicle, and achieving the advantages of simple and reliable application and easy arrangement.