With the development of global deepwater oil and gas and offshore wind power resources, there is an increasing demand for ultra-deep water pile hammers (UDPH). In this paper, a permanent magnet synchronous motor (PMSM) with oil fill is proposed for UDPH on the basis of underwater 2500 m depth and 450 kJ impact energy requirements. First, the rated parameters of the PMSM are calculated based on the power required by hydraulic pumps, and then, the method of combining empirical formulas and path algorithms is used to complete the electromagnetic scheme design. Second, finite element analysis of the electromagnetic field is carried out by Maxwell under both no-load and load conditions to verify the rationality of the PMSM. Furthermore, aiming at improving efficiency and reducing cogging, parameter optimization is carried out by a robust parameter optimization design method, and the optimal parameter scheme of the PMSM is obtained. In addition, loss analysis and temperature field coupling calculations of the optimized PMSM are conducted to verify that the temperature of this motor can meet the requirements under different working conditions. Finally, a comparative analysis is conducted between the proposed PMSM and the three-phase asynchronous motor used in the underwater 2,500 m-450 kJ UDPH. The results indicate that the new PMSM introduced in this paper demonstrates significant advantages in terms of weight, volume, and efficiency; moreover, the new PMSM is reasonable and more suitable for UDPH. Therefore, the PMSM proposed in this paper is reasonable and can provide a theoretical basis for improving the traditional UDPH.