Rats cannot tolerate smells such as ammonia, mothballs, peppermint oil, crushed cayenne pepper, and pepper spray due to their intensified sense of smell. Clean and uncluttered homes and yards scare rats due to the lack of food and places to hide, as well.