The present invention relates to a detergent composition comprising at least one surfactant, at least one biodegradable builder and, at least one source of metal ions, wherein the metal ions are selected from zinc; tin; magnesium; calcium; strontium; titanium; zirconium; manganese; and/or bismuth. The composition is especially suitable for use as a dishwasher detergent composition. The present invention also relates to methods for using such a composition as well as methods of washing dishes with the composition.