AbstractThis paper presents an effective control method for three‐dimensional (3D) overhead cranes with six degrees of freedom (DOF). Two payload swings and an axial payload oscillation should be minimized besides driving the bridge, trolley, and hoisting drum to bring the payload to the desired position in space. First, a novel 3D‐6DOF crane model is developed, where the sixth degree of freedom is axial cargo oscillation that has never been considered in previous studies. A controller is then designed using the hierarchical sliding mode control method. Moreover, a radial basis function neural network (RBFNN) is used to approximate the system's unknown dynamic model accurately. According to the Lyapunov principle, a control law and an updated law for the neural network's weight matrices are designed to ensure the stability of the closed‐loop system. Simulation results on Matlab software show the proposed approach's effectiveness, such as smaller swing, minor axial oscillation, and precise position as desired.