While blueberries themselves are safe for dogs to eat, blueberry pie may contain ingredients that are harmful to dogs, such as sugar, chocolate, or xylitol. It's best to avoid feeding your dog blueberry pie and stick to giving them fresh or frozen blueberries as a treat instead.