Raw or cooked, fried or powdered, onions and the rest of the allium family (garlic, shallots, leeks, and chives) are harmful to dogs. ... Since most dogs would happily devour a bag of unattended onion rings or an onion casserole, given the opportunity, this is a serious concern.