[Problem] Provided is a pharmaceutical, in particular, a pharmaceutical composition which is useful for the treatment of pain. [Means for Solution] The present inventors have made extensive studies using model animals with pain for the purpose of providing a therapeutic agent for pain. As a result, they have found that 11²-hydroxydehydrogenase type 1 (11²-HSD1) inhibitor, in particular, a triazole compound having a cyclic group at the 3-position (or 5-position) of a triazole ring has a good effect of ameliorating chronic pain. That is, according to the present invention, a pharmaceutical composition comprising an 11²-HSD1 inhibitor, in particular, the triazole compound of the present invention, as an active ingredient, is useful for the treatment of pain (particularly, neuropathic pain or fibromyalgia).