Provided is a pest repellent that can effectively repel specific foreign ants. It is a pest repellent containing a piperidine derivative represented by the following formula (I): as a repellent component against hydrangea and / or kamiari, and in the above formula (I), R is an alkoxy having 2 to 6 carbon atoms. The group is preferable, the 1-methylpropoxy group is more preferable, and the following (a) and (b): (a) hydrocarbon aldehydes and / or hydrocarbon ketones having a total carbon number of 8 to 16 are used as the repellent fragrance component. b) It is preferable to further contain at least one of a monoterpene-based alcohol having a total carbon number of 8 to 12 and / or an aromatic alcohol.特定外来アリに対して効果的に忌避作用を及ぼすことができる害虫忌避剤を提供する。 ヒアリ類及び/又はカミアリ類に対する忌避成分として、以下の式(I):で表されるピペリジン誘導体を含有する害虫忌避剤であり、上記式(I)において、Rは炭素数2~6のアルコキシ基が好ましく、1-メチルプロポキシ基がより好ましく、忌避香料成分として、以下の(a)及び(b): (a)総炭素数8~16の炭化水素アルデヒド類及び/又は炭化水素ケトン類 (b)総炭素数8~12のモノテルペン系アルコール類及び/又は芳香族アルコール類の少なくとも一方をさらに含有することが好ましい。