A motor control unit, for use in an electric power steering apparatus, that comprises a current command value calculating section that calculates a current command value of a motor applying a steering assist torque to a steering system of a vehicle, and a feedback section that controls a motor current flowing to said motor through a feedback mechanism based on said current command value characterized in that said motor control unit comprises: a control unit state detecting section (10, 12, 71) that detects information related to said motor control unit, and outputs said information related to said motor control unit as a control unit information; and a characteristic changing section (40, 80, 90) that changes a setting of a closed loop response characteristic of said feedback section in real time depending on said control unit information; wherein said characteristic changing section (40, 80, 90) comprises: a stationary gain calculating section (42, 82, 92) that calculates a set value of a stationary gain of said closed loop response characteristic depending on said control unit information; a response frequency calculating section (41, 81, 91) that calculates a set value of a response frequency of said closed loop response characteristic depending on said control unit information; and a coefficient calculating section that calculates coefficients of a transfer function of a control section in said feedback section, said coefficients being used to achieve each set value of said stationary gain and said response frequency; and wherein said motor control unit calculates an individual set value according to said control unit information in at least one between said response frequency calculating section and said stationary gain calculating section, comprises a priority determining section that calculates a set priority for said control unit information, calculates a final set value depending on said individual set value and said set priority, and inputs said final set value into said coefficient calculating section. a control unit state detecting section (10, 12, 71) that detects information related to said motor control unit, and outputs said information related to said motor control unit as a control unit information; and a characteristic changing section (40, 80, 90) that changes a setting of a closed loop response characteristic of said feedback section in real time depending on said control unit information; wherein said characteristic changing section (40, 80, 90) comprises: a stationary gain calculating section (42, 82, 92) that calculates a set value of a stationary gain of said closed loop response characteristic depending on said control unit information; a response frequency calculating section (41, 81, 91) that calculates a set value of a response frequency of said closed loop response characteristic depending on said control unit information; and a coefficient calculating section that calculates coefficients of a transfer function of a control section in said feedback section, said coefficients being used to achieve each set value of said stationary gain and said response frequency; and wherein said motor control unit calculates an individual set value according to said control unit information in at least one between said response frequency calculating section and said stationary gain calculating section, comprises a priority determining section that calculates a set priority for said control unit information, calculates a final set value depending on said individual set value and said set priority, and inputs said final set value into said coefficient calculating section. a stationary gain calculating section (42, 82, 92) that calculates a set value of a stationary gain of said closed loop response characteristic depending on said control unit information; a response frequency calculating section (41, 81, 91) that calculates a set value of a response frequency of said closed loop response characteristic depending on said control unit information; and a coefficient calculating section that calculates coefficients of a transfer function of a control section in said feedback section, said coefficients being used to achieve each set value of said stationary gain and said response frequency; and wherein said motor control unit calculates an individual set value according to said control unit information in at least one between said response frequency calculating section and said stationary gain calculating section, comprises a priority determining section that calculates a set priority for said control unit information, calculates a final set value depending on said individual set value and said set priority, and inputs said final set value into said coefficient calculating section.