The purpose of the present invention is to provide compounds showing sEH inhibitory activity, and to provide medicines can exert preventive effect and therapeutic effect on chronic kidney disease and pulmonary hypertension based on the inhibition of sEH. The present invention provides nipecotic acid derivative represented by the following formula or pharmacologically acceptable salts thereof.本發明之目的係提供一種顯示sEH抑制活性之化合物,並同時提供一種醫藥,其根據sEH之抑制作用,而發揮針對慢性腎臟病及肺高血壓症之治療效果及預防效果,本發明係提供下述化學式所代表之六氫菸鹼酸衍生物或其藥理學上容許之鹽。