A motor control device (30, 30a, 30b, 30c) generating a voltage command value obtained by coordinate conversion from a current command value and performing feedback control using a detection current flowing in a motor in which an angle detector detecting a rotation angle of the motor is assembled, the motor control device comprising: a velocity control unit configured to perform velocity control of the motor based on a velocity command value by which a constant current amount of d-axis current flows by rotating the motor in an unloaded state at a constant velocity; a current measurement unit (402, 402a, 412) configured to measure the current command value based on an output of the velocity control unit when the motor is rotated in the unloaded state at the constant velocity and the constant current amount of d-axis current flows; and a correction value calculation unit (403, 403a, 413) configured to calculate a correction value at a rotation position of the motor based on the measured current command value, wherein the current command value includes a d-axis current command value and a q-axis current command value, the current measurement unit (402, 402a, 412) is configured to measure the d-axis current command value and the q-axis current command value when the motor is rotated in the unloaded state based on the velocity command value, the correction value calculation unit (403, 403a, 413) is configured to calculate a first correction value based on a vector relation in the dq coordinate system of the measured d-axis current command value and q-axis current command value when the motor is positively rotated in the unloaded state, the correction value calculation unit (403, 403a, 413) is configured to calculate a second correction value based on a vector relation in the dq coordinate system of the measured d-axis current command value and q-axis current command value when the motor is negatively rotated in the unloaded state, the velocity control unit is configured to perform control such that an absolute value of the velocity command value in the positive rotation of the motor in the unloaded state is the same as an absolute value of the velocity command value in the negative rotation of the motor in the unloaded state, and the correction value calculation unit (403, 403a, 413) is configured to calculate the correction value by calculating an average of the calculated first and second correction values. a velocity control unit configured to perform velocity control of the motor based on a velocity command value by which a constant current amount of d-axis current flows by rotating the motor in an unloaded state at a constant velocity; a current measurement unit (402, 402a, 412) configured to measure the current command value based on an output of the velocity control unit when the motor is rotated in the unloaded state at the constant velocity and the constant current amount of d-axis current flows; and a correction value calculation unit (403, 403a, 413) configured to calculate a correction value at a rotation position of the motor based on the measured current command value, wherein the current command value includes a d-axis current command value and a q-axis current command value, the current measurement unit (402, 402a, 412) is configured to measure the d-axis current command value and the q-axis current command value when the motor is rotated in the unloaded state based on the velocity command value, the correction value calculation unit (403, 403a, 413) is configured to calculate a first correction value based on a vector relation in the dq coordinate system of the measured d-axis current command value and q-axis current command value when the motor is positively rotated in the unloaded state, the correction value calculation unit (403, 403a, 413) is configured to calculate a second correction value based on a vector relation in the dq coordinate system of the measured d-axis current command value and q-axis current command value when the motor is negatively rotated in the unloaded state, the velocity control unit is configured to perform control such that an absolute value of the velocity command value in the positive rotation of the motor in the unloaded state is the same as an absolute value of the velocity command value in the negative rotation of the motor in the unloaded state, and the correction value calculation unit (403, 403a, 413) is configured to calculate the correction value by calculating an average of the calculated first and second correction values.