Many swear the moth balls will deter rats, but I can't personally vouch for that yet. I can only say that I've had no rats, or snakes since I put them out, but it's only been a few days now. I'll let you know more after I've been using them for awhile.