This unappealing behavior is called coprophagia, a common phenomenon with dogs. While there is no scientific evidence that feeding your dog pineapple will stop this problem, it’s often recommended as a home remedy. The idea is that the pineapple will make a dog’s poop smell strange and deter them from eating it.  While it can’t hurt to try, most vets will tell you that the most effective way to discourage your dog from eating poop is to clean it up immediately, leaving no poop available to ingest.