Are onions toxic to dogs? Onions contain a toxic principle known as N-propyl disulfide. This compound causes a breakdown of red blood cells, leading to anemia in dogs. The toxin causes oxidative damage to your dog's red blood cells by attaching to the oxygen molecules in your dog's red blood cells.