A motor control device that continues motor control using a current command value or a detection current value before a current supplied to a motor changes suddenly instead of a latest detection current value when the current changes suddenly, the motor control device comprising: a current command calculation unit that converts a torque command into dq-axis current commands; a three-phase/two-phase conversion unit that converts a three-phase AC current detected by a current sensor, that detects a current flowing in three phases (U, V, W), into dq-axis currents as dq-axis detection currents; a current control unit that performs feedback control based on the dq-axis current commands and the dq-axis detection currents; a noise detection unit that detects a noise state indicating a state in which the three-phase AC current deviates from a sine waveform; and a dq-axis detection current replacement unit that performs a replacement process of the dq-axis detection currents while detecting the noise state, wherein dq-axis detection current replacement unit replaces the dq-axis detection currents calculated from the three-phase/two-phase conversion unit with other values, wherein the noise detection unit determines that the noise state has been detected when a degree of change of the dq-axis detection currents exceeds a predetermined value, wherein the degree of change is a change in slope of the dq-axis detection currents, characterized in that the noise detection unit determines that the noise state has been detected when the degree of change of the dq-axis detection currents exceeds the predetermined value, and the degree of change of the dq-axis detection currents deviates from a degree of change of the dq-axis current commands. a current command calculation unit that converts a torque command into dq-axis current commands; a three-phase/two-phase conversion unit that converts a three-phase AC current detected by a current sensor, that detects a current flowing in three phases (U, V, W), into dq-axis currents as dq-axis detection currents; a current control unit that performs feedback control based on the dq-axis current commands and the dq-axis detection currents; a noise detection unit that detects a noise state indicating a state in which the three-phase AC current deviates from a sine waveform; and a dq-axis detection current replacement unit that performs a replacement process of the dq-axis detection currents while detecting the noise state, wherein dq-axis detection current replacement unit replaces the dq-axis detection currents calculated from the three-phase/two-phase conversion unit with other values, wherein the noise detection unit determines that the noise state has been detected when a degree of change of the dq-axis detection currents exceeds a predetermined value, wherein the degree of change is a change in slope of the dq-axis detection currents, characterized in that the noise detection unit determines that the noise state has been detected when the degree of change of the dq-axis detection currents exceeds the predetermined value, and the degree of change of the dq-axis detection currents deviates from a degree of change of the dq-axis current commands.