Bleach is better than vinegar for cleaning a washing machine because it kills bacteria and removes stains. Vinegar is only effective at removing dirt and grime if used in very small amounts. Look for non-chlorinated bleach when cleaning your washing machine.