In this research, the dynamic walking of a legged robot in underwater environments is proposed. For this goal, the underwater zero moment point (Uzmp) is proposed in order to generate the trajectory of the centre of the mass of the robot. Also, the underwater zero moment point auxiliary (Uzmp aux.) is employed to stabilize the balance of the robot before it undergoes any external perturbations. The concept demonstration of a legged robot with hydraulic actuators is developed. Moreover, the control that was used is described and the hydrodynamic variables of the robot are determined. The results demonstrate the validity of the concepts that are proposed in this article, and the dynamic walking of the legged robot in an underwater environment is successfully demonstrated.