To provide a compound useful for the prevention of and/or as a therapeutic agent for schizophrenia, anxiety, Huntington's disease, drug dependence, and/or Alzheimer's disease. The inventors studied compounds having PDE10A inhibitory actions, and confirmed that a pyrazole compound has PDE10A inhibitory actions, thus resulting in the present invention. This pyrazole compound has PDE10A inhibitory actions, and can be used for the prevention of and/or as a therapeutic agent for schizophrenia, anxiety, Huntington's disease, drug dependence, and/or Alzheimer's disease.本發明提供作為精神分裂症、焦慮症、亨丁頓舞蹈症、藥物依存、及/或阿茲海默病之預防及/或治療劑為有用的化合物。作為該解決方法為,本發明者們對於具有PDE10A阻礙作用之化合物進行檢討,確認吡唑化合物具有PDE10A阻礙作用而完成本發明。本發明的吡唑化合物具有PDE10A阻礙作用,可作為精神分裂症、焦慮症、亨丁頓舞蹈症、藥物依存、及/或阿茲海默病的預防及/或治療劑使用。