An electric power steering apparatus including a steering torque detecting
section configured to detect a steering torque applied to an operation
member for steering a vehicle, a steering state judging section
configured to determine whether forward stroke steering that steers the
operating member away from a steering angle midpoint is performed, a
motor controlling section configured to control the driving of an
electric motor based on the steering torque detected by the steering
torque detecting section, and a phase compensating section provided in
the motor controlling section for performing phase compensation, such
that, when the forward stroke steering is not performed according to the
steering state judging section, a gain in a predetermined frequency band
in frequency response characteristics of the phase compensation is lower
than gains in frequency bands lower and higher than the predetermined
frequency band, and is lower than a gain in the predetermined frequency
band when the forward stroke steering is performed.