Various toxic metal ion resistance systems operate from bacterial level up to higher plants and animals. In bacteria, metalloregulatory proteins are key factors in the control of metal ion level. Inspired by the metal binding domain of these highly sensitive metal ion sensor proteins we have designed artificial oligopeptides, containing two cysteine residues, and investigated their interaction with cadmium(II) and mercury(II) ions. The studied ligands bound both metal ions with a rather high stability. The composition and solution structure of the various metal ion complexes have been determined. The genetic code of one of the oligopeptide sequences has been introduced into E. coli BL21 cells and (over)produced in the form of a fusion protein. Preliminary investigation of the viability and potential metal ion accumulation of the modified bacteria, compared to control cells, in the presence of cadmium(II) and mercury(II) has also been performed