Arsenic is highly toxic and a significant threat to human health, but certain bacteria have developed defense mechanisms initiated by AsIIIbinding to AsIII-sensing proteins of the ArsR family. The transcriptional regulator AfArsR responds to AsIIIand SbIIIby coordinating the metalloids with three cysteines, located in a short sequence of the same monomer chain. Here, we characterize the binding of AsIIIand HgIIto a model peptide encompassing this fragment of the protein via solution equilibrium and spectroscopic/spectrometric techniques (pH potentiometry, UV, CD, NMR, PAC, EXAFS, and ESI-MS) combined with DFT calculations and MD simulations. Coordination of AsIIIchanges the peptide structure from a random-coil to a well-defined structure of the complex. A trigonal pyramidal AsS3binding site is formed with almost exactly the same structure as observed in the crystal structure of the native protein, implying that the peptide possesses all of the features required to mimic the AsIIIrecognition and response selectivity of AfArsR. Contrary to this, binding of HgIIto the peptide does not lead to a well-defined structure of the peptide, and the atoms near the metal binding site are displaced and reoriented in the HgIImodel. Our model study suggests that structural organization of the metal site by the inducer ion is a key element in the mechanism of the metalloid-selective recognition of this protein.