The sandwich assay is the most common design for electrochemical DNA sensors. This assay consists of three individual DNA components: an immobilized capture strand, a target strand, and a probe strand containing a redox-active reporter group. We report a simplified DNA assay where two strands of ssDNA, the capture and probe strands, are linked together via a flexible poly(ethylene glycol) (PEG) spacer forming an ABA triblock macromolecule. We have developed an electrochemical assay where the detection signal arises as a consequence of a large structural change induced upon hybridization with target DNA. In this system, the DNA-PEG-DNA macromolecule folds or wraps around the target DNA, bringing the ferrocene probe in close proximity to the electrode, affording an electrochemical response.