A cinnamic acid amide derivative having an excellent analgesic action is disclosed herein. The cinnamic acid amide derivative shows 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. The cinnamic acid amide derivative may be a compound represented by formula (I).