Though differential-type (D-type) control method and iteration learning control (ILC) are both classic control strategy, ILC is rarely used for lateral control of trains. In this paper, a D-type ILC is proposed to suppress the lateral vibration of train body and improve ride quality. First, the dynamic model of lateral and yaw motions for train body is introduced, where external disturbances caused by bogies are considered. Based on the repeatability of train operation, a iteration learning controller in combination with D-type control method is employed to better suppress the lateral motions of train body. Unlike traditional PID controller, the D-type iterative learning controller can make good use of the train’s repeatability to adjust the input force to the actuator. Then, the convergence condition is analyzed to ensure the rationality of the proposed algorithm. In order to verify the effectiveness of proposed controller, the co-simulation of a full-scale train model with German high interference track irregularities in SIMPACK and the control flow in SIMULINK is established to evaluate the effectiveness by comparing with a open-loop system.