I tried this and they made a wide path around it. I heard that cinnonom will keep them at bay, so that is going to be the next effort to keep them out of the house. I have a little dog, so I'm not going to have spraying done where she can walk in it.