Disclosed is a compound which can be used for the prevention or treatment of a disease associated with 11β-hydroxysteroid dehydrogenase type-1 (11β-HSD1), particularly diabetes, insulin resistance, dementia, schizophrenia or depression. Specifically disclosed is a triazole derivative which is characterized by having a (di)alkylmethy or cycloalkyl substituted by a group -O-(an aryl or heterocyclic group which may be substituted or a lower alkylene-cycloalkyl which may be substituted) at one position selected from position-3 and positin-5 in the triazole ring and an aryl or heterocyclic group which may be substituted or a cycloalkyl which may be substituted at the other position in the triazole ring, or a pharmaceutically acceptable salt thereof. It is found that the triazole derivative or the pharmaceutically acceptable salt thereof has a potent inhibitory activity on 11β-HSD1. Therefore, the triazole derivative can be used for the prevention or treatment of diabetes, insulin resistance, dementia, schizophrenia or depression.