A comparative study of the stabilisation of DNA sticky ends by divalent cations was carried out by atomic force microscopy (AFM), electron microscopy and agarose gel electrophoresis. At room temperature, molecules bearing such extremities are immediately oligomerised or circularised by addition of Mg2+or Ca2+. This phenomenon, more clearly detected by AFM, requires the presence of uranyl salt, which stabilises the structures induced by Mg2+or Ca2+. DNA fragments were obtained by restriction enzymes producing sticky ends of 2 or 4 nucleotides (nt) in length with different guanine plus cytosine (GC) contents. The stability of the pairing is high when ends of 4 nt display a 100% GC-content. In that case, 95% of DNA fragments are maintained circular by the divalent cations, although 2 nt GC-sticky ends are sufficient for a stable pairing. DNA fragments with one blunt end and the other sticky appear as dimers in the presence of Mg2+. Dimerisation was analysed by varying the lengths and concentrations of DNA fragments, the base composition of the sticky ends, and also the temperature. Our observation provides a new powerful tool for construction of inverted dimers, and circularisation, ligation analysis or short bases sequence interaction studies.