Onions can be harmful to dogs and, in some cases, may even be deadly. If you think your dog has eaten an onion, contact your veterinarian immediately.