Enzymatic ligation methods are useful in the diagnostic detection of DNA sequences. Here, we describe the investigation of nonenzymatic phosphorothioate--iodoacetyl DNA chemical ligation as a method for the detection and identification of RNA and DNA. The specificity of ligation on the DNA target is shown to allow the discrimination of a single point mutation with a drop in the ligation yield of up to 16.1-fold. Although enzymatic ligation has very low activity for RNA targets, this reaction is very efficient for RNA targets. The speed of the chemical ligation with an RNA target achieves a 70% yield in 5 s, which is equal to or better than that of ligase-enzyme-mediated ligation with a DNA target. The reaction also exhibits a significant level of signal amplification under thermal cycling in periods as short as 100-120 min, with the RNA or DNA target acting in a catalytic way to ligate multiple pairs of probes.