[Problem] To provide a pharmaceutical product especially a pharmaceutical composition which is useful for the treatment of pain. [Solution] The inventors have intensively studied using pain model animals for the purpose of providing a therapeutic agent for pain. As the results of the intensive studies the inventors have found that a 11ß hydroxydehydrogenase 1 (11ß HSD1) inhibitor especially a triazole compound which is characterized by having a ring group at the 3 position (or the 5 position) of a triazole ring has a good chronic pain improvement effect. Namely a pharmaceutical composition which contains as an active ingredient a 11ß HSD1 inhibitor especially a triazole compound of the present invention is useful for the treatment of pain (especially neuropathic pain and fibromyalgia syndrome).