The present invention provides a benzoate compound with intestinal peptidase inhibitory effect, and the use of the above compound as a medicine for treating or preventing obesity, diabetes and the like. [In the formula, each symbol is as defined in the specification] The compound or salt thereof has an intestinal peptidase inhibitory effect, and is useful as a medicine for treating or preventing obesity, diabetes, etc.本案發明提供一種具有腸肽酶抑制作用之苯甲酸酯化合物、及上述化合物之作為用以治療或預防肥胖症、糖尿病等之醫藥之用途。 [式中,各符號係如說明書中所定義] 所表示之化合物或其鹽具有腸肽酶抑制作用,作為用以治療或預防肥胖症、糖尿病等之醫藥有用。