The present invention provides a cinnamic acid amide derivative having an excellent analgesic action. The cinnamic acid amide derivative of the present invention is a compound showing excellent analgesic actions to not only a nociceptive pain model animal but also a neuropathic pain model animal, which is very useful as an agent for treating various pain diseases showing acute or chronic pains or neuropathic pains.