The core design elements of the motor for the co-robot joint are miniaturization and high torque. In this paper, a dual rotor axial-flux permanent magnet (DRAFPM) motor is proposed to improve the performance of robot joints. DRAFPM motors have the advantage of reducing iron loss and minimizing volume because they can remove stator yoke. When designing a motor with the same volume, it can be designed to increase the height of the fixed ruler by the thickness of the yoke of the fixed ruler and increase the number of turns. In the case of existing axial-flux permanent magnet (AFPM) motors, the shape of the three-dimensional structure is limited by radial laminating of stator. Therefore, considering the production of 3D printing, the shape of stator shoe is designed. The optimal design problem of DRAFPM motor consists of real and integer design variables. In addition, due to the structural characteristics of DRAFPM motors, 3D finite element analysis (FEA) is required, so it takes a long time to interpret. Therefore, this paper proposes an efficient optimal design process to optimize the remaining real design variables after prioritizing the integer design variables. The proposed optimization process is applied to the DRAFPM motor for robot joints, and the optimal design plan satisfying the design function is derived from various design variables to prove the validity of the optimization process.