This article presents a modified method of mountain gazelle optimizer (MMGO) as a direct current (DC) motor control. Mountain gazelle optimizer (MGO) is an algorithm inspired by the life of the mountain gazelle animal in nature. This animal concept has five essential steps that are duplicated in mathematical modeling. This article uses two tests to get the performance of the MMGO method. The first test uses a benchmark function test with a comparison method, namely the sine tree seed algorithm (STSA) and the original MGO. The second test is the application of MMGO as a DC motor control. The simulation results show that MMGO can reduce the overshoot of conventional proportional integral derivative (PID) control by 0.447% and has a better integral time square error (ITSE) value of 5.345 than conventional PID control. Thus, the MMGO method shows promising performance.