Ammonia Liquid Another easy solution to how to get rid of rats quickly is by placing a bowl full of ammonia liquid near holes and spots that rats are seen around. Like onions, the smell of ammonia is too strong for the rodent's liking, and there is a great chance that this will scare the rats away from the house.