Electric vehicles (EVs) have gained importance in recent years, prompting the development of several control systems to improve their efficiency and performance. In this work, a quarter electric vehicle (QEV) was controlled using a conventional proportional integral derivative (PID) and fuzzy controller to examine and compare with the response of the adaptive neuro-fuzzy inference system (ANFIS) controller. The response of the ANFIS controller was evaluated using MATLAB/Simulink according to different parameters and compared with those of other controllers. In addition, the simulation was based on different driving conditions such as the acceleration and deceleration modes and the type of road: wet and dry. The simulations were carried out on a longitudinal electric vehicle model based on a brushless DC motor, including the Pacejka tire model. The results showed that the ANFIS controller outperformed the PID and fuzzy logic controllers, providing superior dynamic responsiveness and stability when the ANFIS controller smoothly followed the input speed and the longitudinal slip value reached 3%.