An anti-ant device includes an object having a recess defined in the underside thereof and a support extends from the underside of the object and located at the center of the recess. An anti-ant member is located in the recess and mounted to outside of the support. When ants climb along the support, the anti-ant member generates substance to keep the ants away from it, so as to avoid the ants from reaching food on the object.