An electric power steering system includes a motor control device that controls, based on an assist command value, driving of a motor that gives an assist torque to a steering mechanism. The motor control device computes a first assist component based on a steering torque and a vehicle speed. A steered-angle command value is computed based on the steering torque and the first assist component, and a second assist component is computed by performing a feedback control that matches the steered angle with the steered-angle command value. The motor control device adds the second assist component to the first assist component so as to compute an assist command value. The motor control device includes a road information compensation portion that decreases an absolute value of the second assist component included in the assist command value when a skid is detected by a vehicle state detecting portion.