The most effective digging deterrent smell we tested was red cayenne pepper. Sprinkle a small amount of this powder wherever your dog is digging. Once your dog takes a sniff, he will avoid the area completely. When inhaled, this red pepper will irritate your dog's nostrils.