Both borax and boric acid are effective rat deterrents ... Borax can be mixed with other pesticides to make a more effective mixture. Borax is a great way to get rid of rats, but it is not guaranteed ...