A motor control apparatus is provided with a first notch filter arranged within a feedback control system; a vibration extraction filter for outputting a signal (x1) containing vibration components therein; a second notch filter into which the signal (x1) is inputted; a notch control unit for changing the notch-center frequency on the basis of the signal (x1) and a second notch-filter output signal (x2); a notch-depth control unit for changing the notch depth of the first notch filter on the basis of the signal (x1); and a control evaluation unit for carrying out a control so that either the notch control unit or the notch-depth control unit will function.