The authors describe an electrochemical method for the determination of the single-stranded DNA (ssDNA) oligonucleotide with a sequence derived from the genom of hepatitis B virus (HBV). It is making use of circular strand displacement (CSD) and rolling circle amplification (RCA) strategies mediated by a molecular beacon (MB). This ssDNA hybridizes with the loop portion of the MB immobilized on the surface of a gold electrode, while primer DNA also hybridizes with the rest of partial DNA sequences of MB. This triggers the MB-mediated CSD. The RCA is then initiated to produce a long DNA strand with multiple tandem-repeat sequences, and this results in a significant increase of the differential pulse voltammetric response of the electrochemical probe Methylene Blue at a rather low working potential of −0.24 V (vs. Ag/AgCl). Under optimal experimental conditions, the assay displays an ultrahigh sensitivity (with a 2.6 aM detection limit) and excellent selectivity. Response is linear in the 10 to 700 aM DNA concentration range.