A motor control device, comprising: a main torque control value calculation unit (S1 to S3) calculating a main torque control value; a final torque control value output unit (S21, S22) outputting a final torque control value based on said main torque control value and a vibration-suppression torque control value for mitigating torque fluctuation that occurs when a rotating electric machine is operated at said main torque control value; and a vibration-suppression torque control value calculation unit (S11 to S13) calculating said vibration-suppression torque control value; wherein said vibration-suppression torque control value calculation unit (S11 to S13) includes an original control value calculation unit calculating an original control value serving as a source of said vibration-suppression torque control value, characterized in that said vibration-suppression torque control value calculation unit (S11 to S13) further includes a guard processing unit performing guard processing for restricting said original control value by using a vibration-suppression guard value, and a smoothing unit smoothing an angular portion where rate of change is discontinuous, that is generated in a torque control value that has been subjected to said guard processing, wherein said main torque control value calculation unit includes an original main torque control value calculation unit calculating a first control value serving as a source of said main torque control value in accordance with an acceleration request, a main guard processing unit performing main guard processing for restricting said first control value by using a main guard value, and a main torque smoothing unit smoothing an angular portion where rate of change is discontinuous, that is generated in the first control value that has been subjected to said main guard processing, and outputting said main torque control value. a main torque control value calculation unit (S1 to S3) calculating a main torque control value; a final torque control value output unit (S21, S22) outputting a final torque control value based on said main torque control value and a vibration-suppression torque control value for mitigating torque fluctuation that occurs when a rotating electric machine is operated at said main torque control value; and a vibration-suppression torque control value calculation unit (S11 to S13) calculating said vibration-suppression torque control value; wherein said vibration-suppression torque control value calculation unit (S11 to S13) includes an original control value calculation unit calculating an original control value serving as a source of said vibration-suppression torque control value, characterized in that said vibration-suppression torque control value calculation unit (S11 to S13) further includes a guard processing unit performing guard processing for restricting said original control value by using a vibration-suppression guard value, and a smoothing unit smoothing an angular portion where rate of change is discontinuous, that is generated in a torque control value that has been subjected to said guard processing, wherein said main torque control value calculation unit includes an original main torque control value calculation unit calculating a first control value serving as a source of said main torque control value in accordance with an acceleration request, a main guard processing unit performing main guard processing for restricting said first control value by using a main guard value, and a main torque smoothing unit smoothing an angular portion where rate of change is discontinuous, that is generated in the first control value that has been subjected to said main guard processing, and outputting said main torque control value.